SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::requests::LogoutRequest Class Reference

Logs the user out of the current Zone. More...

#include <LogoutRequest.h>

Inheritance diagram for sfs3::requests::LogoutRequest:
[legend]

Public Member Functions

 LogoutRequest ()
 Creates a new LogoutRequest.

Detailed Description

Logs the user out of the current Zone.

The user is notified of the logout with a event::SFSEvent::LOGOUT event. This does not close the connection, so right after that event the user can log in again, in the same Zone or in another one.

See also
event::SFSEvent::LOGOUT

Constructor & Destructor Documentation

◆ LogoutRequest()

sfs3::requests::LogoutRequest::LogoutRequest ( )

Creates a new LogoutRequest.

Pass it to SmartFox::send for the request to be performed.

See also
SmartFox::send

The documentation for this class was generated from the following files:
  • requests/LogoutRequest.h
  • requests/LogoutRequest.cpp