Component:SessionPermissionController

From Resonite Wiki
This is a userspace component — you cannot attach it anywhere but the userspace. Messing with the userspace can be fun, but it is not recommended as you risk messing your dash up if you don't 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