AIStationList_CargoPlanned Class Reference

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

Inheritance diagram for AIStationList_CargoPlanned:

AIStationList_Cargo AIList AIStationList_CargoPlannedByFrom AIStationList_CargoPlannedByVia AIStationList_CargoPlannedFromByVia AIStationList_CargoPlannedViaByFrom

Public Member Functions

 AIStationList_CargoPlanned (AIStationList_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

AIStationList_CargoPlanned::AIStationList_CargoPlanned ( AIStationList_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 Thu Jun 30 21:53:52 2016 for OpenTTD NoAI API by  doxygen 1.5.6