DialogSetConverter class

DialogSet converter that implements Converter.

Constructors

DialogSetConverter(ResourceExplorer)

Initializes a new instance of the DialogSetConverter class.

Methods

convert(string[] | Dialog[] | DialogSet)

Converts an array of dialog or dialog name to a DialogSet instance.

Constructor Details

DialogSetConverter(ResourceExplorer)

Initializes a new instance of the DialogSetConverter class.

new DialogSetConverter(_resourceExplorer: ResourceExplorer)

Parameters

_resourceExplorer

ResourceExplorer

Resource explorer to use for resolving references.

Method Details

convert(string[] | Dialog[] | DialogSet)

Converts an array of dialog or dialog name to a DialogSet instance.

function convert(value: string[] | Dialog[] | DialogSet): DialogSet

Parameters

value

string[] | Dialog[] | DialogSet

An array of dialog or dialog name.

Returns

DialogSet

A new DialogSet instance.