|
OpenTTD NoAI API
|
Event Vehicle Unprofitable, indicating a vehicle lost money last year. More...
Public Member Functions | |
| AIEventVehicleUnprofitable (VehicleID vehicle_id) | |
| VehicleID | GetVehicleID () |
| Get the VehicleID of the vehicle that lost money. | |
Static Public Member Functions | |
| static AIEventVehicleUnprofitable * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Event Vehicle Unprofitable, indicating a vehicle lost money last year.
| AIEventVehicleUnprofitable::AIEventVehicleUnprofitable | ( | VehicleID | vehicle_id | ) | [inline] |
| vehicle_id | The vehicle that was unprofitable. |
| static AIEventVehicleUnprofitable* AIEventVehicleUnprofitable::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
| instance | The instance to convert. |
| VehicleID AIEventVehicleUnprofitable::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the vehicle that lost money.
1.7.5