![]() |
EasyTalk API
|
The NodeConnection class is used to define a connection point (an input or output) for a node. More...
Public Member Functions | |
NodeConnection () | |
Creates a new NodeConnection. | |
NodeConnection (int ownerId, InputOutputType connectionType) | |
Creates a new NodeConnection of the specified type. | |
bool | IsDialogueFlowConnection () |
Returns true if the connection is a dialogue flow type connection, which includes the DIALGOUE_FLOW, DIALOGUE_TRUE_FLOW, and DIALOGUE_FALSE_FLOW types. | |
Protected Attributes | |
int | id = NodeUtils.NextID() |
The ID of the connection. | |
List< int > | attachedIds = new List<int>() |
A List of IDs for connections which are attached to this connection. | |
int | ownerId = NodeUtils.NextID() |
The ID of the node this connection belongs to. | |
InputOutputType | connectionType = InputOutputType.ANY |
The type of the connection. | |
Properties | |
int | ID [get, set] |
Gets or sets the ID of the connection. | |
List< int > | AttachedIDs [get, set] |
Gets or sets the List of IDs for connections which are attached to this connection. | |
int | OwnerID [get, set] |
Gets or sets the ID of the node this connection belongs to. | |
InputOutputType | ConnectionType [get, set] |
Gets or sets the connection type for the connection. | |
string | ConnectionTypeString [get, set] |
Gets or sets the connection type for the connection from a string. | |
The NodeConnection class is used to define a connection point (an input or output) for a node.
EasyTalk.Nodes.Core.NodeConnection.NodeConnection | ( | ) |
Creates a new NodeConnection.
EasyTalk.Nodes.Core.NodeConnection.NodeConnection | ( | int | ownerId, |
InputOutputType | connectionType ) |
Creates a new NodeConnection of the specified type.
ownerId | The ID of the node which this connection belongs to. |
connectionType | The type of the node connection. |
bool EasyTalk.Nodes.Core.NodeConnection.IsDialogueFlowConnection | ( | ) |
Returns true if the connection is a dialogue flow type connection, which includes the DIALGOUE_FLOW, DIALOGUE_TRUE_FLOW, and DIALOGUE_FALSE_FLOW types.
|
protected |
A List of IDs for connections which are attached to this connection.
|
protected |
The type of the connection.
|
protected |
The ID of the connection.
|
protected |
The ID of the node this connection belongs to.
|
getset |
Gets or sets the List of IDs for connections which are attached to this connection.
|
getset |
Gets or sets the connection type for the connection.
|
getset |
Gets or sets the connection type for the connection from a string.
|
getset |
Gets or sets the ID of the connection.
|
getset |
Gets or sets the ID of the node this connection belongs to.