11 #ifndef __KickUserRequest__ 12 #define __KickUserRequest__ 14 #include "../Util/Common.h" 15 #include "BaseRequest.h" 17 #include <boost/shared_ptr.hpp> 20 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 74 KickUserRequest(
long int userId,
string message,
long int delaySeconds);
78 void Validate(boost::shared_ptr<SmartFox> sfs);
80 void Execute (boost::shared_ptr<SmartFox> sfs);
85 static boost::shared_ptr<string> KEY_USER_ID;
87 static boost::shared_ptr<string> KEY_MESSAGE;
89 static boost::shared_ptr<string> KEY_DELAY;
106 void Init(
long int userId,
string message,
long int delaySeconds);
112 boost::shared_ptr<string> message;
Kicks a User out of the server (for moderators and admins only)
Definition: KickUserRequest.h:35
Definition: SmartFox.cpp:24