Table of Contents

Property Anchors

Namespace
DialogueDown.Playbook
Assembly
DialogueDown.Playbook.dll

Anchors

Gets every scene's slug, by node index — the targets a jump may name, and the named conversations a game may start at instead of the top.

[UnorderedEquality]
[JsonPropertyOrder(4)]
[JsonPropertyName("anchors")]
public ImmutableSortedDictionary<string, int> Anchors { get; }

Property Value

ImmutableSortedDictionary<string, int>

Remarks

Sorted, because a lookup table's order carries no meaning but a golden file needs one: sorting makes a playbook byte-identical however the writer happened to build it. Sorted ordinally, so that holds on any machine — the default comparer follows the current culture, which puts "a" before "B" in one place and after it in another.