Esempio n. 1
0
 private void OnSettle_Again(CUIEvent uiEvent)
 {
     this.ClosePvPSettleForm(true);
     if ((Singleton <CMatchingSystem> .instance.cacheMathingInfo != null) && (Singleton <CMatchingSystem> .instance.cacheMathingInfo.uiEventId != enUIEventID.None))
     {
         if (Singleton <CMatchingSystem> .instance.cacheMathingInfo.uiEventId == enUIEventID.Room_CreateRoom)
         {
             CRoomSystem.ReqCreateRoom(Singleton <CMatchingSystem> .instance.cacheMathingInfo.mapId);
         }
         else
         {
             CUIEvent event2 = new CUIEvent {
                 m_eventID = Singleton <CMatchingSystem> .instance.cacheMathingInfo.uiEventId
             };
             event2.m_eventParams.tagUInt = Singleton <CMatchingSystem> .instance.cacheMathingInfo.mapId;
             Singleton <CUIEventManager> .GetInstance().DispatchUIEvent(event2);
         }
     }
 }
Esempio n. 2
0
 private static void OnClickSwap(CUIEvent evt)
 {
     CRoomSystem.ReqChangeCamp(COM_PLAYERCAMP.COM_PLAYERCAMP_MID, evt.m_eventParams.tag, COM_CHGROOMPOS_TYPE.COM_CHGROOMPOS_PLAYER);
 }
Esempio n. 3
0
 private static void OnClickKick(CUIEvent evt)
 {
     CRoomSystem.ReqKickPlayer(COM_PLAYERCAMP.COM_PLAYERCAMP_MID, evt.m_eventParams.tag);
 }
Esempio n. 4
0
 private static void OnClickKick(CUIEvent evt)
 {
     CRoomSystem.ReqKickPlayer(0, evt.m_eventParams.tag);
 }
Esempio n. 5
0
 private static void OnClickSwap(CUIEvent evt)
 {
     CRoomSystem.ReqChangeCamp(0, evt.m_eventParams.tag, 2);
 }