Ejemplo n.º 1
0
 public override void OnActivate(int pinID)
 {
     if (this.m_Api != null)
     {
         DebugUtility.LogError("同時に複数の通信が入ると駄目!");
     }
     else
     {
         if (pinID == 100)
         {
             MultiInvitationReceiveWindow instance = MultiInvitationReceiveWindow.instance;
             if (instance != null)
             {
                 int page = 1;
                 if (instance.GetLogPage() != page)
                 {
                     this.m_Api = (FlowNode_ReqMultiInvitationHistory.ApiBase) new FlowNode_ReqMultiInvitationHistory.Api_MultiInvitationHistory(this, page);
                 }
                 else
                 {
                     this.m_Api = (FlowNode_ReqMultiInvitationHistory.ApiBase) new FlowNode_ReqMultiInvitationHistory.Api_MultiInvitationHistory(this, page);
                     this.m_Api.Success();
                     this.m_Api = (FlowNode_ReqMultiInvitationHistory.ApiBase)null;
                 }
             }
         }
         if (this.m_Api == null)
         {
             return;
         }
         this.m_Api.Start();
         ((Behaviour)this).set_enabled(true);
     }
 }
Ejemplo n.º 2
0
 public override void OnSuccess(WWWResult www)
 {
     if (this.m_Api == null)
     {
         return;
     }
     this.m_Api.Complete(www);
     this.m_Api = (FlowNode_ReqMultiInvitationHistory.ApiBase)null;
 }