|
OpenTTD NoAI API
|
Event Vehicle Lost, indicating a vehicle can't find its way to its destination. More...
Public Member Functions | |
| AIEventVehicleLost (VehicleID vehicle_id) | |
| VehicleID | GetVehicleID () |
| Get the VehicleID of the vehicle that is lost. | |
Static Public Member Functions | |
| static AIEventVehicleLost * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Event Vehicle Lost, indicating a vehicle can't find its way to its destination.
| AIEventVehicleLost::AIEventVehicleLost | ( | VehicleID | vehicle_id | ) | [inline] |
| vehicle_id | The vehicle that is lost. |
| static AIEventVehicleLost* AIEventVehicleLost::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
| instance | The instance to convert. |
| VehicleID AIEventVehicleLost::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the vehicle that is lost.
1.7.3