Beispiel #1
0
 internal void OnLogin()
 {
     RealmAccount.AccountHandler loggedIn = RealmAccount.LoggedIn;
     if (loggedIn == null)
     {
         return;
     }
     loggedIn(this);
 }
Beispiel #2
0
 internal void OnLogout()
 {
     if (this.AccountData != null)
     {
         this.AccountData.Update();
     }
     RealmAccount.AccountHandler loggedOut = RealmAccount.LoggedOut;
     if (loggedOut == null)
     {
         return;
     }
     loggedOut(this);
 }