Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getObject
Method
getObject
src/OpenLoco/src/World/Industry.cpp:48–51 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
46
}
47
48
const IndustryObject* Industry::getObject() const
49
{
50
return ObjectManager::get<IndustryObject>(objectId);
51
}
52
53
bool Industry::empty() const
54
{
Callers
15
post
Function · 0.45
createMapAnimations
Method · 0.45
updateVehicleColours
Method · 0.45
setHeadquartersVariation
Method · 0.45
doCalcAcceptedCargo
Function · 0.45
canCargoTypeBeProducedInWorld
Function · 0.45
industryNearPosition
Function · 0.45
generateTargetIndustries
Function · 0.45
generateTargetIndustriesWater
Function · 0.45
generateTargetMixedIndustries
Function · 0.45
generateTargetMixedIndustriesWater
Function · 0.45
generateTargetMixedIndustriesAir
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected