Пример #1
0
 /// <summary>
 /// 停止战斗服务器
 /// </summary>
 public void CloseBattleServer()
 {
     if (battleSever != null)
     {
         battleSever.CloseServer();
         battleSever = null;
     }
 }
Пример #2
0
 /// <summary>
 /// 删除房间
 /// </summary>
 public void DestroyRoom()
 {
     if (createRoomServer != null)
     {
         createRoomServer.CloseServer();
         createRoomServer = null;
     }
 }