Beispiel #1
0
    public void UpdateQuest(UserQuestUpdater[] quests)
    {
        UpdateQuest_c__AnonStorey78 storey = new UpdateQuest_c__AnonStorey78();

        UserQuestUpdater[] updaterArray = quests;
        for (int i = 0; i < updaterArray.Length; i++)
        {
            storey.newCondition = updaterArray[i];
            UserQuest quest = this._allQuests.Find(new Predicate <UserQuest>(storey.m_4E));
            if (quest != null)
            {
                quest.UpdateCondition(storey.newCondition.condition);
                if (quest.IsFinished)
                {
                    //TutorialManager.instance.CheckTutorialTaskFinishWithQuestFinish(quest.taskCid);
                }
            }
        }
    }
Beispiel #2
0
 public void UpdateQuest(UserQuestUpdater[] quests)
 {
     UpdateQuest_c__AnonStorey78 storey = new UpdateQuest_c__AnonStorey78();
     UserQuestUpdater[] updaterArray = quests;
     for (int i = 0; i < updaterArray.Length; i++)
     {
         storey.newCondition = updaterArray[i];
         UserQuest quest = this._allQuests.Find(new Predicate<UserQuest>(storey.m_4E));
         if (quest != null)
         {
             quest.UpdateCondition(storey.newCondition.condition);
             if (quest.IsFinished)
             {
                 //TutorialManager.instance.CheckTutorialTaskFinishWithQuestFinish(quest.taskCid);
             }
         }
     }
 }