Table of Contents

Namespace DialogueDown.Playbook.Speech

Classes

CustomCommandFragment

A named command with arguments, which the host binds and performs.

CustomCommandFragment.EqualityComparer

An equality comparer for the enclosing type that uses the generated equality semantics.

DefaultCommandFragment

A command written as a plain phrase, which the host performs however it chooses.

FragmentKinds

The kind values that tag a speech fragment on the wire.

ImageFragment

An image, carrying the speech that describes it.

ImageFragment.EqualityComparer

An equality comparer for the enclosing type that uses the generated equality semantics.

LineBreakFragment

A break within a line — a hard wrap the writer asked for.

LinkFragment

A link, carrying the speech that stands in for it.

LinkFragment.EqualityComparer

An equality comparer for the enclosing type that uses the generated equality semantics.

QueryFragment

A read of game state spliced into speech — the runner resolves it before the line is said.

SpeechFragment

One piece of what a line says. Speech is a list of these rather than a string, because a host renders it: Godot as BBCode, the report as HTML, a terminal as ANSI.

SpeechSegment

A run of words, and the command that comes after them.

SpeechSegment.EqualityComparer

An equality comparer for the enclosing type that uses the generated equality semantics.

SpeechTemplate

Reads a run of speech as words with holes in it, where the queries are the holes.

SpeechText

Reads a run of speech as one line of plain text: the words, with the styling, the nesting, and the markup left behind.

StyledTextFragment

Emphasis wrapping more speech — the recursive case of the fragment union.

StyledTextFragment.EqualityComparer

An equality comparer for the enclosing type that uses the generated equality semantics.

TagFragment

An annotation attached at a point in a line, for a host to recognize or act on.

TextFragment

Plain words, exactly as the writer typed them.

Enums

SpeechStyle

How a run of speech is emphasized.