PlayerAreaPayload
What playerEnteredArea and playerLeftArea
get: the payload a handler receives.
Definition
Section titled “Definition”type PlayerAreaPayload = { player: PlayerSnapshot; area: Area };Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player. |
area |
Area |
The area, from areas.create. Its old name zone still works, with a warning. |
Related
Section titled “Related”playerEnteredAreaandplayerLeftArea: the events