11 #ifndef __PlayerToSpectatorRequest__ 12 #define __PlayerToSpectatorRequest__ 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 83 void Validate(boost::shared_ptr<SmartFox> sfs);
85 void Execute (boost::shared_ptr<SmartFox> sfs);
91 static boost::shared_ptr<string> KEY_ROOM_ID;
93 static boost::shared_ptr<string> KEY_USER_ID;
110 void Init(boost::shared_ptr<Room> targetRoom);
115 boost::shared_ptr<Room> room;
Attempt to turn the current User from Player to a Spectator (in a Game Room)
Definition: PlayerToSpectatorRequest.h:36
Definition: SmartFox.cpp:24