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

Method writeSectorUniqueStore

source/game/StarWorldStorage.cpp:579–581  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579ByteArray WorldStorage::writeSectorUniqueStore(SectorUniqueStore const& store) {
580 return compressData(DataStreamBuffer::serialize(store));
581}
582
583void WorldStorage::openDatabase(BTreeDatabase& db, IODevicePtr device) {
584 db.setContentIdentifier("World4");

Callers

nothing calls this directly

Calls 1

compressDataFunction · 0.85

Tested by

no test coverage detected