Skip to content

EmergencyServiceDispatchRequestPayload

What emergencyServiceDispatchRequest gets: the payload a handler receives.

Renamed in 0.28 from EmergencyDispatchPayload; see renamed names.

type EmergencyServiceDispatchRequestPayload = { player: PlayerSnapshot; unit: DispatchUnitProposal; service: "fire" | "ambulance" };
Field Type Description
player PlayerSnapshot The player whose game sends it.
unit DispatchUnitProposal The vehicle and its crew.
service "fire" | "ambulance" A fire truck (model 407) or an ambulance (416).