예제 #1
0
 private void SendGameHallMes()
 {
     while (true)
     {
         Thread.Sleep(1000);
         GameHallMesDTO mes = new GameHallMesDTO();
         mes.onlineNum  = cache.GetOnLineNum();
         mes.playingNum = cache.GetPlayingNum();
         mes.standbyNum = cache.GetStandByNum();
         list           = cache.getGameHallTokenList();
         brocast(TypeProtocol.TYPE_GAMEHALL_CREQ, 0, GameHallProtocol.GAMEHALL_GAMEHALLMES_CREQ, mes);
     }
 }