Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ id
Method
id
src/OpenLoco/src/World/CompanyManager.cpp:1472–1476 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1470
namespace OpenLoco
1471
{
1472
CompanyId Company::id() const
1473
{
1474
auto* first = &CompanyManager::rawCompanies()[0];
1475
return CompanyId(this - first);
1476
}
1477
}
Callers
6
updateMonthly1
Function · 0.45
createCompany
Function · 0.45
updatePlayerInfrastructureOptions
Function · 0.45
produceCompanies
Function · 0.45
competingColourMask
Function · 0.45
findAllOtherInUseCompetitors
Function · 0.45
Calls
1
CompanyId
Enum · 0.85
Tested by
no test coverage detected