Change: [Script] ScriptVehicleList_Station accepts an optional VehicleType parameter (#14260)
This commit is contained in:
@@ -58,11 +58,25 @@ public:
|
||||
*/
|
||||
class ScriptVehicleList_Station : public ScriptList {
|
||||
public:
|
||||
#ifdef DOXYGEN_API
|
||||
/**
|
||||
* @param station_id The station to get the list of vehicles from, which have orders to it.
|
||||
* @pre ScriptBaseStation::IsValidBaseStation(station_id)
|
||||
*/
|
||||
ScriptVehicleList_Station(StationID station_id);
|
||||
|
||||
/**
|
||||
* @param station_id The station to get the list of vehicles from, which have orders to it.
|
||||
* @param vehicle_type The VehicleType to get the list of vehicles for.
|
||||
* @pre ScriptBaseStation::IsValidBaseStation(station_id)
|
||||
*/
|
||||
ScriptVehicleList_Station(StationID station_id, ScriptVehicle::VehicleType vehicle_type);
|
||||
#else
|
||||
/**
|
||||
* The constructor wrapper from Squirrel.
|
||||
*/
|
||||
ScriptVehicleList_Station(HSQUIRRELVM vm);
|
||||
#endif /* DOXYGEN_API */
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user