Enum SpeechStyle
- Namespace
- DialogueDown.Playbook.Speech
- Assembly
- DialogueDown.Playbook.dll
How a run of speech is emphasized.
[JsonConverter(typeof(SpeechStyleConverter))]
public enum SpeechStyle
Fields
Bold = 1Strong emphasis, written with double asterisks or underscores.
Italic = 0Emphasis, written with single asterisks or underscores.
Strikethrough = 2Struck-through text, written with double tildes.
Remarks
Each member's wire name is pinned explicitly, for the reason a property carries a JsonPropertyNameAttribute: the value is a public contract, and deriving it from the C# member name would let a rename change the format silently. The names live in DialogueDown.Playbook.Speech.SpeechStyleConverter, which keeps them off every target's package list.