GSStationList_CargoPlanned Class Reference

Creates a list of stations associated with cargo planned to pass a station. More...

Inheritance diagram for GSStationList_CargoPlanned:

GSStationList_Cargo GSList GSStationList_CargoPlannedByFrom GSStationList_CargoPlannedByVia GSStationList_CargoPlannedFromByVia GSStationList_CargoPlannedViaByFrom

Public Member Functions

 GSStationList_CargoPlanned (GSStationList_Cargo::CargoSelector selector, StationID station_id, CargoID cargo, StationID other_station)
 Creates a list of stations associated with cargo planned to pass the station, selected and grouped by the chosen criteria.

Detailed Description

Creates a list of stations associated with cargo planned to pass a station.

This is very generic. Use the subclasses for all practical purposes.


Constructor & Destructor Documentation

GSStationList_CargoPlanned::GSStationList_CargoPlanned ( GSStationList_Cargo::CargoSelector  selector,
StationID  station_id,
CargoID  cargo,
StationID  other_station 
)

Creates a list of stations associated with cargo planned to pass the station, selected and grouped by the chosen criteria.

Parameters:
selector Mode of grouping and selecting to be applied.
station_id Station to be queried.
cargo Cargo type to query for.
other_station Other station to restrict the query with.


Generated on Tue Jun 13 19:12:55 2017 for OpenTTD Game API by  doxygen 1.5.6