Event Vehicle Unprofitable, indicating a vehicle lost money last year. More...
#include <script_event_types.hpp>
Public Member Functions | |
ScriptEventVehicleUnprofitable (VehicleID vehicle_id) | |
VehicleID | GetVehicleID () |
Get the VehicleID of the vehicle that lost money. | |
Static Public Member Functions | |
static ScriptEventVehicleUnprofitable * | Convert (ScriptEvent *instance) |
Convert an ScriptEvent to the real instance. | |
Private Attributes | |
VehicleID | vehicle_id |
The vehicle that is unprofitable. |
Event Vehicle Unprofitable, indicating a vehicle lost money last year.
ai
Definition at line 547 of file script_event_types.hpp.
ScriptEventVehicleUnprofitable::ScriptEventVehicleUnprofitable | ( | VehicleID | vehicle_id | ) | [inline] |
vehicle_id | The vehicle that was unprofitable. |
Definition at line 552 of file script_event_types.hpp.
static ScriptEventVehicleUnprofitable* ScriptEventVehicleUnprofitable::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
instance | The instance to convert. |
Definition at line 562 of file script_event_types.hpp.
VehicleID ScriptEventVehicleUnprofitable::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the vehicle that lost money.
Definition at line 568 of file script_event_types.hpp.
References vehicle_id.