Skip to content

HelicopterCapExceedRequestPayload

What helicopterCapExceedRequest gets: the payload a handler receives.

Renamed in 0.28 from HelicopterCapPayload; see renamed names.

type HelicopterCapExceedRequestPayload = {
player: PlayerSnapshot; unit: DispatchUnitProposal; helicopterService: "police" | "news"; currentHelicopterCount: number; helicopterCap: number;
};
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.