Package | com.smartfoxserver.v2.entities.variables |
Class | public class MMOItemVariable |
Inheritance | MMOItemVariable BaseVariable Object |
Implements | IMMOItemVariable |
NOTE: MMOItem Variables behave exactly like User Variables and support the same data types, but they can be created, updated and deleted on the server side only.
See also
Method | Defined By | ||
---|---|---|---|
getBoolValue():Boolean
Retrieves the value of a boolean variable. | BaseVariable | ||
getDoubleValue():Number
Retrieves the value of a numeric variable. | BaseVariable | ||
getIntValue():int
Retrieves the value of an integer variable. | BaseVariable | ||
Retrieves the value of a SFSArray variable. | BaseVariable | ||
Retrieves the value of a SFSObject variable. | BaseVariable | ||
getStringValue():String
Retrieves the value of a string variable. | BaseVariable | ||
getValue():*
Retrieves the untyped value of this variable. | BaseVariable | ||
isNull():Boolean
Indicates if the variable is null. | BaseVariable | ||
toString():String
Returns a string that contains the MMOItem Variable name, type and value. | MMOItemVariable |