Component:InteractionHandlerPermissions: Difference between revisions

From Resonite Wiki
fix categories
Document nested type so descriptions won't get bulldozed
Line 19: Line 19:
The type in each list item corrisponds to a tool in the game. For example, FrooxEngine.ProtoFluxTool is a [[ProtoFlux Tool]]
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.
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 ==
{{stub}}
{{Table TypeFields
|Type|{{RootFieldType|SyncType}}|TypeAdv0=true| The full name of the tooltip's [[Types: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.
}}


<!--T:4-->
<!--T:4-->

Revision as of 20:53, 3 March 2024

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.
AllowOnlyWhitelistedTools Bool Whether only tools which are set to Allow are are allowed to be equipped.
TooltipRules SyncList<TooltipRule> List of ToolTipRules.
Type Type The full name of the tooltip's Types: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.

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 tooltip's Types: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