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