private bool onAccountSystemDestroyed(AccountSystemEvents.AccountSystemDestroyed evt) { activeAccountSystemsCount--; if (activeAccountSystemsCount <= 0 && Service.Get <GameStateController>().CurrentState() == "Default") { gameStateController.ShowAccountSystemLogin(); } return(false); }
private bool onAccountSystemDestroyed(AccountSystemEvents.AccountSystemDestroyed evt) { activeAccountSystemsCount--; membershipOpen = false; if (activeAccountSystemsCount <= 0) { activeAccountSystemsCount = 0; this.OnAccountAccountSystemDeacitvated.InvokeSafe(); } return(false); }