CONTENT CONTRACT · VERSION 1
DialogueChoiceEvent
A player chose an offered choice of its active dialogue session.
Signature
{ actor: ActorRef, choice: Name, dialogue: DialogueId, kind: "dialogue_choice", node: Name, player: PlayerRef, revision: Count }Fields
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | The player's body (it holds the inventory a choice may pay from). Length: 1…256; Pattern: ^[\s\S]+$ |
choice | Name | Chosen choice. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
dialogue | DialogueId | Dialogue of the session. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: dialogue |
kind | "dialogue_choice" | Discriminant |
node | Name | Node the choice belongs to. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
player | PlayerRef | Player the event belongs to. Length: 1…256; Pattern: ^[\s\S]+$ |
revision | Count | Session revision the choice answered. Range: 0…2147483647; Unit: count |