![]() |
SmartFoxServer 2X C++ API
|
Attempt to turn the current User from Spectator into a Player (in a Game Room) More...
#include <SpectatorToPlayerRequest.h>
Inherits Sfs2X::Requests::BaseRequest.
Public Member Functions | |
SpectatorToPlayerRequest () | |
SpectatorToPlayerRequest(Room*) More... | |
SpectatorToPlayerRequest (boost::shared_ptr< Room > targetRoom) | |
Constructor More... | |
Attempt to turn the current User from Spectator into a Player (in a Game Room)
This could fail if no Player slots are available in the Room at the time of the request
Sfs2X::Requests::SpectatorToPlayerRequest::SpectatorToPlayerRequest | ( | ) |
SpectatorToPlayerRequest(Room*)
Sfs2X::Requests::SpectatorToPlayerRequest::SpectatorToPlayerRequest | ( | boost::shared_ptr< Room > | targetRoom | ) |
Constructor
targetRoom | the Room where the change has to be performed, a null value indicates the last joined Room (default) |