Event AircraftDestTooFar, indicating the next destination of an aircraft is too far away. More...
#include <script_event_types.hpp>
Public Member Functions | |
ScriptEventAircraftDestTooFar (VehicleID vehicle_id) | |
VehicleID | GetVehicleID () |
Get the VehicleID of the aircraft whose destination is too far away. | |
Static Public Member Functions | |
static ScriptEventAircraftDestTooFar * | Convert (ScriptEvent *instance) |
Convert an ScriptEvent to the real instance. | |
Private Attributes | |
VehicleID | vehicle_id |
The vehicle aircraft whose destination is too far away. |
Event AircraftDestTooFar, indicating the next destination of an aircraft is too far away.
This event can be trigger when the current oder of an aircraft changes, usually either when loading is done or when switch manually. ai
Definition at line 805 of file script_event_types.hpp.
ScriptEventAircraftDestTooFar::ScriptEventAircraftDestTooFar | ( | VehicleID | vehicle_id | ) | [inline] |
vehicle_id | The aircraft whose destination is too far away. |
Definition at line 810 of file script_event_types.hpp.
static ScriptEventAircraftDestTooFar* ScriptEventAircraftDestTooFar::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
instance | The instance to convert. |
Definition at line 820 of file script_event_types.hpp.
VehicleID ScriptEventAircraftDestTooFar::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the aircraft whose destination is too far away.
Definition at line 826 of file script_event_types.hpp.
References vehicle_id.