M&B: Bannerlord 1.2.9
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.DialogFlow Class Reference

Public Member Functions

DialogFlow Variation (string text, params object[] propertiesAndWeights)
 Add a variation for a dialog flow line.
 
DialogFlow Variation (TextObject text, params object[] propertiesAndWeights)
 
DialogFlow NpcLine (string npcText, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow NpcLine (TextObject npcText, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow NpcLineWithVariation (string npcText, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow NpcLineWithVariation (TextObject npcText, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow PlayerLine (string playerText, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow PlayerLine (TextObject playerText, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow BeginPlayerOptions ()
 
DialogFlow BeginNpcOptions ()
 
DialogFlow PlayerOption (string text, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow PlayerOption (TextObject text, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow PlayerSpecialOption (TextObject text, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow PlayerRepeatableOption (TextObject text, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow NpcOption (string text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow NpcOption (TextObject text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow NpcOptionWithVariation (string text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow NpcOptionWithVariation (TextObject text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
DialogFlow EndPlayerOptions ()
 
DialogFlow EndNpcOptions ()
 
DialogFlow Condition (ConversationSentence.OnConditionDelegate conditionDelegate)
 
DialogFlow ClickableCondition (ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate)
 
DialogFlow Consequence (ConversationSentence.OnConsequenceDelegate consequenceDelegate)
 
DialogFlow NpcDefaultOption (string text)
 
DialogFlow GotoDialogState (string input)
 
DialogFlow GetOutputToken (out string oState)
 
DialogFlow GoBackToDialogState (string iState)
 
DialogFlow CloseDialog ()
 
ConversationSentence AddPlayerLine (string id, string inputToken, string outputToken, string text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnConsequenceDelegate consequenceDelegate, Object relatedObject, int priority=ConversationSentence.DefaultPriority, ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate=null, ConversationSentence.OnPersuasionOptionDelegate persuasionOptionDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 
ConversationSentence AddDialogLine (string id, string inputToken, string outputToken, string text, ConversationSentence.OnConditionDelegate conditionDelegate, ConversationSentence.OnConsequenceDelegate consequenceDelegate, Object relatedObject, int priority=ConversationSentence.DefaultPriority, ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate=null, ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate=null)
 

Static Public Member Functions

static DialogFlow CreateDialogFlow (string inputToken=null, int priority=100)
 

Member Function Documentation

◆ Variation() [1/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.Variation ( string text,
params object[] propertiesAndWeights )
Parameters
textVariation line text.

///

Parameters
propertiesAndWeightsProperty and weight sequence for multiple entries.

◆ Variation() [2/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.Variation ( TextObject text,
params object[] propertiesAndWeights )

◆ NpcLine() [1/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcLine ( string npcText,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ NpcLine() [2/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcLine ( TextObject npcText,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ NpcLineWithVariation() [1/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcLineWithVariation ( string npcText,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ NpcLineWithVariation() [2/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcLineWithVariation ( TextObject npcText,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ PlayerLine() [1/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.PlayerLine ( string playerText,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ PlayerLine() [2/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.PlayerLine ( TextObject playerText,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ BeginPlayerOptions()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.BeginPlayerOptions ( )

◆ BeginNpcOptions()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.BeginNpcOptions ( )

◆ PlayerOption() [1/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.PlayerOption ( string text,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ PlayerOption() [2/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.PlayerOption ( TextObject text,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ PlayerSpecialOption()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.PlayerSpecialOption ( TextObject text,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ PlayerRepeatableOption()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.PlayerRepeatableOption ( TextObject text,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ NpcOption() [1/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcOption ( string text,
ConversationSentence.OnConditionDelegate conditionDelegate,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ NpcOption() [2/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcOption ( TextObject text,
ConversationSentence.OnConditionDelegate conditionDelegate,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ NpcOptionWithVariation() [1/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcOptionWithVariation ( string text,
ConversationSentence.OnConditionDelegate conditionDelegate,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ NpcOptionWithVariation() [2/2]

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcOptionWithVariation ( TextObject text,
ConversationSentence.OnConditionDelegate conditionDelegate,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ EndPlayerOptions()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.EndPlayerOptions ( )

◆ EndNpcOptions()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.EndNpcOptions ( )

◆ Condition()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.Condition ( ConversationSentence.OnConditionDelegate conditionDelegate)

◆ ClickableCondition()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.ClickableCondition ( ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate)

◆ Consequence()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.Consequence ( ConversationSentence.OnConsequenceDelegate consequenceDelegate)

◆ CreateDialogFlow()

static DialogFlow TaleWorlds.CampaignSystem.DialogFlow.CreateDialogFlow ( string inputToken = null,
int priority = 100 )
static

◆ NpcDefaultOption()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.NpcDefaultOption ( string text)

◆ GotoDialogState()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.GotoDialogState ( string input)

◆ GetOutputToken()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.GetOutputToken ( out string oState)

◆ GoBackToDialogState()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.GoBackToDialogState ( string iState)

◆ CloseDialog()

DialogFlow TaleWorlds.CampaignSystem.DialogFlow.CloseDialog ( )

◆ AddPlayerLine()

ConversationSentence TaleWorlds.CampaignSystem.DialogFlow.AddPlayerLine ( string id,
string inputToken,
string outputToken,
string text,
ConversationSentence.OnConditionDelegate conditionDelegate,
ConversationSentence.OnConsequenceDelegate consequenceDelegate,
Object relatedObject,
int priority = ConversationSentence::DefaultPriority,
ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate = null,
ConversationSentence.OnPersuasionOptionDelegate persuasionOptionDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )

◆ AddDialogLine()

ConversationSentence TaleWorlds.CampaignSystem.DialogFlow.AddDialogLine ( string id,
string inputToken,
string outputToken,
string text,
ConversationSentence.OnConditionDelegate conditionDelegate,
ConversationSentence.OnConsequenceDelegate consequenceDelegate,
Object relatedObject,
int priority = ConversationSentence::DefaultPriority,
ConversationSentence.OnClickableConditionDelegate clickableConditionDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate speakerDelegate = null,
ConversationSentence.OnMultipleConversationConsequenceDelegate listenerDelegate = null )