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

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