MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / ScriptIndustryList_CargoAccepting

Method ScriptIndustryList_CargoAccepting

src/script/api/script_industrylist.cpp:21–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19}
20
21ScriptIndustryList_CargoAccepting::ScriptIndustryList_CargoAccepting(CargoType cargo_type)
22{
23 ScriptList::FillList<Industry>(this,
24 [cargo_type](const Industry *i) { return i->IsCargoAccepted(cargo_type); }
25 );
26}
27
28ScriptIndustryList_CargoProducing::ScriptIndustryList_CargoProducing(CargoType cargo_type)
29{

Callers

nothing calls this directly

Calls 1

IsCargoAcceptedMethod · 0.45

Tested by

no test coverage detected