PixelCrushers.DialogueSystem.Link Class Reference

A link from one DialogueEntry (the origin) to another (the destination). More...

Public Member Functions

 Link ()
 Initializes a new Link.
 
 Link (ChatMapper.Link chatMapperLink)
 Initializes a new Link copied from a Chat Mapper link.
 
 Link (Link sourceLink)
 Copy constructor.
 
 Link (int originConversationID, int originDialogueID, int destinationConversationID, int destinationDialogueID)
 Initializes a new Link.
 

Public Attributes

int originConversationID = 0
 The origin conversation ID.
 
int originDialogueID = 0
 The origin dialogue ID.
 
int destinationConversationID = 0
 The destination conversation ID.
 
int destinationDialogueID = 0
 The destination dialogue ID.
 
bool isConnector = false
 When true, specifies that the link crosses conversations.
 
ConditionPriority priority = ConditionPriority.Normal
 The priority of the link.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Link() [1/4]

PixelCrushers.DialogueSystem.Link.Link ( )
inline

Initializes a new Link.

◆ Link() [2/4]

PixelCrushers.DialogueSystem.Link.Link ( ChatMapper::Link  chatMapperLink)
inline

Initializes a new Link copied from a Chat Mapper link.

Parameters
chatMapperLinkThe Chat Mapper link.

◆ Link() [3/4]

PixelCrushers.DialogueSystem.Link.Link ( Link  sourceLink)
inline

Copy constructor.

Parameters
sourceLinkSource link.

◆ Link() [4/4]

PixelCrushers.DialogueSystem.Link.Link ( int  originConversationID,
int  originDialogueID,
int  destinationConversationID,
int  destinationDialogueID 
)
inline

Initializes a new Link.

Parameters
originConversationIDOrigin conversation ID.
originDialogueIDOrigin dialogue ID.
destinationConversationIDDestination conversation ID.
destinationDialogueIDDestination dialogue ID.

Member Data Documentation

◆ destinationConversationID

int PixelCrushers.DialogueSystem.Link.destinationConversationID = 0

The destination conversation ID.

◆ destinationDialogueID

int PixelCrushers.DialogueSystem.Link.destinationDialogueID = 0

The destination dialogue ID.

◆ isConnector

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.

◆ originConversationID

int PixelCrushers.DialogueSystem.Link.originConversationID = 0

The origin conversation ID.

◆ originDialogueID

int PixelCrushers.DialogueSystem.Link.originDialogueID = 0

The origin dialogue ID.

◆ priority

ConditionPriority PixelCrushers.DialogueSystem.Link.priority = ConditionPriority.Normal

The priority of the link.

Higher priority links are evaluated first.


The documentation for this class was generated from the following file: