Click or drag to resize

BuddyVariable Interface

The BuddyVariable interface defines all the public methods and properties that an object representing a SmartFoxServer Buddy Variable exposes.

Namespace:  Sfs2X.Entities.Variables
Assembly:  SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax
C#
public interface BuddyVariable : Variable

The BuddyVariable type exposes the following members.

Properties
  NameDescription
Public propertyIsOffline
Indicates whether the Buddy Variable is persistent or not.
Public propertyName
Indicates the name of this variable.
(Inherited from Variable.)
Public propertyType
Indicates the type of this variable.
(Inherited from Variable.)
Public propertyValue
Returns the untyped value of this variable.
(Inherited from Variable.)
Top
Methods
  NameDescription
Public methodGetBoolValue
Retrieves the value of a boolean variable.
(Inherited from Variable.)
Public methodGetDoubleValue
Retrieves the value of a double precision variable.
(Inherited from Variable.)
Public methodGetIntValue
Retrieves the value of an integer variable.
(Inherited from Variable.)
Public methodGetSFSArrayValue
Retrieves the value of a SFSArray variable.
(Inherited from Variable.)
Public methodGetSFSObjectValue
Retrieves the value of a SFSObject variable.
(Inherited from Variable.)
Public methodGetStringValue
Retrieves the value of a string variable.
(Inherited from Variable.)
Public methodIsNull
Indicates if the variable is null.
(Inherited from Variable.)
Top
Remarks
In the SmartFoxServer 2X client API this interface is implemented by the SFSBuddyVariable class. Read the class description for additional informations.
See Also