HelicopterCapExceedRequestPayload
What helicopterCapExceedRequest gets: the payload a handler receives.
Renamed in 0.28 from HelicopterCapPayload; see renamed names.
Definition
Section titled “Definition”type HelicopterCapExceedRequestPayload = { player: PlayerSnapshot; unit: DispatchUnitProposal; helicopterService: "police" | "news"; currentHelicopterCount: number; helicopterCap: number;};Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerSnapshot |
The player whose game would send it. |
unit |
DispatchUnitProposal |
The helicopter and its crew. |
helicopterService |
"police" | "news" |
A police Maverick or a news helicopter. |
currentHelicopterCount |
number |
How many fly now. |
helicopterCap |
number |
The game’s limit. |
Related
Section titled “Related”helicopterCapExceedRequest: the decision