private void adjustForQuest(bool isQuestActive)
 {
     if (isQuestActive)
     {
         removeLoadedScenes();
         return;
     }
     currentCutsceneEvent = checkSubEvents();
     if (currentCutsceneEvent.CutsceneData == null && currentCutsceneEvent.DecorationData == null)
     {
         handleNoSubEvent();
     }
     else
     {
         loadDecorations(onDecorationsLoaded, onAdjustForQuestDecorationLoadComplete);
     }
 }
 private void checkWithinDateRange()
 {
     if (!contentSchedulerService.IsDuringScheduleEventDates(dateDefinitions[DateDefinitionKey.Id]))
     {
         return;
     }
     if (!hideDuringQuests())
     {
         currentCutsceneEvent = checkSubEvents();
         if (currentCutsceneEvent.CutsceneData == null && currentCutsceneEvent.DecorationData == null)
         {
             handleNoSubEvent();
             allLoadingComplete();
         }
         else
         {
             loadDecorations(onDecorationsLoaded, beginLoadCutscene);
         }
     }
     else
     {
         allLoadingComplete();
     }
 }
Example #3
0
 protected override void handleDecorationsLoaded(EventCutsceneEvent cutsceneEvent)
 {
 }
Example #4
0
 protected override void handleCutsceneLoaded(EventCutsceneEvent cutsceneEvent)
 {
 }
 protected abstract void handleCutsceneLoaded(EventCutsceneEvent cutsceneEvent);
 protected abstract void handleDecorationsLoaded(EventCutsceneEvent cutsceneEvent);