Esempio n. 1
0
        public override void OnActivate(int pinID)
        {
            SerializeValueList valueList = !UnityEngine.Object.op_Inequality((UnityEngine.Object) this.m_ValueBehaviour, (UnityEngine.Object)null) ? new SerializeValueList() : this.m_ValueBehaviour.list;

            if (this.m_Api != null)
            {
                DebugUtility.LogError("同時に複数の通信が入ると駄目!");
            }
            else
            {
                switch (pinID)
                {
                case 0:
                    this.m_Api = (FlowNode_ReqSupportList.ApiBase) new FlowNode_ReqSupportList.Api_SupportList(this, valueList, false);
                    break;

                case 10:
                    this.m_Api = (FlowNode_ReqSupportList.ApiBase) new FlowNode_ReqSupportList.Api_SupportList(this, valueList, true);
                    break;
                }
                if (this.m_Api == null)
                {
                    return;
                }
                this.m_Api.Start();
                ((Behaviour)this).set_enabled(true);
            }
        }
Esempio n. 2
0
        public override void OnActivate(int pinID)
        {
            if (this.m_Api != null)
            {
                DebugUtility.LogError("同時に複数の通信が入ると駄目!");
            }
            else
            {
                switch (pinID)
                {
                case 0:
                    this.m_Api = (FlowNode_ReqSupportList.ApiBase) new FlowNode_ReqSupportList.Api_SupportList(this, this.m_Window.rootWindow.GetElement(), false);
                    break;

                case 10:
                    this.m_Api = (FlowNode_ReqSupportList.ApiBase) new FlowNode_ReqSupportList.Api_SupportList(this, this.m_Window.rootWindow.GetElement(), true);
                    break;
                }
                if (this.m_Api == null)
                {
                    return;
                }
                this.m_Api.Start();
                ((Behaviour)this).set_enabled(true);
            }
        }
Esempio n. 3
0
 public override void OnSuccess(WWWResult www)
 {
     if (this.m_Api == null)
     {
         return;
     }
     this.m_Api.Complete(www);
     this.m_Api = (FlowNode_ReqSupportList.ApiBase)null;
 }