private void startScreen()
 {
     if (Service.Get <ApplicationService>().RequiresUpdate)
     {
         ForcedUpgrade.OpenForcedUpgradePrompt();
         Service.Get <LoadingController>().RemoveLoadingSystem(this);
         return;
     }
     if (PlatformUtils.GetPlatformType() == PlatformType.Standalone && Service.Get <ApplicationService>().UpdateAvailable)
     {
         CPDataEntityCollection     cPDataEntityCollection = Service.Get <CPDataEntityCollection>();
         DataEntityHandle           entityByType           = cPDataEntityCollection.GetEntityByType <UpgradeAvailablePromptData>();
         UpgradeAvailablePromptData component = cPDataEntityCollection.GetComponent <UpgradeAvailablePromptData>(entityByType);
         if (!component.HasSeenUpgradeAvailablePrompt)
         {
             component.HasSeenUpgradeAvailablePrompt = true;
             ForcedUpgrade.OpenOptionalUpgradePrompt();
         }
     }
     Service.Get <EventDispatcher>().AddListener <SessionEvents.SessionEndedEvent>(onSessionEnded);
     if (!Service.Get <SessionManager>().HasSession)
     {
         firstTimeSetup();
     }
     else
     {
         setupScreen();
     }
     Service.Get <LoadingController>().RemoveLoadingSystem(this);
 }
 private void onMembershipClicked()
 {
     if (Service.Get <ApplicationService>().RequiresUpdate)
     {
         ForcedUpgrade.OpenForcedUpgradePrompt();
     }
     else
     {
         gameStateController.ShowAccountSystemMembership("home_screen");
     }
 }
 private void onPlayClicked(ButtonClickListener.ClickType interactedType)
 {
     if (Service.Get <ApplicationService>().RequiresUpdate)
     {
         ForcedUpgrade.OpenForcedUpgradePrompt();
         return;
     }
     PlayButtonSpinner.SetActive(value: true);
     PlayButton.interactable = false;
     Service.Get <EventDispatcher>().AddListener <AccountSystemEvents.AccountSystemEnded>(resetPlayButton);
     gameStateController.EnterGame();
 }