11 #ifndef __SpectatorToPlayerRequest__ 12 #define __SpectatorToPlayerRequest__ 14 #include "../Util/Common.h" 15 #include "BaseRequest.h" 16 #include "../Entities/Room.h" 18 #include <boost/shared_ptr.hpp> 21 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 86 void Validate(boost::shared_ptr<SmartFox> sfs);
88 void Execute (boost::shared_ptr<SmartFox> sfs);
94 static boost::shared_ptr<string> KEY_ROOM_ID;
96 static boost::shared_ptr<string> KEY_USER_ID;
98 static boost::shared_ptr<string> KEY_PLAYER_ID;
115 void Init(boost::shared_ptr<Room> targetRoom);
120 boost::shared_ptr<Room> room;
Attempt to turn the current User from Spectator into a Player (in a Game Room)
Definition: SpectatorToPlayerRequest.h:38
Definition: SmartFox.cpp:24