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

Function openByType

src/OpenLoco/src/Ui/Windows/BuildVehicle.cpp:452–455  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

450 }
451
452 Window* openByType(VehicleType vehicleType)
453 {
454 return open(enumValue(vehicleType), true);
455 }
456
457 Window* openByVehicleObjectId(uint16_t vehicleObjectId)
458 {

Callers 3

openByVehicleObjectIdFunction · 0.85
buildNewVehiclesFunction · 0.85

Calls 2

enumValueFunction · 0.85
openFunction · 0.70

Tested by

no test coverage detected