Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there. More...
#include <ai_event_types.hpp>
Public Member Functions | |
AIEventVehicleWaitingInDepot (VehicleID vehicle_id) | |
VehicleID | GetVehicleID () |
Get the VehicleID of the vehicle that is waiting in a depot. | |
Static Public Member Functions | |
static const char * | GetClassName () |
Get the name of this class to identify it towards squirrel. | |
static AIEventVehicleWaitingInDepot * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. | |
Private Attributes | |
VehicleID | vehicle_id |
Event VehicleWaitingInDepot, indicating a vehicle has arrived a depot and is now waiting there.
Definition at line 532 of file ai_event_types.hpp.
AIEventVehicleWaitingInDepot::AIEventVehicleWaitingInDepot | ( | VehicleID | vehicle_id | ) | [inline] |
vehicle_id | The vehicle that is waiting in a depot. |
Definition at line 540 of file ai_event_types.hpp.
static AIEventVehicleWaitingInDepot* AIEventVehicleWaitingInDepot::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
Definition at line 550 of file ai_event_types.hpp.
static const char* AIEventVehicleWaitingInDepot::GetClassName | ( | ) | [inline, static] |
Get the name of this class to identify it towards squirrel.
Reimplemented from AIEvent.
Definition at line 535 of file ai_event_types.hpp.
VehicleID AIEventVehicleWaitingInDepot::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the vehicle that is waiting in a depot.
Definition at line 556 of file ai_event_types.hpp.