#include <ai_event_types.hpp>
Public Member Functions | |
AIEventVehicleUnprofitable (VehicleID vehicle_id) | |
VehicleID | GetVehicleID () |
Get the VehicleID of the vehicle that lost money. | |
Static Public Member Functions | |
static const char * | GetClassName () |
static AIEventVehicleUnprofitable * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. | |
Private Attributes | |
VehicleID | vehicle_id |
Definition at line 497 of file ai_event_types.hpp.
AIEventVehicleUnprofitable::AIEventVehicleUnprofitable | ( | VehicleID | vehicle_id | ) | [inline] |
vehicle_id | The vehicle that was unprofitable. |
Definition at line 504 of file ai_event_types.hpp.
static AIEventVehicleUnprofitable* AIEventVehicleUnprofitable::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
Definition at line 514 of file ai_event_types.hpp.
VehicleID AIEventVehicleUnprofitable::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the vehicle that lost money.
Definition at line 520 of file ai_event_types.hpp.