Exemple #1
0
 public void Respond(string payload)
 {
     if (payload == null)
     {
         debugPrint("[Respond] payload == null");
     }
     if (OnRespond == null)
     {
         debugPrint("[Respond] OnRespond == null");
     }
     WaitingServerAnsver.hide();
     OnRespond(this, new RespondEventArgs(payload));
 }
Exemple #2
0
 public void Error(ErrorType type, string msg)
 {
     WaitingServerAnsver.hide(true);
     this.OnError(this, new ErrorEventArgs(type, msg));
     //Errors.showError(Errors.TypeError.ES_CONNECT_ERROR);
 }