MCPcopy 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

drawFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected