AIStationList_CargoWaitingViaByFrom Class Reference

Creates a list of origin stations of cargo waiting at a station for a transfer via another station, with the amounts of cargo waiting from each of those origin stations as values. More...

Inheritance diagram for AIStationList_CargoWaitingViaByFrom:

AIStationList_CargoWaiting AIStationList_Cargo AIList

Public Member Functions

 AIStationList_CargoWaitingViaByFrom (StationID station_id, CargoID cargo, StationID via)

Detailed Description

Creates a list of origin stations of cargo waiting at a station for a transfer via another station, with the amounts of cargo waiting from each of those origin stations as values.

Constructor & Destructor Documentation

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

Parameters:
station_id Station to query for waiting cargo.
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