11 #ifndef __SFSGameSettings__ 12 #define __SFSGameSettings__ 14 #include "../../Util/Common.h" 15 #include "../BaseRequest.h" 16 #include "../RoomSettings.h" 17 #include "../../Entities/Room.h" 18 #include "../../Entities/Data/ISFSObject.h" 19 #include "../../Entities/Match/MatchExpression.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 114 void IsPublic(
bool value);
119 long int MinPlayersToStartGame();
124 void MinPlayersToStartGame(
long int value);
129 boost::shared_ptr<list<boost::shared_ptr<User> > > InvitedPlayersUser();
134 void InvitedPlayersUser(boost::shared_ptr<list<boost::shared_ptr<User> > > value);
139 boost::shared_ptr<list<boost::shared_ptr<Buddy> > > InvitedPlayersBuddy();
144 void InvitedPlayersBuddy(boost::shared_ptr<list<boost::shared_ptr<Buddy> > > value);
149 boost::shared_ptr<list<string> > SearchableRooms();
154 void SearchableRooms(boost::shared_ptr<list<string> > value);
162 long int InvitationExpiryTime();
170 void InvitationExpiryTime(
long int value);
175 bool LeaveLastJoinedRoom();
180 void LeaveLastJoinedRoom(
bool value);
190 bool NotifyGameStarted();
200 void NotifyGameStarted(
bool value);
209 boost::shared_ptr<MatchExpression> PlayerMatchExpression();
218 void PlayerMatchExpression(boost::shared_ptr<MatchExpression> value);
224 boost::shared_ptr<MatchExpression> SpectatorMatchExpression();
230 void SpectatorMatchExpression(boost::shared_ptr<MatchExpression> value);
235 boost::shared_ptr<ISFSObject> InvitationParams();
240 void InvitationParams(boost::shared_ptr<ISFSObject> value);
266 long int minPlayersToStartGame;
267 boost::shared_ptr<list<boost::shared_ptr<User> > > invitedPlayersUser;
268 boost::shared_ptr<list<boost::shared_ptr<Buddy> > > invitedPlayersBuddy;
269 boost::shared_ptr<list<string> > searchableRooms;
270 boost::shared_ptr<MatchExpression> playerMatchExpression;
271 boost::shared_ptr<MatchExpression> spectatorMatchExpression;
272 long int invitationExpiryTime;
273 bool leaveJoinedLastRoom;
274 bool notifyGameStarted;
275 boost::shared_ptr<ISFSObject> invitationParams;
Definition: BoolMatch.cpp:15
This class provides all the settings required to create an SFSGame(*).
Definition: SFSGameSettings.h:96
This class provides the Room settings that you can pass to a CreateRoomRequest
Definition: RoomSettings.h:60
Definition: SmartFox.cpp:24
Definition: ISFSArray.h:17