Table of Contents

Class ConfiguredSpeaker

Namespace
DialogueDown.Configuration
Assembly
DialogueDown.dll

A speaker supplied by configuration rather than declared in a script: a display name, an optional stable id, and its tags partitioned into immutable custom and reserved sequences. It is plain data, validated and partitioned at the configuration edge; the semantic stage turns it into a speaker declaration to bind alongside the script's own speakers. A speaker is the default when its ReservedTags include the default reserved tag.

[Equatable]
public sealed record ConfiguredSpeaker : IEquatable<ConfiguredSpeaker>
Inheritance
ConfiguredSpeaker
Implements
Inherited Members

Constructors

ConfiguredSpeaker(string, string?, IEnumerable<ConfiguredTag>, IEnumerable<ConfiguredTag>)

Creates an immutable snapshot of a configured speaker and its tag sequences.

Properties

CustomTags

The custom tags in configured order.

Id

The optional stable id the script references as @id.

Name

The speaker's display name.

ReservedTags

The reserved tags in configured order.

Methods

Deconstruct(out string, out string?, out ImmutableArray<ConfiguredTag>, out ImmutableArray<ConfiguredTag>)

Deconstructs the speaker into the same four parts as the original positional record.

Equals(ConfiguredSpeaker?)

Indicates whether the current object is equal to another object of the same type.

GetHashCode()

Serves as the default hash function.