Event Station First Vehicle, indicating a station has been visited by a vehicle for the first time. More...
#include <script_event_types.hpp>
Public Member Functions | |
| ScriptEventStationFirstVehicle (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 ScriptEventStationFirstVehicle * | Convert (ScriptEvent *instance) |
| Convert an ScriptEvent to the real instance. | |
Private Attributes | |
| StationID | station |
| The station the vehicle arived at. | |
| VehicleID | vehicle |
| The vehicle that arrived at the station. | |
Event Station First Vehicle, indicating a station has been visited by a vehicle for the first time.
ai game
Definition at line 671 of file script_event_types.hpp.
| ScriptEventStationFirstVehicle::ScriptEventStationFirstVehicle | ( | StationID | station, | |
| VehicleID | vehicle | |||
| ) | [inline] |
| station | The station visited for the first time. | |
| vehicle | The vehicle visiting the station. |
Definition at line 677 of file script_event_types.hpp.
| static ScriptEventStationFirstVehicle* ScriptEventStationFirstVehicle::Convert | ( | ScriptEvent * | instance | ) | [inline, static] |
Convert an ScriptEvent to the real instance.
| instance | The instance to convert. |
Definition at line 688 of file script_event_types.hpp.
| StationID ScriptEventStationFirstVehicle::GetStationID | ( | ) | [inline] |
Get the StationID of the visited station.
Definition at line 694 of file script_event_types.hpp.
References station.
| VehicleID ScriptEventStationFirstVehicle::GetVehicleID | ( | ) | [inline] |
Get the VehicleID of the first vehicle.
Definition at line 700 of file script_event_types.hpp.
References vehicle.
1.7.1