Component:InteractionHandlerPermissions: Difference between revisions

From Resonite Wiki
Automated: update Fields, Categories
mNo edit summary
 
Line 9: Line 9:
{{Table ComponentFields
{{Table ComponentFields
|AllowOnlyWhitelistedTools|Bool|Whether only tools which are set to <code>Allow</code> are are allowed to be equipped.
|AllowOnlyWhitelistedTools|Bool|Whether only tools which are set to <code>Allow</code> are are allowed to be equipped.
|ToolRules|{{RootFieldType|SyncList`1|[[#ToolRule|ToolRule]]}}|TypeAdv1=true|List of ToolTipRules.
|ToolRules|{{RootFieldType|SyncList`1|[[#ToolRule|ToolRule]]}}|TypeAdv1=true|List of ToolRules.
}}
}}


Line 22: Line 22:


{{Table TypeFields
{{Table TypeFields
|Type|{{RootFieldType|SyncType}}|TypeAdv0=true| The full name of the tooltip's [[Type:Type]]
|Type|{{RootFieldType|SyncType}}|TypeAdv0=true| The full name of the tool's [[Type:Type]]
|IncludeDerived|Bool| Allow tools that fall under this classification IE: an interface.
|IncludeDerived|Bool| Allow tools that fall under this classification IE: an interface.
|Allow|Bool| Whether or not to allow usage of this tool by the selected roles.
|Allow|Bool| Whether or not to allow usage of this tool by the selected roles.

Latest revision as of 03:57, 18 February 2025

Component image 
Interaction Handler Permissions component as seen in the Scene Inspector


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.
AllowOnlyWhitelistedTools Bool Whether only tools which are set to Allow are are allowed to be equipped.
ToolRules list of ToolRule List of ToolRules.

Usage

The type in each list item corrisponds to a tool in the game. For example, FrooxEngine.ProtoFluxTool is a ProtoFlux Tool Type in the type's name, and you can choose to allow or deny that kind of tool from being used by the selected roles.

ToolRule

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


Fields
Name Type Description
Type direct SyncType The full name of the tool's Type:Type
IncludeDerived Bool Allow tools that fall under this classification IE: an interface.
Allow Bool Whether or not to allow usage of this tool by the selected roles.

Examples

used in the non-builder permissions under the roles in a new grid world.

Related Components