ProtoFlux:AddKey
From Resonite Wiki
More actions
AddKey
Collections
The AddKey node takes in a SyncRefDictionary, a key, and a value, then attempts to add the KeyValuePair into the dictionary.
Inputs
* (Call)
Calls an impulse to add a KeyValuePair into the Dictionary.
Dictionary (SyncRefDictionary)
The Dictionary to add the KeyValuePair.
Key (Generic)
The key to reference the value.
Value (Generic)
The value that will be paired with the key.
Outputs
OnAdded (Continuation)
Fires if successful when adding a unique KeyValuePair to the Dictionary.
OnAlreadyExists (Continuation)
Fires if there is already and existing KeyValuePair in the Dictionary.
OnFail (Continuation)
Fires if unable to add the KeyValuePair to the Dictionary.
Examples
[TODO]