LogoutRequest Class |
Namespace: Sfs2X.Requests
public class LogoutRequest : BaseRequest
The LogoutRequest type exposes the following members.
Name | Description | |
---|---|---|
LogoutRequest |
Creates a new LogoutRequest instance.
|
void SomeMethod() { sfs.AddEventListener(SFSEvent.LOGOUT, onLogout); // Logout sfs.Send( new LogoutRequest() ); } void onLogout(BaseEvent evt) { Console.WriteLine("Logout executed!"); // .Net / Unity System.Diagnostics.Debug.WriteLine("Logout executed!"); // UWP }