PlayerCheckpointPayload
What playerEnteredCheckpoint and
playerLeftCheckpoint get: the payload a handler receives.
Definition
Section titled “Definition”type PlayerCheckpointPayload = { player: PlayerSnapshot; checkpoint: Checkpoint };Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player. |
checkpoint |
Checkpoint |
The checkpoint, from checkpoints.create. |
Related
Section titled “Related”playerEnteredCheckpointandplayerLeftCheckpoint: the events