PixelCrushers.DialogueSystem.LinkTools Class Reference

A static tool class for working with links (see Link). More...

Classes

class  PrioritySorter
 Compares the ConditionPriority values of two Link assets. More...
 

Static Public Member Functions

static void SortOutgoingLinks (DialogueDatabase database, Conversation conversation)
 Sorts the outgoing links in a Conversation by ConditionPriority. More...
 
static void SortOutgoingLinks (DialogueDatabase database, DialogueEntry dialogueEntry)
 Sorts the outgoing links in a DialogueEntry by ConditionPriority. More...
 
static bool IsPassthroughOnFalse (DialogueEntry entry)
 Returns whether the DialogueEntry passes through to evaluate children when its condition is false. More...
 

Detailed Description

A static tool class for working with links (see Link).

Member Function Documentation

◆ IsPassthroughOnFalse()

static bool PixelCrushers.DialogueSystem.LinkTools.IsPassthroughOnFalse ( DialogueEntry  entry)
static

Returns whether the DialogueEntry passes through to evaluate children when its condition is false.

Returns
true if this instance is passthrough on false; otherwise, false.
Parameters
entryThe DialogueEntry to check.

◆ SortOutgoingLinks() [1/2]

static void PixelCrushers.DialogueSystem.LinkTools.SortOutgoingLinks ( DialogueDatabase  database,
Conversation  conversation 
)
static

Sorts the outgoing links in a Conversation by ConditionPriority.

Parameters
databaseThe dialogue database. Since links can span different conversations, this method needs access to the entire database of all conversations.
conversationThe conversation to sort.

◆ SortOutgoingLinks() [2/2]

static void PixelCrushers.DialogueSystem.LinkTools.SortOutgoingLinks ( DialogueDatabase  database,
DialogueEntry  dialogueEntry 
)
static

Sorts the outgoing links in a DialogueEntry by ConditionPriority.

Parameters
databaseThe dialogue database. Since links can span different conversations, this method needs access to the entire database of all conversations.
dialogueEntryThe dialogue entry to sort.

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