C_Vehicle
namespaceavailable in: camelotStatus in wowlua
0 functions. 10 events, 3 of them fired by the emulator on its own.
Events
| event | payload | fired by the emulator |
|---|---|---|
PLAYER_GAINS_VEHICLE_DATA | unitTarget: string, vehicleUIIndicatorID: number | not implemented |
PLAYER_LOSES_VEHICLE_DATA | unitTarget: string | not implemented |
UNIT_ENTERED_VEHICLE | unitTarget: string, showVehicleFrame: boolean, isControlSeat: boolean, vehicleUIIndicatorID: number, vehicleGUID: string, mayChooseExit: boolean, hasPitch: boolean | not implemented |
UNIT_ENTERING_VEHICLE | unitTarget: string, showVehicleFrame: boolean, isControlSeat: boolean, vehicleUIIndicatorID: number, vehicleGUID: string, mayChooseExit: boolean, hasPitch: boolean | not implemented |
UNIT_EXITED_VEHICLE | unitTarget: string | not implemented |
UNIT_EXITING_VEHICLE | unitTarget: string | not implemented |
VEHICLE_ANGLE_SHOW | shouldShow: number? | implemented |
VEHICLE_PASSENGERS_CHANGED | no payload | not implemented |
VEHICLE_POWER_SHOW | shouldShow: number? | implemented |
VEHICLE_UPDATE | no payload | implemented |
An event the emulator doesn't fire on its own can still be fired from a test: mock.fireEvent("PLAYER_GAINS_VEHICLE_DATA").
sources
Signatures, events and structures: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (Vehicle system, camelot 1.60.1).