Beispiel #1
0
        /// <summary>
        /// Abandons the quest by Id
        /// </summary>
        /// <param name="questId"></param>
        public void AbandonQuest(int questId)
        {
            var quest = Quests.FirstOrDefault(x => x.Id == questId);

            if (quest == null)
            {
                return;
            }
            Functions.AbandonQuest(quest.RealQuestIndex);
        }