Packagecom.smartfoxserver.v2.entities.match
Classpublic class UserProperties
InheritanceUserProperties Inheritance Object

The UserProperties class contains the names of predefined properties that can be used in matching expressions to search/filter users.

See also

MatchExpression
User


Public Constants
 ConstantDefined By
  IS_IN_ANY_ROOM : String = ${IAR}
[static] The user joined at least one Room.
UserProperties
  IS_NPC : String = ${ISN}
[static] The user is a Non-Player Character (NPC).
UserProperties
  IS_PLAYER : String = ${ISP}
[static] The user is a player in a Game Room.
UserProperties
  IS_SPECTATOR : String = ${ISS}
[static] The user is a spectator in a Game Room.
UserProperties
  NAME : String = ${N}
[static] The user name.
UserProperties
  PRIVILEGE_ID : String = ${PRID}
[static] The user privilege id.
UserProperties
Constant Detail
IS_IN_ANY_ROOMConstant
public static const IS_IN_ANY_ROOM:String = ${IAR}

The user joined at least one Room. Requires a BoolMatcher to be used for values comparison.

IS_NPCConstant 
public static const IS_NPC:String = ${ISN}

The user is a Non-Player Character (NPC). Requires a BoolMatcher to be used for values comparison.

IS_PLAYERConstant 
public static const IS_PLAYER:String = ${ISP}

The user is a player in a Game Room. Requires a BoolMatcher to be used for values comparison.

IS_SPECTATORConstant 
public static const IS_SPECTATOR:String = ${ISS}

The user is a spectator in a Game Room. Requires a BoolMatcher to be used for values comparison.

NAMEConstant 
public static const NAME:String = ${N}

The user name. Requires a StringMatcher to be used for values comparison.

PRIVILEGE_IDConstant 
public static const PRIVILEGE_ID:String = ${PRID}

The user privilege id. Requires a NumberMatcher to be used for values comparison.