CONTENT CONTRACT · VERSION 1
dialogue_started
A dialogue session of a player with an NPC started.
Signature
{ actor: ActorRef, dialogue: DialogueId, instance: OpaqueRef, kind: "dialogue_started", npc: ActorRef, player: PlayerRef }Fields
| Name | Type | Meaning |
|---|---|---|
actor | ActorRef | The player's body (gifts, an escort's leader). Length: 1…256; Pattern: ^[\s\S]+$ |
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 |
instance | OpaqueRef | Host-assigned identity of this dialogue or cutscene session. Length: 1…256; Pattern: ^[\s\S]+$ |
kind | "dialogue_started" | Discriminant |
npc | ActorRef | NPC the player talks to. Length: 1…256; Pattern: ^[\s\S]+$ |
player | PlayerRef | Player the event belongs to. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"actor": "a1",
"dialogue": "reference:guide_greeting",
"instance": "dialogue/1",
"kind": "dialogue_started",
"npc": "a2",
"player": "p1"
}