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

Method loadDefaultSector

source/game/StarTileSectorArray.hpp:216–219  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

214
215template <typename Tile, unsigned SectorSize>
216void TileSectorArray<Tile, SectorSize>::loadDefaultSector(Sector const& sector) {
217 if (sectorValid(sector))
218 m_tileSectors.loadSector(sector, std::make_unique<Array>(m_default));
219}
220
221template <typename Tile, unsigned SectorSize>
222auto TileSectorArray<Tile, SectorSize>::copySector(Sector const& sector) -> ArrayPtr {

Callers 2

handleIncomingPacketsMethod · 0.80
loadSectorToLevelMethod · 0.80

Calls 1

loadSectorMethod · 0.45

Tested by

no test coverage detected