Creates a list of cargos that the given station accepts. More...
#include <script_cargolist.hpp>
Public Member Functions | |
ScriptCargoList_StationAccepting (StationID station_id) |
Creates a list of cargos that the given station accepts.
ai
Definition at line 60 of file script_cargolist.hpp.
ScriptCargoList_StationAccepting::ScriptCargoList_StationAccepting | ( | StationID | station_id | ) |
station_id | The station to get the list of cargos it accepts from. |
Definition at line 54 of file script_cargolist.cpp.
References GoodsEntry::acceptance_pickup, ScriptList::AddItem(), GoodsEntry::GES_ACCEPTANCE, SpecializedStation< Station, false >::Get(), Station::goods, HasBit(), and ScriptStation::IsValidStation().