Beispiel #1
0
 private void AddNewGameServer(GameConnection game)
 {
     game.OnDisconnected += OnDisconnected;
     game.StartReceivePacket();
     clients.Add(game.ClientID, game);
     log.InfoFormat("收到来自 {0} 的游戏服务器连接!", (object)game.IP);
 }