Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there. More...
#include <script_event_types.hpp>
Public Member Functions | |
ScriptEventVehicleWaitingInDepot (VehicleID vehicle_id) | |
VehicleID | GetVehicleID () |
Get the VehicleID of the vehicle that is waiting in a depot. | |
Static Public Member Functions | |
static ScriptEventVehicleWaitingInDepot * | Convert (ScriptEvent *instance) |
Convert an ScriptEvent to the real instance. | |
Private Attributes | |
VehicleID | vehicle_id |
The vehicle that is waiting in the depot. |
Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there.
ai
Definition at line 516 of file script_event_types.hpp.
ScriptEventVehicleWaitingInDepot::ScriptEventVehicleWaitingInDepot | ( | VehicleID | vehicle_id | ) | [inline] |
vehicle_id | The vehicle that is waiting in a depot. |
Definition at line 521 of file script_event_types.hpp.
static ScriptEventVehicleWaitingInDepot* ScriptEventVehicleWaitingInDepot::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
instance | The instance to convert. |
Definition at line 531 of file script_event_types.hpp.
VehicleID ScriptEventVehicleWaitingInDepot::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the vehicle that is waiting in a depot.
Definition at line 537 of file script_event_types.hpp.
References vehicle_id.