Table of Contents

Class CharacterNameSelector

Namespace
SuzerainModdingKit.Character
Assembly
SuzerainModdingKit.dll

Select a character by its name (eg. "Petr Vectern").

public class CharacterNameSelector : CharacterSelector
Inheritance
CharacterNameSelector
Inherited Members

Constructors

CharacterNameSelector(string)

Creates a new instance of this class.

public CharacterNameSelector(string characterName)

Parameters

characterName string

The name of the character (eg. "Petr Vectern").

Exceptions

ArgumentNullException

Thrown if any required arguments are null.

Properties

CharacterName

The name of the character (eg. "Petr Vectern").

public string CharacterName { get; }

Property Value

string

Methods

Resolve()

Select the character.

public override int? Resolve()

Returns

int?

The Dialogue System ID of the character or null if it could not be found.