AIStationList_CargoPlannedFromByVia Class Reference

Creates a list of next hops of cargo planned to pass a station and originating from another station, with the monthly amounts of cargo planned for each of those next hops as values. More...

Inheritance diagram for AIStationList_CargoPlannedFromByVia:

AIStationList_CargoPlanned AIStationList_Cargo AIList

Public Member Functions

 AIStationList_CargoPlannedFromByVia (StationID station_id, CargoID cargo, StationID from)

Detailed Description

Creates a list of next hops of cargo planned to pass a station and originating from another station, with the monthly amounts of cargo planned for each of those next hops as values.

Cargo planned to go "via" the station being queried will actually be delivered there.


Constructor & Destructor Documentation

AIStationList_CargoPlannedFromByVia::AIStationList_CargoPlannedFromByVia ( StationID  station_id,
CargoID  cargo,
StationID  from 
)

Parameters:
station_id Station to query for planned flows.
cargo Cargo type to query for.
from Origin station to restrict the query with.


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