Package sfs3.client.entities.variables
Interface UserVariable
- All Superinterfaces:
Variable
- All Known Implementing Classes:
SFSUserVariable
The UserVariable interface defines all the public methods and properties that an object representing a SmartFoxServer User Variable exposes.
In the SmartFoxServer 3 client API this interface is implemented by the SFSUserVariable class. Read the class description for additional informations.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether this User Variable is private or not.voidsetPrivate(boolean value) Methods inherited from interface sfs3.client.entities.variables.Variable
getBoolValue, getByteValue, getDoubleValue, getFloatValue, getIntValue, getLongValue, getName, getSFSArrayValue, getSFSObjectValue, getSFSVector2Value, getSFSVector3Value, getShortValue, getStringValue, getType, getValue, isNull, toSFSArray
-
Method Details
-
isPrivate
boolean isPrivate()Indicates whether this User Variable is private or not.A private User Variable is visible only to its owner; any changes made to the variable will be transmitted to the owner only.
NOTE: setting the private property manually on an existing User Variable returned by the API has no effect on the server and can disrupt the API functioning. This flag can be set when the User Variable object is created by the developer only (using the new keyword).
- Returns:
- whether or not the variable is private
-
setPrivate
void setPrivate(boolean value) - Internal
-