Component:InteractionHandlerPermissions: Difference between revisions

From Resonite Wiki
fix categories
Automated: update Fields, Categories
 
(2 intermediate revisions by the same user not shown)
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.
|TooltipRules|SyncList`1|TypeString1=SyncList<TooltipRule>|List of ToolTipRules.
|ToolRules|{{RootFieldType|SyncList`1|[[#ToolRule|ToolRule]]}}|TypeAdv1=true|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.
}}
}}


Line 19: Line 16:
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 [[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.
}}


<!--T:4-->
<!--T:4-->
Line 27: Line 34:
== Related Components ==
== Related Components ==


[[Category:Components:Permissions]]
[[Category:Components:Permissions{{#translation:}}|Interaction Handler Permissions]]
[[Category:Components]]
[[Category:Components{{#translation:}}|Interaction Handler Permissions]]
[[Category:Components With Nested Types{{#translation:}}|Interaction Handler Permissions]]

Latest revision as of 20:55, 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.
ToolRules list of ToolRule List of ToolTipRules.

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 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