Class Condition
- Namespace
- DialogueDown.Playbook.Conditions
- Assembly
- DialogueDown.Playbook.dll
A question that decides whether a line plays, an option is offered, or a jump fires.
[JsonPolymorphic(TypeDiscriminatorPropertyName = "kind")]
[JsonDerivedType(typeof(KeyCondition), "key")]
public abstract record Condition : IEquatable<Condition>
- Inheritance
-
Condition
- Implements
- Derived
- Inherited Members
- Extension Methods
Remarks
A tagged object rather than a bare string, so negation and composition can be added as new kinds without changing what every existing condition looks like.