Automated: update Categories, SyncDelegates |
Automated: update Replace |
||
Line 37: | Line 37: | ||
[[Category:Components{{#translation:}}|Callback Ref Argument`1]] | [[Category:Components{{#translation:}}|Callback Ref Argument`1]] | ||
[[Category:Generic Components{{#translation:}}|Callback Ref Argument`1]] | [[Category:Generic Components{{#translation:}}|Callback Ref Argument`1]] | ||
[[Category: | [[Category:ComponentStubs]] | ||
[[Category:Components:Uncategorized{{#translation:}}|Callback Ref Argument`1]] | [[Category:Components:Uncategorized{{#translation:}}|Callback Ref Argument`1]] |
Revision as of 21:06, 6 November 2024
This article or section is a Stub. You can help the Resonite Wiki by expanding it.
Component image
Similar to CallbackValueArgument but instead of a value it's a reference for an action.
There are some Sync Delegates in the game that match this component's requirements, but not many.
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. |
Reference
|
A | The reference to give Callback when Call() or CallAndDestroy() is called.
|
Callback
|
Action`1<A> | The Sync Delegate to call and provide Reference to.
|
Sync Delegates
Method Name | Method type and Arguments. | Description |
---|---|---|
Call()
|
Action | |
CallAndDestroy()
|
Action |
Usage
Examples
Can be used to call a Action`1<T> (an action that takes a reference type) and give it Reference
as an argument.