private bool onResumeQuest(QuestEvents.ResumeQuest evt)
 {
     if (evt.Quest.Mascot == Mascot && state == States.GivingQuest)
     {
         setState(States.WaitingForSplashscreen);
     }
     return(false);
 }
示例#2
0
 private bool onResumeQuestRequest(QuestEvents.ResumeQuest evt)
 {
     trace("Resuming quest {0}", evt.Quest.Id);
     CoroutineRunner.Start(ShowStartQuestSplashscreen(evt.Quest), this, "Load splash screen");
     pendingQuest      = evt.Quest;
     pendingQuestStart = true;
     AdventureReminderTutorial.ClearReminderCount(evt.Quest.Mascot.Name);
     Service.Get <ICPSwrveService>().Action("game.quest", "resume", evt.Quest.Mascot.Name, evt.Quest.Id);
     return(false);
 }