989onan bot (talk | contribs) Automated: update SyncDelegates |
989onan bot (talk | contribs) Automated: update SyncDelegates |
||
Line 15: | Line 15: | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|RemovePressed[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |RemovePressed:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OpenInspectorButton[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OpenInspectorButton:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|OpenWorkerInspectorButton[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |OpenWorkerInspectorButton:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
|SetReference[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | |SetReference:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|true| | ||
}} | }} | ||
Revision as of 06:32, 17 March 2025
Component image 
Ref Editor component as seen in the Scene Inspector

This article or section is a Stub. You can help the Resonite Wiki by expanding it. A ref editor is used internally by inspectors to show the human readable name of any IWorldElement. Whenever you are looking at a field and see a text like "Enabled on ObjectRoot on ComponentHolder", that description is generated by this component. This can be used to identify fields in the process of Ref Hacking which is one of the Things to Avoid
Usage
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. |
_targetRef
|
direct RelayRef`1<ISyncRef> | The reference to generate a short description for |
_textDrive
|
field drive of String | The text to fill with the short description of _targetRef
|
_button
|
Button | The button that allows for setting the field of _targetRef when clicked.
|
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
RemovePressed:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OpenInspectorButton:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
OpenWorkerInspectorButton:ButtonEventHandler
|
ButtonEventHandler | ✓ | |
SetReference:ButtonEventHandler
|
ButtonEventHandler | ✓ |
Behavior
Button is not required for the _textDrive
to fill with the description of _targetRef
Examples
Used internally by inspectors.