Exemplo n.º 1
0
 /// <summary>
 /// 停止战斗服务器
 /// </summary>
 public void CloseBattleServer()
 {
     if (battleSever != null)
     {
         battleSever.CloseServer();
         battleSever = null;
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// 删除房间
 /// </summary>
 public void DestroyRoom()
 {
     if (createRoomServer != null)
     {
         createRoomServer.CloseServer();
         createRoomServer = null;
     }
 }