CONTENT CONTRACT · VERSION 1
ZoneEnteredEvent
A player entered a zone belonging to the referenced map.
Signature
{ kind: "zone_entered", map: MapRef, player: PlayerRef, zone: ZoneRef }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "zone_entered" | Discriminant |
map | MapRef | Instantiated map in which this position or event occurs. Length: 1…256; Pattern: ^[\s\S]+$ |
player | PlayerRef | Player instance whose state or inventory the invocation may access. Length: 1…256; Pattern: ^[\s\S]+$ |
zone | ZoneRef | Named map zone entered by the player. 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 |