20 #include "../Util/Common.h" 21 #include "Variables/UserVariable.h" 22 #include "Managers/IUserManager.h" 24 #include "Data/Vec3D.h" 26 #include <boost/shared_ptr.hpp> 33 #pragma warning(disable:4786) // STL library: disable warning 4786; this warning is generated due to a Microsoft bug 62 virtual long int Id() = 0;
67 virtual boost::shared_ptr<string> Name() = 0;
83 virtual long int PlayerId() = 0;
92 virtual bool IsPlayer() = 0;
101 virtual bool IsSpectator() = 0;
116 virtual long int GetPlayerId (boost::shared_ptr<Room> room) = 0;
118 virtual void SetPlayerId(
long int id, boost::shared_ptr<Room> room) = 0;
120 virtual void RemovePlayerId(boost::shared_ptr<Room> room) = 0;
126 virtual long int PrivilegeId() = 0;
132 virtual void PrivilegeId(
long int value) = 0;
138 virtual boost::shared_ptr<IUserManager> UserManager() = 0;
144 virtual void UserManager(boost::shared_ptr<IUserManager> value) = 0;
154 virtual bool IsGuest() = 0;
162 virtual bool IsStandardUser() = 0;
170 virtual bool IsModerator() = 0;
178 virtual bool IsAdmin() = 0;
190 virtual bool IsPlayerInRoom(boost::shared_ptr<Room> room) = 0;
201 virtual bool IsSpectatorInRoom(boost::shared_ptr<Room> room) = 0;
212 virtual bool IsJoinedInRoom(boost::shared_ptr<Room> room) = 0;
217 virtual bool IsItMe() = 0;
226 virtual boost::shared_ptr<vector<boost::shared_ptr<UserVariable> > > GetVariables() = 0;
238 virtual boost::shared_ptr<UserVariable> GetVariable(
string varName) = 0;
240 virtual void SetVariable(boost::shared_ptr<UserVariable> userVariable) = 0;
242 virtual void SetVariables(boost::shared_ptr<vector<boost::shared_ptr<UserVariable> > > userVaribles) = 0;
254 virtual bool ContainsVariable(
string name) = 0;
262 virtual boost::shared_ptr<map<string, boost::shared_ptr<void> > > Properties() = 0;
270 virtual void Properties(boost::shared_ptr<map<
string, boost::shared_ptr<void> > > value) = 0;
283 virtual boost::shared_ptr<Vec3D> AOIEntryPoint() = 0;
296 virtual void AOIEntryPoint(boost::shared_ptr<Vec3D>value) = 0;
Definition: IBuddyManager.h:32
The User interface defines all the methods and properties that an object representing a SmartFoxServe...
Definition: User.h:55
Definition: BaseVariable.cpp:15
Definition: SmartFox.cpp:24
Definition: ISFSArray.h:17