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
formatPlaybookFormatWhether a runtime can play this at all.
scriptstringThe script this was compiled from.
entryintWhere a playthrough begins by default.
anchorsImmutableSortedDictionary<string, int>Every scene's slug, by node index.
speakersImmutableArray<PlaybookSpeaker>Everybody who speaks here.
nodesImmutableArray<Node>The steps of a playthrough, each at its own index.
schemastringWhere an editor can find the schema, if the writer said.