Example #1
0
        public void CancelMatch()
        {
            CMMatchCancel msg = new CMMatchCancel();

            SendMessage(msg);
            SendEvent(EventDef.MatchCancel);
        }
Example #2
0
 private void OnCancelMatch(CMMatchCancel req)
 {
     if (data.state == UserState.Matching)
     {
         data.SetState(UserState.Hall);
     }
     matchProxy.Remove(data.uid);
 }