Component:SessionPermissionController

From Resonite Wiki
Revision as of 17:23, 8 April 2025 by 989onan (talk | contribs) (add info)
This is a Userspace component — It has reduced or no functionality outside of userspace but it can be attached to objects in a normal world. Changing components in userspace is not recommended and may break functionality of your dashboard. Proceed with caution even if you know what you're doing.
Component image 
File:SessionPermissionControllerComponent.png
Session Permission Controller component as seen in the Scene Inspector

The SessionPermissionController component is used to change the roles or view the roles of a specific user in the current session.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
_name Text The text element showing the name of the user this belongs to.
_rolesButtons list of Button A list of button elements used to assign the user this belongs to to a role.

Sync Delegates

Triggers
Method Name Method type and Arguments. Is the method hidden? Description
SetRole:ButtonEventHandler`1<Int> ButtonEventHandler`1<Int> Called when one of the _rolesButtons are touched.

Usage

Not to be used directly by the user.

Examples

Is used in the session tab in the dash.

See Also