AIStationList_CargoWaiting Class Reference

Creates a list of stations associated with cargo waiting at a station. More...

Inheritance diagram for AIStationList_CargoWaiting:

AIStationList_Cargo AIList AIStationList_CargoWaitingByFrom AIStationList_CargoWaitingByVia AIStationList_CargoWaitingFromByVia AIStationList_CargoWaitingViaByFrom

Public Member Functions

 AIStationList_CargoWaiting (AIStationList_Cargo::CargoSelector selector, StationID station_id, CargoID cargo, StationID other_station)
 Creates a list of stations associated with waiting cargo, selected and grouped by the chosen criteria.

Detailed Description

Creates a list of stations associated with cargo waiting at a station.

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


Constructor & Destructor Documentation

AIStationList_CargoWaiting::AIStationList_CargoWaiting ( AIStationList_Cargo::CargoSelector  selector,
StationID  station_id,
CargoID  cargo,
StationID  other_station 
)

Creates a list of stations associated with waiting cargo, 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