Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenLoco/OpenLoco
/ getCarCount
Method
getCarCount
src/OpenLoco/src/Vehicles/VehicleHead.cpp:791–795 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
789
}
790
791
uint32_t VehicleHead::getCarCount() const
792
{
793
Vehicle train(head);
794
return static_cast<uint32_t>(train.cars.size());
795
}
796
797
// 0x004B8FA2
798
// esi : self
Callers
2
needsComponentChangeConfirm
Function · 0.80
draw
Function · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected