Public Member Functions | Static Public Member Functions | Private Attributes

ScriptEventVehicleWaitingInDepot Class Reference

Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there. More...

#include <script_event_types.hpp>

Inheritance diagram for ScriptEventVehicleWaitingInDepot:
ScriptEvent ScriptObject SimpleCountedObject

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.

Detailed Description

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.


Constructor & Destructor Documentation

ScriptEventVehicleWaitingInDepot::ScriptEventVehicleWaitingInDepot ( VehicleID  vehicle_id  )  [inline]
Parameters:
vehicle_id The vehicle that is waiting in a depot.

Definition at line 521 of file script_event_types.hpp.


Member Function Documentation

static ScriptEventVehicleWaitingInDepot* ScriptEventVehicleWaitingInDepot::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 531 of file script_event_types.hpp.

VehicleID ScriptEventVehicleWaitingInDepot::GetVehicleID (  )  [inline]

Get the VehicleID of the vehicle that is waiting in a depot.

Returns:
The VehicleID of the vehicle that is waiting in a depot.

Definition at line 537 of file script_event_types.hpp.

References vehicle_id.


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