Public Member Functions

ScriptCargoList_StationAccepting Class Reference
[Classes that create a list of items.]

Creates a list of cargos that the given station accepts. More...

#include <script_cargolist.hpp>

Inheritance diagram for ScriptCargoList_StationAccepting:
ScriptList ScriptObject SimpleCountedObject

Public Member Functions

 ScriptCargoList_StationAccepting (StationID station_id)

Detailed Description

Creates a list of cargos that the given station accepts.

ai

Definition at line 60 of file script_cargolist.hpp.


Constructor & Destructor Documentation

ScriptCargoList_StationAccepting::ScriptCargoList_StationAccepting ( StationID  station_id  ) 
Parameters:
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().


The documentation for this class was generated from the following files: