PlayerTookPickupPayload
What playerTookPickup gets: the payload a handler receives.
Definition
Section titled “Definition”type PlayerTookPickupPayload = { player: PlayerSnapshot; pickup: Pickup };Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player. |
pickup |
Pickup |
The pickup they took. |
Related
Section titled “Related”playerTookPickup: the event