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

Function getControllingId

src/OpenLoco/src/World/CompanyManager.cpp:178–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176 }
177
178 CompanyId getControllingId()
179 {
180 return rawPlayerCompanies()[0];
181 }
182
183 CompanyId getSecondaryPlayerId()
184 {

Callers 15

startFunction · 0.85
loadGameFunction · 0.85
quitGameFunction · 0.85
sub_431695Function · 0.85
updateDailyMethod · 0.85
updateMonthly1Method · 0.85
updateOwnerEmotionMethod · 0.85
updateCargoAcceptanceMethod · 0.85
applyPaymentToCompanyFunction · 0.85
getVehicleArgumentsFunction · 0.85
rightOverTrackFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected