#include <ai_event_types.hpp>
Public Member Functions | |
AIEventStationFirstVehicle (StationID station, VehicleID vehicle) | |
StationID | GetStationID () |
Get the StationID of the visited station. | |
VehicleID | GetVehicleID () |
Get the VehicleID of the first vehicle. | |
Static Public Member Functions | |
static const char * | GetClassName () |
static AIEventStationFirstVehicle * | Convert (AIEvent *instance) |
Convert an AIEvent to the real instance. | |
Private Attributes | |
StationID | station |
VehicleID | vehicle |
Definition at line 624 of file ai_event_types.hpp.
AIEventStationFirstVehicle::AIEventStationFirstVehicle | ( | StationID | station, | |
VehicleID | vehicle | |||
) | [inline] |
station | The station visited for the first time. | |
vehicle | The vehicle visiting the station. |
Definition at line 632 of file ai_event_types.hpp.
static AIEventStationFirstVehicle* AIEventStationFirstVehicle::Convert | ( | AIEvent * | instance | ) | [inline, static] |
Convert an AIEvent to the real instance.
instance | The instance to convert. |
Definition at line 643 of file ai_event_types.hpp.
StationID AIEventStationFirstVehicle::GetStationID | ( | ) | [inline] |
Get the StationID of the visited station.
Definition at line 649 of file ai_event_types.hpp.
VehicleID AIEventStationFirstVehicle::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the first vehicle.
Definition at line 655 of file ai_event_types.hpp.