User Properties
Availability:
SmartFoxServer Basic / Pro
Description:
Each User is described by a propertylist. They are returned by different
methods and events of the API.
Below follows a list of available user properties:
Properties:
#id | the user Id <integer> | |
#name | the user name <String> | |
#playerId | the player Id (-1 if not in a game room) <integer> | |
#variables | a propertylist of all the user variables | |
#isSpectator | true if the user is set as spectator in the game |
Example:
This is an example of the properties found in a user propertylist:
[#id: 1.0000, #name: "SnakeEyes", #playerId: -1, #variables:[:], #isSpectator:false]