Click or drag to resize

MMOItemVariable Class

The MMOItemVariable object represents a SmartFoxServer MMOItem Variable entity on the client.
Inheritance Hierarchy
SystemObject
  Sfs2X.Entities.VariablesBaseVariable
    Sfs2X.Entities.VariablesMMOItemVariable

Namespace:  Sfs2X.Entities.Variables
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public class MMOItemVariable : BaseVariable, 
	IMMOItemVariable, Variable

The MMOItemVariable type exposes the following members.

Properties
  NameDescription
Public propertyName
Indicates the name of this variable.
(Inherited from BaseVariable.)
Public propertyType
Indicates the type of this variable.
(Inherited from BaseVariable.)
Public propertyValue
Returns the untyped value of this variable.
(Inherited from BaseVariable.)
Top
Methods
  NameDescription
Public methodGetBoolValue
Retrieves the value of a boolean variable.
(Inherited from BaseVariable.)
Public methodGetDoubleValue
Retrieves the value of a double precision variable.
(Inherited from BaseVariable.)
Public methodGetIntValue
Retrieves the value of an integer variable.
(Inherited from BaseVariable.)
Public methodGetSFSArrayValue
Retrieves the value of a SFSArray variable.
(Inherited from BaseVariable.)
Public methodGetSFSObjectValue
Retrieves the value of a SFSObject variable.
(Inherited from BaseVariable.)
Public methodGetStringValue
Retrieves the value of a string variable.
(Inherited from BaseVariable.)
Public methodIsNull
Indicates if the variable is null.
(Inherited from BaseVariable.)
Public methodToString
Returns a string that contains the MMOItem Variable name, type and value.
(Overrides ObjectToString.)
Top
Remarks
An MMOItem Variable is a custom value attached to an MMOItem object that gets automatically synchronized between client and server on every change, provided that the MMOItem is inside the Area of Interest of the current user in a MMORoom.

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