コード例 #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);
     }
 }
コード例 #2
0
ファイル: HomeState.cs プロジェクト: Hengle/swc-decompiled
 public unsafe static long $Invoke2(long instance, long *args)
 {
     return(GCHandledObjects.ObjectToGCHandle(HomeState.GoToHomeState((TransitionCompleteDelegate)GCHandledObjects.GCHandleToObject(*args), *(sbyte *)(args + 1) != 0)));
 }