new UserProperties()

Developers never istantiate the UserProperties class: only use its static properties.

Properties

constant static

IS_IN_ANY_ROOM  string

The user joined at least one Room.

Requires a BoolMatch instance to be used for values comparison.

See also
MatchExpression
BoolMatch
SFSUser#isJoinedInRoom
constant static

IS_NPC  string

The user is a Non-Player Character (NPC).

Requires a BoolMatch instance to be used for values comparison.

See also
MatchExpression
BoolMatch
constant static

IS_PLAYER  string

The user is a player in a Game Room.

Requires a BoolMatch instance to be used for values comparison.

See also
MatchExpression
BoolMatch
SFSUser#isPlayer
SFSUser#isPlayerInRoom
constant static

IS_SPECTATOR  string

The user is a spectator in a Game Room.

Requires a BoolMatch instance to be used for values comparison.

See also
MatchExpression
BoolMatch
SFSUser#isSpectator
SFSUser#isSpectatorInRoom
constant static

NAME  string

The Room name.

Requires a StringMatch instance to be used for values comparison.

See also
MatchExpression
StringMatch
SFSUser#name
constant static

PRIVILEGE_ID  string

The user privilege id.

Requires a NumberMatch instance to be used for values comparison.

See also
MatchExpression
NumberMatch
SFSUser#privilegeId