A link from one DialogueEntry (the origin) to another (the destination). More...
Public Member Functions | |
Link () | |
Initializes a new Link. More... | |
Link (ChatMapper.Link chatMapperLink) | |
Initializes a new Link copied from a Chat Mapper link. More... | |
Link (Link sourceLink) | |
Copy constructor. More... | |
Link (int originConversationID, int originDialogueID, int destinationConversationID, int destinationDialogueID) | |
Initializes a new Link. More... | |
Public Attributes | |
int | originConversationID = 0 |
The origin conversation ID. More... | |
int | originDialogueID = 0 |
The origin dialogue ID. More... | |
int | destinationConversationID = 0 |
The destination conversation ID. More... | |
int | destinationDialogueID = 0 |
The destination dialogue ID. More... | |
bool | isConnector = false |
When true , specifies that the link crosses conversations. More... | |
ConditionPriority | priority = ConditionPriority.Normal |
The priority of the link. More... | |
A link from one DialogueEntry (the origin) to another (the destination).
Every dialogue entry has a list of outgoing links. Note that links can cross into different conversations. A link holds the origin conversation and dialogue entry, and the destination conversation and dialogue entry.
PixelCrushers.DialogueSystem.Link.Link | ( | ) |
Initializes a new Link.
PixelCrushers.DialogueSystem.Link.Link | ( | ChatMapper.Link | chatMapperLink | ) |
Initializes a new Link copied from a Chat Mapper link.
chatMapperLink | The Chat Mapper link. |
PixelCrushers.DialogueSystem.Link.Link | ( | Link | sourceLink | ) |
Copy constructor.
sourceLink | Source link. |
PixelCrushers.DialogueSystem.Link.Link | ( | int | originConversationID, |
int | originDialogueID, | ||
int | destinationConversationID, | ||
int | destinationDialogueID | ||
) |
Initializes a new Link.
originConversationID | Origin conversation ID. |
originDialogueID | Origin dialogue ID. |
destinationConversationID | Destination conversation ID. |
destinationDialogueID | Destination dialogue ID. |
int PixelCrushers.DialogueSystem.Link.destinationConversationID = 0 |
The destination conversation ID.
int PixelCrushers.DialogueSystem.Link.destinationDialogueID = 0 |
The destination dialogue ID.
bool PixelCrushers.DialogueSystem.Link.isConnector = false |
When true
, specifies that the link crosses conversations.
This field comes from Chat Mapper but is currently unused in the dialogue system because the same information is contained the conversation IDs.
int PixelCrushers.DialogueSystem.Link.originConversationID = 0 |
The origin conversation ID.
int PixelCrushers.DialogueSystem.Link.originDialogueID = 0 |
The origin dialogue ID.
ConditionPriority PixelCrushers.DialogueSystem.Link.priority = ConditionPriority.Normal |
The priority of the link.
Higher priority links are evaluated first.