MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / ~WorldStorage

Method ~WorldStorage

source/game/StarWorldStorage.cpp:95–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95WorldStorage::~WorldStorage() {
96 if (m_db.isOpen()) {
97 unloadAll(true);
98 m_db.close();
99 }
100}
101
102VersionedJson WorldStorage::worldMetadata() {
103 return readWorldMetadata(*m_db.find(metadataKey())).userMetadata;

Callers

nothing calls this directly

Calls 2

isOpenMethod · 0.45
closeMethod · 0.45

Tested by

no test coverage detected