Exemple #1
0
 public void Logout()
 {
     this.HaveFriendData       = false;
     this.HaveSelfData         = false;
     this.Friends              = null;
     this.PlayerIdToFriendData = null;
     Service.LeaderboardController.Friends.List.Clear();
     FacebookManager.Logout();
     Service.IAccountSyncController.UnregisterFacebookAccount();
 }
Exemple #2
0
 /// <summary>
 /// Logs out from services.
 /// </summary>
 public void LogoutFromEverything()
 {
     facebookManager.Logout();
     playFabManager.Logout();
 }
 private void logoutButton_Click(object sender, EventArgs e)
 {
     FacebookManager.Logout();
     panelMain.Controls.Clear();
     setAppButtonsEnabledStatus(false);
 }