Table of Contents

Class ConversationStartNodeSelector

Namespace
SuzerainModdingKit.StoryFragments.Conversation.NodeSelectors
Assembly
SuzerainModdingKit.dll
public class ConversationStartNodeSelector : ConversationNodeSelector
Inheritance
ConversationStartNodeSelector
Inherited Members

Constructors

ConversationStartNodeSelector(string)

Creates a new instance of this class.

public ConversationStartNodeSelector(string conversationName = null)

Parameters

conversationName string

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

Properties

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.