示例#1
0
 public override void OnSuccess(WWWResult www)
 {
     if (Object.op_Equality((Object)this, (Object)null))
     {
         Network.RemoveAPI();
         this.isConnecting = false;
     }
     else if (Network.IsError)
     {
         Network.EErrCode errCode = Network.ErrCode;
         this.OnFailed();
     }
     else
     {
         WebAPI.JSON_BodyResponse <JSON_BundleParamResponse> jsonObject = JSONParser.parseJSONObject <WebAPI.JSON_BodyResponse <JSON_BundleParamResponse> >(www.text);
         DebugUtility.Assert(jsonObject != null, "res == null");
         Network.RemoveAPI();
         BundleParamResponse bundleParamResponse = new BundleParamResponse();
         if (!bundleParamResponse.Deserialize(jsonObject.body))
         {
             this.Failure();
         }
         else
         {
             this.StartCoroutine(this.CheckPaymentInit(bundleParamResponse));
         }
     }
 }
 private IEnumerator CheckPaymentInit(BundleParamResponse param)
 {
     // ISSUE: object of a compiler-generated type is created
     return((IEnumerator) new FlowNode_ReqBundleParam.\u003CCheckPaymentInit\u003Ec__Iterator22()
     {
         param = param, \u003C\u0024\u003Eparam = param, \u003C\u003Ef__this = this
     });
 }