private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { EndScopes(sessionEndingScopes); ClearZoneScope(); ResetLocalPlayerHandle(); return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { if (gameSettings.EnablePushNotifications.Value && IsInPushNotificationMode) { disableMixPushNotifications(); } return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { LeaveRoom(); networkServicesManager.FriendsService.ClearLocalUser(Service.Get <SessionManager>().LocalUser); clearLocalUser(); isFirstCoinsReceived = true; return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { myMascotXP.Clear(); rewardItems.Clear(); rewardCounts.Clear(); rewardDefinitions.Clear(); return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { Service.Get <EventDispatcher>().RemoveListener <SessionEvents.SessionEndedEvent>(onSessionEnded); resetDeviceDB(); if (Service.IsSet <INetworkServicesManager>()) { Service.Get <INetworkServicesManager>().Reset(); } return(false); }
private bool onSessionEndedEvent(SessionEvents.SessionEndedEvent evt) { Service.Get <EventDispatcher>().RemoveListener <SessionEvents.SessionEndedEvent>(onSessionEndedEvent); try { Service.Get <SceneTransitionService>().LoadScene("Home", "Loading"); } finally { Service.Get <GameStateController>().ResetStateMachine(); } return(false); }
private bool onLogoutBeforeClear(SessionEvents.SessionEndedEvent evt) { eventDispatcher.RemoveListener <SessionEvents.SessionEndedEvent>(onLogoutBeforeClear); Service.Get <SceneTransitionService>().LoadScene(sceneConfig.HomeSceneName, sceneConfig.TransitionSceneName); try { Directory.Delete(Application.persistentDataPath + "/MixSDK", recursive: true); } catch (IOException ex) { Log.LogError(this, "Failed to delete persistent data: " + ex.Message); } return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { setupScreen(); return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { clearMascotQuests(); return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { controlsScreenData.ReturnToDefaultLeftOption(); controlsScreenData.ReturnToDefaultRightOption(); return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { tasksAlreadyShown.Clear(); notificationBreadcrumbController.ClearAllBreadcrumbs(); return(false); }
private bool onSessionEnded(SessionEvents.SessionEndedEvent evt) { IsActive = false; return(false); }