Exemplo n.º 1
0
 private void Done()
 {
     Service.Get <EventManager>().UnregisterObserver(this, EventId.IntroComplete);
     if (this.animation != null)
     {
         this.animation = null;
         Service.Get <UXController>().Intro = null;
         Service.Get <UXController>().HUD.ConfigureControls(new HudConfig(new string[0]));
         Service.Get <UXController>().HUD.Visible = true;
         if (Service.Get <CurrentPlayer>().HasNotCompletedFirstFueStep() && GameConstants.START_FUE_IN_BATTLE_MODE)
         {
             Service.Get <GameStateMachine>().SetState(new FueBattleStartState(GameConstants.FUE_BATTLE));
             Service.Get <BattleController>().PrepareWorldForBattle();
             return;
         }
         GameServicesManager.OnReady();
         HomeState.GoToHomeState(null, true);
     }
 }
Exemplo n.º 2
0
 public unsafe static long $Invoke2(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(HomeState.GoToHomeState((TransitionCompleteDelegate)GCHandledObjects.GCHandleToObject(*args), *(sbyte *)(args + 1) != 0)));
 }