public override void OnActivate(int pinID)
        {
            if (this.m_Api != null)
            {
                DebugUtility.LogError("同時に複数の通信が入ると駄目!");
            }
            else
            {
                switch (pinID)
                {
                case 100:
                    this.m_Api = (FlowNode_ReqUnitFavorite.ApiBase) new FlowNode_ReqUnitFavorite.Api_SetUnitFavorite(this, true);
                    break;

                case 110:
                    this.m_Api = (FlowNode_ReqUnitFavorite.ApiBase) new FlowNode_ReqUnitFavorite.Api_SetUnitFavorite(this, false);
                    break;
                }
                if (this.m_Api == null)
                {
                    return;
                }
                this.m_Api.Start();
                ((Behaviour)this).set_enabled(true);
            }
        }
 public override void OnSuccess(WWWResult www)
 {
     if (this.m_Api == null)
     {
         return;
     }
     this.m_Api.Complete(www);
     this.m_Api = (FlowNode_ReqUnitFavorite.ApiBase)null;
 }