Table of Contents

Constructor PlaybookDocument

Namespace
DialogueDown.Playbook
Assembly
DialogueDown.Playbook.dll

PlaybookDocument(PlaybookFormat, string, int, ImmutableSortedDictionary<string, int>, ImmutableArray<PlaybookSpeaker>, ImmutableArray<Node>, string?)

Initializes a new instance of the PlaybookDocument class.

[JsonConstructor]
public PlaybookDocument(PlaybookFormat format, string script, int entry, ImmutableSortedDictionary<string, int> anchors, ImmutableArray<PlaybookSpeaker> speakers, ImmutableArray<Node> nodes, string? schema = null)

Parameters

format PlaybookFormat

Whether a runtime can play this at all.

script string

The script this was compiled from.

entry int

Where a playthrough begins by default.

anchors ImmutableSortedDictionary<string, int>

Every scene's slug, by node index.

speakers ImmutableArray<PlaybookSpeaker>

Everybody who speaks here.

nodes ImmutableArray<Node>

The steps of a playthrough, each at its own index.

schema string

Where an editor can find the schema, if the writer said.