Table of Contents

Class PlaybookSpeaker

Namespace
DialogueDown.Playbook.Speakers
Assembly
DialogueDown.Playbook.dll

Somebody who says lines, hoisted out of the lines that quote them.

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

Remarks

Hoisted out of the lines that quote them, so a host has one place to bind a portrait, a voice, or a color. Lines address a speaker by its index here, as every other reference in a playbook does; nothing about the speaker is invented to give them an address.

Constructors

PlaybookSpeaker(string?, string?, bool, ImmutableArray<SpeakerTag>)

Somebody who says lines, hoisted out of the lines that quote them.

Properties

Default

Gets a value indicating whether unattributed lines belong to this speaker.

Id

Gets the @id the writer gave them, or null if they gave none.

Name

Gets what the writer calls them, or null for the anonymous default.

Tags

Gets annotations a host may bind.

Methods

Equals(PlaybookSpeaker?)

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

GetHashCode()

Serves as the default hash function.