11 #ifndef __CreateRoomRequest__ 12 #define __CreateRoomRequest__ 14 #include "../Util/Common.h" 15 #include "BaseRequest.h" 16 #include "RoomSettings.h" 17 #include "../Entities/Room.h" 18 #include "MMO/MMORoomSettings.h" 20 #include <boost/shared_ptr.hpp> 22 using namespace Sfs2X;
99 CreateRoomRequest(boost::shared_ptr<RoomSettings> settings,
bool autoJoin, boost::shared_ptr<Room> roomToLeave);
113 void Validate(boost::shared_ptr<SmartFox> sfs);
115 void Execute (boost::shared_ptr<SmartFox> sfs);
121 static boost::shared_ptr<string> KEY_ROOM;
123 static boost::shared_ptr<string> KEY_NAME;
125 static boost::shared_ptr<string> KEY_PASSWORD;
127 static boost::shared_ptr<string> KEY_GROUP_ID;
129 static boost::shared_ptr<string> KEY_ISGAME;
131 static boost::shared_ptr<string> KEY_MAXUSERS;
133 static boost::shared_ptr<string> KEY_MAXSPECTATORS;
135 static boost::shared_ptr<string> KEY_MAXVARS;
137 static boost::shared_ptr<string> KEY_ROOMVARS;
139 static boost::shared_ptr<string> KEY_PERMISSIONS;
141 static boost::shared_ptr<string> KEY_EVENTS;
143 static boost::shared_ptr<string> KEY_EXTID;
145 static boost::shared_ptr<string> KEY_EXTCLASS;
147 static boost::shared_ptr<string> KEY_EXTPROP;
149 static boost::shared_ptr<string> KEY_AUTOJOIN;
151 static boost::shared_ptr<string> KEY_ROOM_TO_LEAVE;
153 static boost::shared_ptr<string> KEY_ALLOW_JOIN_INVITATION_BY_OWNER;
158 static boost::shared_ptr<string> KEY_MMO_DEFAULT_AOI;
160 static boost::shared_ptr<string> KEY_MMO_MAP_LOW_LIMIT;
162 static boost::shared_ptr<string> KEY_MMO_MAP_HIGH_LIMIT;
164 static boost::shared_ptr<string> KEY_MMO_USER_MAX_LIMBO_SECONDS;
166 static boost::shared_ptr<string> KEY_MMO_PROXIMITY_UPDATE_MILLIS;
168 static boost::shared_ptr<string> KEY_MMO_SEND_ENTRY_POINT;
185 void Init(boost::shared_ptr<RoomSettings> settings,
bool autoJoin, boost::shared_ptr<Room> roomToLeave);
190 boost::shared_ptr<RoomSettings> settings;
192 boost::shared_ptr<Room> roomToLeave;
Definition: SFSCodecError.cpp:14
Creates a new Room in the current Zone
Definition: CreateRoomRequest.h:35
Definition: BaseVariable.cpp:15
Definition: SmartFox.cpp:24
Definition: ISFSArray.h:17