Пример #1
0
 private bool onLocalPlayerDataReady(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     if (productList.GetAllProducts().Count > 0)
     {
         skuLookupPending = true;
     }
     StartSession();
     return(false);
 }
 private bool onLocalPlayerDataReady(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     Service.Get <EventDispatcher>().RemoveListener <NetworkControllerEvents.LocalPlayerDataReadyEvent>(onLocalPlayerDataReady);
     if (nextEvent == null)
     {
         nextEvent = LoginSuccessEvent;
     }
     rootStateMachine.SendEvent(nextEvent);
     return(false);
 }
Пример #3
0
 private bool onLocalPlayerDataReady(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     Service.Get <EventDispatcher>().RemoveListener <NetworkControllerEvents.LocalPlayerDataReadyEvent>(onLocalPlayerDataReady);
     if (sessionManager.LocalUser.RegistrationProfile.AccountStatus == AccountStatus.AwaitingParentalConsent)
     {
         Service.Get <MixLoginCreateService>().ParentalApprovalEmailSend(Service.Get <SessionManager>().LocalUser);
     }
     rootStateMachine.SendEvent(LocalPlayerLoadedEvent);
     return(false);
 }
Пример #4
0
 private bool onLocalPlayerDataReadyEvent(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     if (DisplayNamePlayerPrefs.HasKey("RecentEmotesServiceList"))
     {
         List <string> list = DisplayNamePlayerPrefs.GetList <string>("RecentEmotesServiceList");
         emoteDefinitionsList = StringsToDefinitions(list);
     }
     else
     {
         emoteDefinitionsList = new List <EmoteDefinition>();
     }
     return(false);
 }
Пример #5
0
    private bool onLocalPlayerDataReady(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
    {
        eventDispatcher.RemoveListener <NetworkControllerEvents.LocalPlayerDataReadyEvent>(onLocalPlayerDataReady);
        if (!base.IsInHandledState)
        {
            return(false);
        }
        gameStateController.ShowAccountSystem(nextAccountSystemEvent);
        AccountFlowData accountFlowData = Service.Get <MembershipService>().GetAccountFlowData();

        accountFlowData.FlowType = AccountFlowType.autologin;
        return(false);
    }
 private bool onLocalPlayerDataReady(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     if (offlineDatabase.Read <CustomEquipmentCollection>().Equipment.Count == 0)
     {
         INetworkServicesManager network = Service.Get <INetworkServicesManager>();
         network.InventoryService.GetEquipmentInventory();
         network.IglooService.GetDecorations();
         dataEntityCollection.When(dataEntityCollection.LocalPlayerHandle, delegate(SavedIgloosMetaData savedIgloosMetaData)
         {
             CoroutineRunner.StartPersistent(loadIglooEntity(network, savedIgloosMetaData), this, "loadIglooEntity");
         });
     }
     return(false);
 }
Пример #7
0
 private bool onLocalPlayerDataReady(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     Service.Get <EventDispatcher>().RemoveListener <NetworkControllerEvents.LocalPlayerDataReadyEvent>(onLocalPlayerDataReady);
     getTubeData();
     return(false);
 }
Пример #8
0
 private bool onLocalPlayerDataReadyEvent(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     Initialize();
     return(false);
 }
 private bool onLocalPlayerDataReady(NetworkControllerEvents.LocalPlayerDataReadyEvent evt)
 {
     IsActive = true;
     return(false);
 }