MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / sector

Method sector

source/core/StarSectorArray2D.hpp:203–205  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201
202template <typename ElementT, size_t SectorSize>
203auto SectorArray2D<ElementT, SectorSize>::sector(Sector const& id) -> Array * {
204 return m_sectors(id[0], id[1]).get();
205}
206
207template <typename ElementT, size_t SectorSize>
208auto SectorArray2D<ElementT, SectorSize>::sector(Sector const& id) const -> Array const * {

Callers 1

sectorArrayMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected