public void SignOut() { OnSignedOutEvent?.Invoke(); Msf.Client.Auth.SignOut(true); ViewsManager.HideAllViews(); OnBeforeClientConnectedToServer(); }
/// <summary> /// Sign out user /// </summary> public virtual void SignOut() { logger.Debug("Sign out"); Mst.Client.Auth.SignOut(true); ViewsManager.HideAllViews(); Mst.Events.Invoke(MstEventKeys.showSignInView); }
public void SignOut() { OnSignedOutEvent?.Invoke(); Msf.Client.Auth.SignOut(); ViewsManager.HideAllViews(); Initialize(); }
public void SignOut() { logger.Debug("Sign out"); OnSignedOutEvent?.Invoke(); Msf.Client.Auth.SignOut(true); ViewsManager.HideAllViews(); OnInitialize(); }
public void SignOut() { OnSignedOutEvent?.Invoke(); // Logout after diconnection Msf.Client.Auth.SignOut(); ViewsManager.HideAllViews(); Initialize(); }
protected override void OnDisconnectedFromMaster() { // Logout after diconnection Msf.Client.Auth.SignOut(); Msf.Events.Invoke(Event_Keys.showOkDialogBox, "The connection to the server has been lost. " + "Please try again or contact the developers of the game or your internet provider."); ViewsManager.HideAllViews(); Initialize(); ConnectionTo_Master.Instance.StartConnection(); }
protected override void OnClientDisconnectedFromServer() { // Logout after diconnection Msf.Client.Auth.SignOut(); Msf.Events.Invoke(EventKeys.showOkDialogBox, new OkDialogBoxViewEventMessage("The connection to the server has been lost. " + "Please try again or contact the developers of the game or your internet provider.", () => { ViewsManager.HideAllViews(); OnBeforeClientConnectedToServer(); ClientToMasterConnector.Instance.StartConnection(); })); }
/// <summary> /// Sign out user /// </summary> public void SignOut() { Logs.Debug("Sign out"); Mst.Client.Auth.SignOut(true); ViewsManager.HideAllViews(); }