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

Method getMovementEdges

src/OpenLoco/src/Objects/AirportObject.cpp:181–186  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

179 }
180
181 std::span<const AirportObject::MovementEdge> AirportObject::getMovementEdges() const
182 {
183 const auto* base = reinterpret_cast<const uint8_t*>(this);
184 const auto* ptr = reinterpret_cast<const MovementEdge*>(base + movementEdgesOffset);
185 return std::span<const MovementEdge>(ptr, numMovementEdges);
186 }
187
188}

Callers 5

tryPlaceAirVehicleFunction · 0.80
airplaneGetNewStatusMethod · 0.80
vehiclePlaceAirFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected