Exemplo n.º 1
0
 /// <summary>
 /// 断开连接
 /// </summary>
 /// <param name="client"></param>
 public void Disconnect(ClientPeer client)
 {
     fightHandler.Disconnect(client);
     chatHandler.Disconnect(client);
     matchHandler.Disconnect(client);
     accountHandler.Disconnect(client);
 }
Exemplo n.º 2
0
 /// <summary>
 /// 断开连接
 /// </summary>
 /// <param name="client"></param>
 public void Disconnect(ClientPeer client)
 {
     // 需要和 new 的顺序反着来
     fightHandler.Disconnect(client);
     chatHandler.Disconnect(client);
     matchHandler.Disconnect(client);
     accountHandler.Disconnect(client);
 }