EasyTalk API
Loading...
Searching...
No Matches
EasyTalk.Nodes.Core.FunctionalNode Interface Reference

An interface which defines methods for nodes which output one or more values. More...

Inherited by EasyTalk.Nodes.Common.OptionModifierNode, EasyTalk.Nodes.Logic.BuildStringNode, EasyTalk.Nodes.Logic.CompareNumbersNode, EasyTalk.Nodes.Logic.CompareStringsNode, EasyTalk.Nodes.Logic.ConditionalValueNode, EasyTalk.Nodes.Logic.LogicNode, EasyTalk.Nodes.Logic.MathNode, EasyTalk.Nodes.Logic.TriggerScriptNode, EasyTalk.Nodes.Logic.ValueSelectorNode, EasyTalk.Nodes.Variable.GetVariableNode, EasyTalk.Nodes.Variable.SetVariableNode, and EasyTalk.Nodes.Variable.VariableNode.

Public Member Functions

void DetermineAndStoreValue (NodeHandler nodeHandler, Dictionary< int, object > nodeValues, GameObject convoOwner=null)
 Determines the value of this node and stores it in the provided Dictionary of node and connection IDs to values.
 
bool HasDependencies ()
 Returns whether the node is dependent on values coming into input connections.
 
List< int > GetDependencyOutputIDs ()
 Returns a List of IDs for output connections that this node is dependent on in order to evaluate itself and determine the value to store.
 

Detailed Description

An interface which defines methods for nodes which output one or more values.

Member Function Documentation

◆ DetermineAndStoreValue()

void EasyTalk.Nodes.Core.FunctionalNode.DetermineAndStoreValue ( NodeHandler nodeHandler,
Dictionary< int, object > nodeValues,
GameObject convoOwner = null )

Determines the value of this node and stores it in the provided Dictionary of node and connection IDs to values.

Parameters
nodeHandlerThe node handler being used.
nodeValuesA mapping between node or connection IDs and the values attributed to them.
convoOwnerThe GameObject which on which the dialogue logic is currently running.

Implemented in EasyTalk.Nodes.Common.OptionModifierNode, EasyTalk.Nodes.Logic.BuildStringNode, EasyTalk.Nodes.Logic.CompareNumbersNode, EasyTalk.Nodes.Logic.CompareStringsNode, EasyTalk.Nodes.Logic.ConditionalValueNode, EasyTalk.Nodes.Logic.LogicNode, EasyTalk.Nodes.Logic.MathNode, EasyTalk.Nodes.Logic.TriggerScriptNode, EasyTalk.Nodes.Logic.ValueSelectorNode, EasyTalk.Nodes.Variable.GetVariableNode, EasyTalk.Nodes.Variable.SetVariableNode, and EasyTalk.Nodes.Variable.VariableNode.

◆ GetDependencyOutputIDs()

List< int > EasyTalk.Nodes.Core.FunctionalNode.GetDependencyOutputIDs ( )

◆ HasDependencies()