The client-side User document which extends the common BaseUser model. Each User document contains UserData which defines its data schema.
Track whether the user is currently active in the game
Track references to the current set of Tokens which are targeted by the User
Track the ID of the Scene that is currently being viewed by the User
A flag for whether the current User is a Trusted Player
A flag for whether this User is the connected client
Assign a specific boolean permission to this user. Modifies the user permissions to grant or restrict access to a feature.
The permission name from USER_PERMISSIONS
Whether to allow or restrict the permission
Submit User activity data to the server for broadcast to other players. This type of data is transient, persisting only for the duration of the session and not saved to any database.
An object of User activity data to submit to the server for broadcast.
Get an Array of Macro Documents on this User's Hotbar by page
The hotbar page number
Update the set of Token targets for the user given an array of provided Token ids.
An array of Token ids which represents the new target set