|
SmartFoxServer 3 C++ Client API 3.1.0-beta
Client API for SmartFoxServer 3
|
Dispatched when a spectator is turned into a player inside a Game Room. More...
#include <SFSEvent.h>
Public Attributes | |
| std::shared_ptr< entities::User > | user |
| The spectator who was turned into a player. | |
| std::shared_ptr< entities::Room > | room |
| The Room where it happened. | |
| int32_t | playerId |
| The player slot the server assigned to the user in that Room. | |
Dispatched when a spectator is turned into a player inside a Game Room.
Sent in response to a requests::SpectatorToPlayerRequest, if the operation succeeded.