Esempio n. 1
0
 private bool CheckQuest(QuestParam quest)
 {
     return(!quest.IsMulti && quest.IsReplayDateUnlock(-1L) && (!string.IsNullOrEmpty(quest.event_start) || !string.IsNullOrEmpty(quest.event_clear)) && ((quest.state == QuestStates.Challenged || quest.state == QuestStates.Cleared) && (quest.state != QuestStates.Challenged || !string.IsNullOrEmpty(quest.event_start))) && (this.ShowAllQuests || !((string)GlobalVars.ReplaySelectedChapter != quest.ChapterID)));
 }
Esempio n. 2
0
 private bool Resumable(QuestParam quest)
 {
     return(quest != null && !quest.IsMulti && quest.IsReplayDateUnlock(Network.GetServerTime()) && ((!string.IsNullOrEmpty(quest.event_start) || !string.IsNullOrEmpty(quest.event_clear)) && (quest.state == QuestStates.Challenged || quest.state == QuestStates.Cleared)));
 }