11 #ifndef __MMOItemVariable__ 12 #define __MMOItemVariable__ 14 #include "../../Util/Common.h" 15 #include "BaseVariable.h" 16 #include "IMMOItemVariable.h" 43 static boost::shared_ptr<IMMOItemVariable> FromSFSArray(boost::shared_ptr<ISFSArray> sfsa);
46 MMOItemVariable(
string name, boost::shared_ptr<void> val,
long int type);
62 virtual boost::shared_ptr<string> Name();
65 virtual VariableType Type();
68 virtual boost::shared_ptr<void> Value();
71 virtual boost::shared_ptr<bool> GetBoolValue();
74 virtual boost::shared_ptr<long int> GetIntValue();
77 virtual boost::shared_ptr<double> GetDoubleValue();
80 virtual boost::shared_ptr<string> GetStringValue();
83 virtual boost::shared_ptr<ISFSObject> GetSFSObjectValue();
86 virtual boost::shared_ptr<ISFSArray> GetSFSArrayValue();
89 virtual bool IsNull();
91 virtual boost::shared_ptr<ISFSArray> ToSFSArray();
100 boost::shared_ptr<string> ToString();
The BaseVariable object is the base class for all SmartFoxServer Variable entities on the client...
Definition: BaseVariable.h:47
The IMMOItemVariable interface defines all the public methods and properties that an object represent...
Definition: IMMOItemVariable.h:30
The MMOItemVariable object represents a SmartFoxServer MMOItem Variable entity on the client...
Definition: MMOItemVariable.h:34
Definition: SmartFox.cpp:24