989onan bot (talk | contribs) Automated: update SyncDelegates |
add info |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
|Name=Proto Flux Output List Manager | |Name=Proto Flux Output List Manager | ||
}} | }} | ||
The '''ProtoFluxOutputListManager''' component is used to manage a list of outputs on a ProtoFlux visual. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Visual|'''[[Component:ProtoFluxNodeVisual|ProtoFluxNodeVisual]]'''|TypeAdv0=true| | |Visual|'''[[Component:ProtoFluxNodeVisual|ProtoFluxNodeVisual]]'''|TypeAdv0=true| The ProtoFlux visual this is a part of. | ||
|List|{{RootFieldType|RelayRef`1|[[Type:ISyncList|ISyncList]]}}|TypeAdv1=true| | |List|{{RootFieldType|RelayRef`1|[[Type:ISyncList|ISyncList]]}}|TypeAdv1=true| The list this is a visual for. | ||
|MinElements|Int| | |MinElements|Int| The minimum elements allowed for the list. | ||
|AddButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| | |AddButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv3=true| The enabled field of the add elements button. | ||
|RemoveButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| | |RemoveButtonEnabled|{{RootFieldType|FieldDrive`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| The enabled field of the remove elements button. | ||
|_elements|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv5=true| | |_elements|{{RootFieldType|SyncRefList`1|[[Type:Slot|Slot]]}}|TypeAdv5=true| A list of slots representing the UIX elements of the list of outputs. | ||
|OutputType|{{RootFieldType|SyncType}}|TypeAdv6=true| | |OutputType|{{RootFieldType|SyncType}}|TypeAdv6=true| The C# Type of the list of outputs for the list this is managing. | ||
}} | }} | ||
== Sync Delegates == | == Sync Delegates == | ||
{{Table ComponentTriggers | {{Table ComponentTriggers | ||
|AddElement:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|false| | |AddElement:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|false| Called when the add element button is touched. | ||
|RemoveElement:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|false| | |RemoveElement:[[Type:ButtonEventHandler|ButtonEventHandler]]|[[Type:ButtonEventHandler|ButtonEventHandler]]|false| Called when the remove element button is touched. | ||
}} | }} | ||
== | == Usage == | ||
== Examples == | == Examples == | ||
Line 30: | Line 30: | ||
[[Category:Components:Uncategorized{{#translation:}}|Proto Flux Output List Manager]] | [[Category:Components:Uncategorized{{#translation:}}|Proto Flux Output List Manager]] | ||
[[Category:Components{{#translation:}}|Proto Flux Output List Manager]] | [[Category:Components{{#translation:}}|Proto Flux Output List Manager]] | ||
Latest revision as of 02:15, 1 August 2025
Component image 
Proto Flux Output List Manager component as seen in the Scene Inspector

The ProtoFluxOutputListManager component is used to manage a list of outputs on a ProtoFlux visual.
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. |
Visual
|
ProtoFluxNodeVisual | The ProtoFlux visual this is a part of. |
List
|
direct RelayRef`1<ISyncList> | The list this is a visual for. |
MinElements
|
Int | The minimum elements allowed for the list. |
AddButtonEnabled
|
field drive of Bool | The enabled field of the add elements button. |
RemoveButtonEnabled
|
field drive of Bool | The enabled field of the remove elements button. |
_elements
|
list of Slot | A list of slots representing the UIX elements of the list of outputs. |
OutputType
|
direct SyncType | The C# Type of the list of outputs for the list this is managing. |
Sync Delegates
Method Name | Method type and Arguments. | Is the method hidden? | Description |
---|---|---|---|
AddElement:ButtonEventHandler
|
ButtonEventHandler | X | Called when the add element button is touched. |
RemoveElement:ButtonEventHandler
|
ButtonEventHandler | X | Called when the remove element button is touched. |