コード例 #1
0
 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);
 }