11 #ifndef __ChangeRoomCapacityRequest__ 12 #define __ChangeRoomCapacityRequest__ 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 102 void Validate(boost::shared_ptr<SmartFox> sfs);
104 void Execute (boost::shared_ptr<SmartFox> sfs);
109 static boost::shared_ptr<string> KEY_ROOM;
111 static boost::shared_ptr<string> KEY_USER_SIZE;
113 static boost::shared_ptr<string> KEY_SPEC_SIZE;
134 boost::shared_ptr<Room> room;
135 long int newMaxUsers;
136 long int newMaxSpect;
Change the capacity of a Room (maxUsers and maxSpectators) at runtime.
Definition: ChangeRoomCapacityRequest.h:40
Definition: SmartFox.cpp:24