Table of Contents

Class ConversationNodeArticyIDSelector

Namespace
SuzerainModdingKit.StoryFragments.Conversation.NodeSelectors
Assembly
SuzerainModdingKit.dll

Selects a conversation node by its Articy ID.

public class ConversationNodeArticyIDSelector : ConversationNodeSelector
Inheritance
ConversationNodeArticyIDSelector
Inherited Members

Constructors

ConversationNodeArticyIDSelector(string, string)

Creates a new instance of this class.

public ConversationNodeArticyIDSelector(string articyID, string conversationName = null)

Parameters

articyID string

The Articy ID of the node.

conversationName string

Optional: The name of the conversation to search for the node in. If null, searches the current conversation.

Exceptions

ArgumentNullException

Thrown if any required arguments are null.

Properties

ArticyID

The Articy ID of the node.

public string ArticyID { get; }

Property Value

string

ConversationName

Optional: The name of the conversation to search for the node in. If null, searches the current conversation.

public string ConversationName { get; }

Property Value

string

Methods

Resolve(Conversation)

Select the conversation node.

public override DialogueEntry Resolve(Conversation currentConversation)

Parameters

currentConversation Conversation

The current conversation.

Returns

DialogueEntry

The dialogue entry of the resolved node or null if it could not be found.

Exceptions

ArgumentNullException

May throw if required arguments are null.