Public Member Functions | |
AIEventAircraftDestTooFar (VehicleID vehicle_id) | |
VehicleID | GetVehicleID () |
Get the VehicleID of the aircraft whose destination is too far away. | |
Static Public Member Functions | |
static AIEventAircraftDestTooFar * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. |
This event can be trigger when the current oder of an aircraft changes, usually either when loading is done or when switch manually.
AIEventAircraftDestTooFar::AIEventAircraftDestTooFar | ( | VehicleID | vehicle_id | ) |
vehicle_id | The aircraft whose destination is too far away. |
static AIEventAircraftDestTooFar* AIEventAircraftDestTooFar::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
VehicleID AIEventAircraftDestTooFar::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the aircraft whose destination is too far away.