11 #ifndef __CreateSFSGameRequest__ 12 #define __CreateSFSGameRequest__ 14 #include "../../Util/Common.h" 15 #include "../BaseRequest.h" 16 #include "../CreateRoomRequest.h" 17 #include "SFSGameSettings.h" 18 #include "InviteUsersRequest.h" 20 #include <boost/shared_ptr.hpp> 23 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 91 void Validate(boost::shared_ptr<SmartFox> sfs);
93 void Execute (boost::shared_ptr<SmartFox> sfs);
99 static boost::shared_ptr<string> KEY_IS_PUBLIC;
101 static boost::shared_ptr<string> KEY_MIN_PLAYERS;
103 static boost::shared_ptr<string> KEY_INVITED_PLAYERS;
105 static boost::shared_ptr<string> KEY_SEARCHABLE_ROOMS;
107 static boost::shared_ptr<string> KEY_PLAYER_MATCH_EXP;
109 static boost::shared_ptr<string> KEY_SPECTATOR_MATCH_EXP;
111 static boost::shared_ptr<string> KEY_INVITATION_EXPIRY;
113 static boost::shared_ptr<string> KEY_LEAVE_ROOM;
115 static boost::shared_ptr<string> KEY_NOTIFY_GAME_STARTED;
117 static boost::shared_ptr<string> KEY_INVITATION_PARAMS;
138 boost::shared_ptr<CreateRoomRequest> createRoomRequest;
139 boost::shared_ptr<SFSGameSettings> settings;
The request launches a new public or private game, including game invitations, player matching and a ...
Definition: CreateSFSGameRequest.h:42
Definition: SmartFox.cpp:24