PlayerCarjackRequestPayload
What playerCarjackRequest gets: the payload a handler receives.
Renamed in 0.28 from JackRequestPayload; see renamed names.
Definition
Section titled “Definition”type PlayerCarjackRequestPayload = { player: PlayerSnapshot; driver: PlayerSnapshot | null; vehicleId: number;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player at the door. |
driver |
PlayerSnapshot or null |
The driver. |
vehicleId |
number |
The vehicle. |
Related
Section titled “Related”playerCarjackRequest: the decision