MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / updateProducedCargoStats

Function updateProducedCargoStats

src/OpenLoco/src/World/IndustryManager.cpp:561–567  ·  view source on GitHub ↗

0x004574E8

Source from the content-addressed store, hash-verified

559
560 // 0x004574E8
561 void updateProducedCargoStats()
562 {
563 for (auto& industry : industries())
564 {
565 industry.updateProducedCargoStats();
566 }
567 }
568
569 // 0x00454DBE
570 IndustryId allocateNewIndustry(const uint8_t type, const World::Pos2& pos, const Core::Prng& prng, const TownId nearbyTown)

Callers 1

updateFunction · 0.85

Calls 2

industriesFunction · 0.85

Tested by

no test coverage detected