AIStationList_CargoPlannedViaByFrom Class Reference

Creates a list of origin stations of cargo planned to pass a station going via another station, with the monthly amounts of cargo planned for each of those origin stations as values. More...

Inheritance diagram for AIStationList_CargoPlannedViaByFrom:

AIStationList_CargoPlanned AIStationList_Cargo AIList

Public Member Functions

 AIStationList_CargoPlannedViaByFrom (StationID station_id, CargoID cargo, StationID via)

Detailed Description

Creates a list of origin stations of cargo planned to pass a station going via another station, with the monthly amounts of cargo planned for each of those origin stations as values.

Constructor & Destructor Documentation

AIStationList_CargoPlannedViaByFrom::AIStationList_CargoPlannedViaByFrom ( StationID  station_id,
CargoID  cargo,
StationID  via 
)

Parameters:
station_id Station to query for planned flows.
cargo Cargo type to query for.
via Next hop to restrict the query with.


Generated on Thu Jun 30 21:53:52 2016 for OpenTTD NoAI API by  doxygen 1.5.6