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(); }
/// <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); }