VehicleRadioStationChangeRequestPayload
What vehicleRadioStationChangeRequest gets: the payload a handler receives.
Renamed in 0.28 from VehicleRadioChangePayload; see renamed names.
Definition
Section titled “Definition”type VehicleRadioStationChangeRequestPayload = { player: PlayerInVehicle; fromStation: RadioStation; toStation: RadioStation };Fields
Section titled “Fields”| Field | Type | Description |
|---|---|---|
player |
PlayerInVehicle |
The occupant asking; vehicleId is the car and seat theirs (0 the driver). |
fromStation |
RadioStation (see Stations) |
The car’s station now. |
toStation |
RadioStation |
The station they want. |
Related
Section titled “Related”vehicleRadioStationChangeRequest: the decision