Example #1
0
 private void onReqCheckInviteValidSuccess(BaseWWWRequest obj)
 {
     try
     {
         this.checkInviteValidResponse = new JsonFx.Json.JsonReader().Read <CheckInviteValidResponse>(this.UTF8String);
         if (this.checkInviteValidResponse.eid != 0)
         {
             this.onReqCheckInviteValidFail(obj);
         }
         else
         {
             this.OnCheckInviteValidSuccessEvent();
         }
     }
     catch (Exception)
     {
         this.onReqCheckInviteValidFail(obj);
     }
 }
Example #2
0
 private void onReqCheckInviteValidSuccess(BaseWWWRequest obj)
 {
     try
     {
         this.checkInviteValidResponse = new JsonFx.Json.JsonReader().Read<CheckInviteValidResponse>(this.UTF8String);
         if (this.checkInviteValidResponse.eid != 0)
         {
             this.onReqCheckInviteValidFail(obj);
         }
         else
         {
             this.OnCheckInviteValidSuccessEvent();
         }
     }
     catch (Exception)
     {
         this.onReqCheckInviteValidFail(obj);
     }
 }
 private void onReqCheckInviteValidSuccess(BaseWWWRequest obj)
 {
     try
     {
         if (this.needZip)
         {
             this.checkInviteValidResponse = JsonReader.Deserialize<CheckInviteValidResponse>(base.UTF8String);
         }
         else
         {
             this.checkInviteValidResponse = JsonReader.Deserialize<CheckInviteValidResponse>(base.www.text);
         }
         if (this.checkInviteValidResponse.eid != 0)
         {
             this.onReqCheckInviteValidFail(obj);
         }
         else
         {
             this.OnCheckInviteValidSuccessEvent();
         }
     }
     catch (Exception)
     {
         this.onReqCheckInviteValidFail(obj);
     }
 }