Пример #1
0
        private void ResultOpponentSendReady(object sender, ResponseEventArgs e)
        {
            SendOpponentIsReadyResponse response = e.Response as SendOpponentIsReadyResponse;

            if (response != null)
            {
                if (response.IsSuccess)
                {
                    ClientManager.Instance.Callback.RemoveHandler <SendOpponentIsReadyResponse>();
                }
            }
        }
Пример #2
0
 public void SendOpponentIsReady(SendOpponentIsReadyResponse response)
 {
     syncContext.Post(new SendOrPostCallback(OnBroadcast <SendOpponentIsReadyResponse>), response);
 }