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

An interface which defines methods for conditional nodes, that is, nodes which output a boolean value based on a condition, and choose an output path to continue the dialogue flow based on that boolean value. More...

Inherited by EasyTalk.Nodes.Logic.CompareNumbersNode, EasyTalk.Nodes.Logic.CompareStringsNode, and EasyTalk.Nodes.Logic.LogicNode.

Public Member Functions

NodeConnection GetTrueOutput ()
 Returns the dialogue flow output connection for when the result of the node's condition is true.
 
NodeConnection GetFalseOutput ()
 Returns the dialogue flow output connection for when the result of the node's condition is false.
 
NodeConnection GetOutput (bool value)
 Returns the dialogue flow output which corresponds to the specified boolean value.
 

Detailed Description

An interface which defines methods for conditional nodes, that is, nodes which output a boolean value based on a condition, and choose an output path to continue the dialogue flow based on that boolean value.

Member Function Documentation

◆ GetFalseOutput()

NodeConnection EasyTalk.Nodes.Core.ConditionalNode.GetFalseOutput ( )

Returns the dialogue flow output connection for when the result of the node's condition is false.

Returns
The dialogue flow output connection for when the result of the node's condition is false.

Implemented in EasyTalk.Nodes.Logic.CompareNumbersNode, EasyTalk.Nodes.Logic.CompareStringsNode, and EasyTalk.Nodes.Logic.LogicNode.

◆ GetOutput()

NodeConnection EasyTalk.Nodes.Core.ConditionalNode.GetOutput ( bool value)

Returns the dialogue flow output which corresponds to the specified boolean value.

Parameters
valueThe value to retrieve a dialogue flow output for.
Returns
The dialogue flow output which corresponds to the specified boolean value.

Implemented in EasyTalk.Nodes.Logic.CompareNumbersNode, EasyTalk.Nodes.Logic.CompareStringsNode, and EasyTalk.Nodes.Logic.LogicNode.

◆ GetTrueOutput()

NodeConnection EasyTalk.Nodes.Core.ConditionalNode.GetTrueOutput ( )

Returns the dialogue flow output connection for when the result of the node's condition is true.

Returns
The dialogue flow output connection for when the result of the node's condition is true.

Implemented in EasyTalk.Nodes.Logic.CompareNumbersNode, EasyTalk.Nodes.Logic.CompareStringsNode, and EasyTalk.Nodes.Logic.LogicNode.