コード例 #1
0
        public override void OnActivate(int pinID)
        {
            ReqQuestRankingPartyData dataOfClass = DataSource.FindDataOfClass <ReqQuestRankingPartyData>(((Component)this).get_gameObject(), (ReqQuestRankingPartyData)null);

            if (dataOfClass == null || pinID != 100)
            {
                return;
            }
            this.ExecRequest((WebAPI) new FlowNode_ReqQuestRankingParty.API_ReqQuestRankingParty(dataOfClass.m_ScheduleID, dataOfClass.m_RankingType, dataOfClass.m_QuestID, dataOfClass.m_TargetUID, new Network.ResponseCallback(((FlowNode_Network)this).ResponseCallback)));
        }
コード例 #2
0
        public void OnItemSelect(GameObject go)
        {
            RankingQuestUserData dataOfClass = DataSource.FindDataOfClass <RankingQuestUserData>(go, (RankingQuestUserData)null);

            if (dataOfClass == null)
            {
                return;
            }
            ReqQuestRankingPartyData data = new ReqQuestRankingPartyData();

            data.m_ScheduleID  = this.m_RankingQuestParam.schedule_id;
            data.m_RankingType = this.m_RankingQuestParam.type;
            data.m_QuestID     = this.m_RankingQuestParam.iname;
            data.m_TargetUID   = dataOfClass.m_UID;
            DataSource.Bind <RankingQuestUserData>(this.m_RootObject, dataOfClass);
            DataSource.Bind <ReqQuestRankingPartyData>(this.m_RootObject, data);
            FlowNode_GameObject.ActivateOutputLinks((Component)this, 300);
        }