ProtoFlux:Add (Collection)
More actions
The Add node takes in a Collection and an element for that collection. This node, when called, will add the element to the end of the list.
Known compatible collection types: SyncRefList, SyncFieldList, and SyncArray.
Known incompatible collection types: IReadOnlyList and any dictionary types (see the AddKey node for dictionaries).
Acquiring This Node
In the ProtoFlux Node Browser, this node can be found under the Collections category.

There are two type fields: TCollection and TValue. TCollection needs the full type of the collection (e.g. SyncRefList<Slot>), and TValue needs the type that the list is of (e.g. Slot).
This node can be safely type converted when connecting when neither element nor collection have an input.
Inputs
* (Call)
Calls an impulse to add an element to the collection, at the end of the list.
Element (Generic)
The element to add to the referenced collection.
Collection (IList)
The collection to add the element to.
Outputs
OnAdded (Continuation)
Fires when successfully adding the element to the end of the list.
OnFail (Continuation)
Fires when unable to add the element to the collection.