public void openNewQuestsCompletedPopup(List<int> completedQuests) { this.closeNewQuestsCompletedPopup(); this.newQuestsCompletedWindow = new NewQuestsCompletedWindow(); this.newQuestsCompletedWindow.init(this.ParentForm, completedQuests, true, null, -1); this.newQuestsCompletedWindow.Show(this.ParentForm); }
public void closeNewQuestsCompletedPopup() { if (this.newQuestsCompletedWindow != null) { this.newQuestsCompletedWindow.Close(); this.newQuestsCompletedWindow = null; } }
public void openNewQuestFurtherTextPopup(string questTag, int questID) { List<int> quests = new List<int>(); this.closeNewQuestsCompletedPopup(); this.newQuestsCompletedWindow = new NewQuestsCompletedWindow(); this.newQuestsCompletedWindow.init(this.ParentForm, quests, false, questTag, questID); this.newQuestsCompletedWindow.Show(this.ParentForm); }