| 102 | } |
| 103 | |
| 104 | std::span<const BuildingPartAnimation> DockObject::getBuildingPartAnimations() const |
| 105 | { |
| 106 | const auto* base = reinterpret_cast<const uint8_t*>(this); |
| 107 | const auto* ptr = reinterpret_cast<const BuildingPartAnimation*>(base + buildingPartAnimationsOffset); |
| 108 | return std::span<const BuildingPartAnimation>(ptr, numBuildingParts); |
| 109 | } |
| 110 | |
| 111 | std::span<const uint8_t> DockObject::getBuildingPartHeights() const |
| 112 | { |
no outgoing calls
no test coverage detected