Esempio n. 1
0
        /// <summary>
        /// Removes Quest from Active log and adds it to the finished Quests
        /// </summary>
        public void ArchiveQuest()
        {
            if (!m_Log.m_FinishedQuests.Contains(Template.Id))
            {
                m_Log.m_FinishedQuests.Add(Template.Id);
                Template.NotifyFinished(this);
                int num = Template.IsDaily ? 1 : 0;
            }

            m_Log.RemoveQuest(this);
        }
Esempio n. 2
0
 /// <summary>
 /// Removes Quest from Active log and adds it to the finished Quests
 /// </summary>
 public void ArchiveQuest()
 {
     if (!m_Log.m_FinishedQuests.Contains(Template.Id))
     {
         m_Log.m_FinishedQuests.Add(Template.Id);
         Template.NotifyFinished(this);
         if (Template.IsDaily)
         {
             //TODO Add Daily Quest logic
             //m_CurrentDailyCount++;
         }
     }
     m_Log.RemoveQuest(this);
 }