コード例 #1
0
 private void enterRoom_rsp(Msg msg)
 {
     GlobleTimer.Instance.removeUpdate(addTimer);
     GlobleTimer.Instance.addUpdate(addTimer);
     if (((Room.EnterRsp)msg.body).err_no == 0)
     {
         int tableId = ((Room.EnterRsp)msg.body).tab_id;
         if (tableId > 0)
         {
             //AlertMgr.Instance.showAlert(ALERT_TYPE.type1,"是否重连到桌子:"+ tableId+"的对局", delegate{
             //    ProtoReq.ReJoinTable(tableId);
             //});
             QuickTips.ShowQuickTipsNor("重连到桌子:" + tableId + "的对局");
             ProtoReq.ReJoinTable(tableId);
         }
         else
         {
             //HallPanel.Instance.load();
         }
     }
     //RoomController.Instance.enteredRoom((Room.EnterRsp)msg.body);
     else
     {
         //HallPanel.Instance.load();
     }
 }