Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getIndustry
Method
getIndustry
src/OpenLoco/src/World/Station.cpp:193–196 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
191
}
192
193
IndustryId getIndustry(const uint8_t cargo) const
194
{
195
return _industry[cargo];
196
}
197
198
void setIndustry(const uint8_t cargo, const IndustryId id)
199
{
Callers
3
updateCargoAcceptance
Method · 0.80
addTileToStation
Function · 0.80
removeTileFromStationAndRecalcCargo
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected