CONTENT CONTRACT · VERSION 1
zone_left
A player left a zone of the referenced map.
Signature
{ kind: "zone_left", map: MapRef, player: PlayerRef, zone: ZoneRef }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "zone_left" | Discriminant |
map | MapRef | Instantiated map in which this event occurs. Length: 1…256; Pattern: ^[\s\S]+$ |
player | PlayerRef | Player the event belongs to. Length: 1…256; Pattern: ^[\s\S]+$ |
zone | ZoneRef | Named map zone the player left. Length: 1…226; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}/[a-z][a-z0-9_]{0,95}$; Reference: map.zone |
Validated example
{
"kind": "zone_left",
"map": "m1",
"player": "p1",
"zone": "core:valley/meadow"
}