EverambleGAME API / 1

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

NameTypeMeaning
actorActorRefThe player's body (it holds the inventory a choice may pay from).
Length: 1…256; Pattern: ^[\s\S]+$
choiceNameChosen choice.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
dialogueDialogueIdDialogue 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
nodeNameNode the choice belongs to.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
playerPlayerRefPlayer the event belongs to.
Length: 1…256; Pattern: ^[\s\S]+$
revisionCountSession revision the choice answered.
Range: 0…2147483647; Unit: count