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

Method WorldRegion

source/game/StarWorldLayout.cpp:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10namespace Star {
11
12WorldRegion::WorldRegion()
13 : terrainSelectorIndex(NullTerrainSelectorIndex),
14 foregroundCaveSelectorIndex(NullTerrainSelectorIndex),
15 backgroundCaveSelectorIndex(NullTerrainSelectorIndex),
16 blockBiomeIndex(NullBiomeIndex),
17 environmentBiomeIndex(NullBiomeIndex) {}
18
19WorldRegion::WorldRegion(Json const& store) {
20 terrainSelectorIndex = store.getUInt("terrainSelectorIndex");

Callers

nothing calls this directly

Calls 5

getUIntMethod · 0.80
getFloatMethod · 0.80
getIntMethod · 0.80
getBoolMethod · 0.80
getArrayMethod · 0.80

Tested by

no test coverage detected