Creates a list of cargoes that the given station accepts. More...
#include <script_cargolist.hpp>
Public Member Functions | |
ScriptCargoList_StationAccepting (StationID station_id) |
Creates a list of cargoes that the given station accepts.
ai game
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 cargoes it accepts from. |
Definition at line 54 of file script_cargolist.cpp.
References ScriptList::AddItem(), GoodsEntry::GES_ACCEPTANCE, HasBit(), and ScriptStation::IsValidStation().