11 #ifndef __RoomSettings__ 12 #define __RoomSettings__ 14 #include "../Util/Common.h" 15 #include "RoomPermissions.h" 16 #include "RoomEvents.h" 17 #include "RoomExtension.h" 18 #include "../Entities/Variables/RoomVariable.h" 19 #include "../Entities/SFSConstants.h" 21 #include <boost/shared_ptr.hpp> 24 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 30 using namespace Sfs2X;
83 boost::shared_ptr<string> Name();
88 void Name(
string value);
93 boost::shared_ptr<string> Password();
98 void Password(
string value);
108 void IsGame(
bool value);
113 short int MaxUsers();
118 void MaxUsers(
short int value);
123 short int MaxVariables();
128 void MaxVariables(
short int value);
133 short int MaxSpectators();
138 void MaxSpectators(
short int value);
144 boost::shared_ptr<vector<boost::shared_ptr<RoomVariable> > > Variables();
150 void Variables(boost::shared_ptr<vector<boost::shared_ptr<RoomVariable> > > value);
156 boost::shared_ptr<RoomPermissions> Permissions();
162 void Permissions(boost::shared_ptr<RoomPermissions> value);
168 boost::shared_ptr<RoomEvents> Events();
174 void Events(boost::shared_ptr<RoomEvents> value);
180 boost::shared_ptr<RoomExtension> Extension();
186 void Extension(boost::shared_ptr<RoomExtension> value);
191 boost::shared_ptr<string> GroupId();
196 void GroupId(
string value);
207 bool AllowOwnerOnlyInvitation();
218 void AllowOwnerOnlyInvitation(
bool value);
243 boost::shared_ptr<string> name;
244 boost::shared_ptr<string> password;
245 boost::shared_ptr<string> groupId;
248 short int maxSpectators;
249 short int maxVariables;
250 boost::shared_ptr<vector<boost::shared_ptr<RoomVariable> > > variables;
251 boost::shared_ptr<RoomPermissions> permissions;
252 boost::shared_ptr<RoomEvents> events;
253 boost::shared_ptr<RoomExtension> extension;
254 bool allowOwnerOnlyInvitation;
Definition: BaseVariable.cpp:15
This class provides the Room settings that you can pass to a CreateRoomRequest
Definition: RoomSettings.h:60
Definition: SmartFox.cpp:24