#include <ai_cargolist.hpp>
Public Member Functions | |
AICargoList_IndustryProducing (IndustryID industry_id) | |
Static Public Member Functions | |
static const char * | GetClassName () |
Definition at line 45 of file ai_cargolist.hpp.
AICargoList_IndustryProducing::AICargoList_IndustryProducing | ( | IndustryID | industry_id | ) |
industry_id | The industry to get the list of cargos it produces from. |
Definition at line 38 of file ai_cargolist.cpp.
References AIAbstractList::AddItem(), CT_INVALID, Pool< Titem, Tindex, Tgrowth_step, Tmax_size, Tcache, Tzero >::PoolItem< Tpool >::Get(), AIIndustry::IsValidIndustry(), lengthof, and Industry::produced_cargo.