SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
Loading...
Searching...
No Matches
sfs3::event::PlayerToSpectatorError Struct Reference

Dispatched when the current user cannot be turned from player into spectator in a Game Room. More...

#include <SFSEvent.h>

Public Attributes

int16_t errorCode
 The error code.
std::string errorMessage
 The description of the error.

Detailed Description

Dispatched when the current user cannot be turned from player into spectator in a Game Room.

Sent in response to a requests::PlayerToSpectatorRequest.

See also
requests::PlayerToSpectatorRequest
SFSEvent::PLAYER_TO_SPECTATOR

The documentation for this struct was generated from the following file: