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

Method loadVersionedJson

source/game/StarEntityFactory.cpp:147–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145}
146
147Json EntityFactory::loadVersionedJson(VersionedJson const& versionedJson, EntityType expectedType) const {
148 RecursiveMutexLocker locker(m_mutex);
149
150 String identifier = EntityStorageIdentifiers.getRight(expectedType);
151 return m_versioningDatabase->loadVersionedJson(versionedJson, identifier);
152}
153
154VersionedJson EntityFactory::storeVersionedJson(EntityType type, Json const& store) const {
155 RecursiveMutexLocker locker(m_mutex);

Callers 11

diskLoadMethod · 0.45
readStatisticsMethod · 0.45
PlayerStorageMethod · 0.45
readQuestsFunction · 0.45
QuestMethod · 0.45
readMetadataMethod · 0.45
loadStoreMethod · 0.45
loadSettingsMethod · 0.45
loadTempWorldIndexMethod · 0.45
acceptConnectionMethod · 0.45
createSystemWorldMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected