Public Member Functions | Static Public Member Functions | Private Attributes

ScriptEventAircraftDestTooFar Class Reference

Event AircraftDestTooFar, indicating the next destination of an aircraft is too far away. More...

#include <script_event_types.hpp>

Inheritance diagram for ScriptEventAircraftDestTooFar:
ScriptEvent ScriptObject SimpleCountedObject

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.

Detailed Description

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 806 of file script_event_types.hpp.


Constructor & Destructor Documentation

ScriptEventAircraftDestTooFar::ScriptEventAircraftDestTooFar ( VehicleID  vehicle_id  )  [inline]
Parameters:
vehicle_id The aircraft whose destination is too far away.

Definition at line 811 of file script_event_types.hpp.


Member Function Documentation

static ScriptEventAircraftDestTooFar* ScriptEventAircraftDestTooFar::Convert ( ScriptEvent instance  )  [inline, static]

Convert an ScriptEvent to the real instance.

Parameters:
instance The instance to convert.
Returns:
The converted instance.

Definition at line 821 of file script_event_types.hpp.

VehicleID ScriptEventAircraftDestTooFar::GetVehicleID (  )  [inline]

Get the VehicleID of the aircraft whose destination is too far away.

Returns:
The VehicleID of the aircraft whose destination is too far away.

Definition at line 827 of file script_event_types.hpp.

References vehicle_id.


The documentation for this class was generated from the following file: