|
OpenTTD NoAI API
|
Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there. More...
Public Member Functions | |
| AIEventVehicleWaitingInDepot (VehicleID vehicle_id) | |
| VehicleID | GetVehicleID () |
| Get the VehicleID of the vehicle that is waiting in a depot. | |
Static Public Member Functions | |
| static AIEventVehicleWaitingInDepot * | Convert (AIEvent *instance) |
| Convert an AIEvent to the real instance. | |
Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there.
| AIEventVehicleWaitingInDepot::AIEventVehicleWaitingInDepot | ( | VehicleID | vehicle_id | ) | [inline] |
| vehicle_id | The vehicle that is waiting in a depot. |
| static AIEventVehicleWaitingInDepot* AIEventVehicleWaitingInDepot::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
| instance | The instance to convert. |
| VehicleID AIEventVehicleWaitingInDepot::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the vehicle that is waiting in a depot.
1.7.5