示例#1
0
 public override void Close()
 {
     if (GameMode == GAME_MODE.COLOSSEUM)
     {
         NetworkClient.instance.SendPMsgColosseumLeaveRoomC(NetData.instance.GameRoomData.RoomId);
     }
     else if (GameMode == GAME_MODE.MULTI_RAID)
     {
         NetworkClient.instance.SendPMsgMultiBossLeaveRoomC(NetData.instance.GameRoomData.RoomId);
     }
     else
     {
         base.Close();
         if (BasePanel != null)
         {
             BasePanel.OnCloseReadyPopup();
         }
     }
 }