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

Method getBuildingPartHeights

src/OpenLoco/src/Objects/DockObject.cpp:111–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109 }
110
111 std::span<const uint8_t> DockObject::getBuildingPartHeights() const
112 {
113 const auto* base = reinterpret_cast<const uint8_t*>(this);
114 return std::span<const std::uint8_t>(base + partHeightsOffset, numBuildingParts);
115 }
116
117}

Callers 14

sub_42CEBFFunction · 0.45
generateNewBuildingArgsFunction · 0.45
updateMethod · 0.45
updateMethod · 0.45
paintBuildingBuildingFunction · 0.45
paintIndustryBuildingFunction · 0.45
paintAirportBuildingFunction · 0.45
paintAirportFunction · 0.45
paintDocksBuildingFunction · 0.45
createBuildingFunction · 0.45
createBuildingFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected