public override void OnSuccess(WWWResult www)
 {
     if (this.m_Api == null)
     {
         return;
     }
     this.m_Api.Complete(www);
     this.m_Api = (FlowNode_ReqPresentList.ApiBase)null;
 }
        public override void OnActivate(int pinID)
        {
            if (this.m_Api != null)
            {
                DebugUtility.LogError("同時に複数の通信が入ると駄目!");
            }
            else
            {
                switch (pinID)
                {
                case 100:
                    this.m_Api = (FlowNode_ReqPresentList.ApiBase) new FlowNode_ReqPresentList.Api_PresentList(this);
                    break;

                case 200:
                    this.m_Api = (FlowNode_ReqPresentList.ApiBase) new FlowNode_ReqPresentList.Api_PresentListExec(this);
                    break;

                case 300:
                    this.m_Api = (FlowNode_ReqPresentList.ApiBase) new FlowNode_ReqPresentList.Api_PresentListSend(this);
                    break;

                case 400:
                    SerializeValueList currentValue = FlowNode_ButtonEvent.currentValue as SerializeValueList;
                    if (currentValue != null)
                    {
                        new FlowNode_ReqPresentList.Api_PresentListGave(this, currentValue.GetGameObject("item")).Start();
                        break;
                    }
                    break;
                }
                if (this.m_Api == null)
                {
                    return;
                }
                this.m_Api.Start();
                ((Behaviour)this).set_enabled(true);
            }
        }