SmartFoxServer Unity/.NET API
SFSEvent..::.OnLogoutDelegate Delegate
NamespacesSmartFoxClientAPISFSEventSFSEvent..::.OnLogoutDelegate
Dispatched when the user logs out successfully.
After a successful logout the user is still connected to the server, but he/she has to login again into a zone, in order to be able to interact with the server.
Declaration Syntax
C#Visual BasicVisual C++
public delegate void OnLogoutDelegate()
Public Delegate Sub OnLogoutDelegate
public delegate void OnLogoutDelegate()
Remarks

Since:
SmartFoxServer Pro v1.5.5

Version:
SmartFoxServer Basic / Pro

Examples
The following example shows how to handle the "logout" event.
CopyC#
SFSEvent.onLogout += OnLogout;

smartFox.Logout();

public void OnLogout()
{
    Trace.WriteLine("Logged out successfully");
}
See Also

Assembly: SmartFoxClient (Module: SmartFoxClient) Version: 1.2.4.0 (1.2.4.0)