PoliceCarCapExceedRequestPayload
What policeCarCapExceedRequest gets: the payload a handler receives.
Renamed in 0.28 from PoliceCarCapPayload; see renamed names.
Definition
Section titled “Definition”type PoliceCarCapExceedRequestPayload = { player: PlayerSnapshot; unit: DispatchUnitProposal; currentCarCount: number; carCap: number; sharedWantedPlayerCount: number;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The wanted player whose game would send it. |
unit |
DispatchUnitProposal |
The car and its crew. |
currentCarCount |
number |
How many police cars chase these players now. |
carCap |
number |
The game’s limit. |
sharedWantedPlayerCount |
number |
How many other wanted players share this count. |
Related
Section titled “Related”policeCarCapExceedRequest: the decision