|
|
virtual void | addStorageObserver (::std::unique_ptr<::LevelStorageObserver > observer)=0 |
|
virtual bool | loadedSuccessfully () const |
|
virtual ::std::unique_ptr<::CompoundTag > | getCompoundTag (::std::string const &key, ::DBHelpers::Category category)=0 |
|
virtual bool | hasKey (::std::string_view key, ::DBHelpers::Category category) const =0 |
|
virtual void | forEachKeyWithPrefix (::std::string_view prefix, ::DBHelpers::Category category, ::std::function< void(::std::string_view, ::std::string_view)> const &callback) const =0 |
|
virtual bool | loadLevelData (::LevelData &data)=0 |
|
virtual ::std::unique_ptr<::ChunkSource > | createChunkStorage (::std::unique_ptr<::ChunkSource >, ::StorageVersion)=0 |
|
virtual void | saveLevelData (::LevelData const &levelData)=0 |
|
virtual ::Core::PathBuffer<::std::string > const & | getFullPath () const =0 |
|
virtual ::Bedrock::Threading::Async< void > | saveData (::std::string const &key, ::std::string &&data, ::DBHelpers::Category category)=0 |
|
virtual ::Bedrock::Threading::Async< void > | saveData (::LevelStorageWriteBatch const &batch)=0 |
|
virtual ::Bedrock::Threading::Async< void > | deleteData (::std::string const &key, ::DBHelpers::Category category)=0 |
|
virtual void | getStatistics (::std::string &outStats, ::LevelStorage::StatsType statsType) const =0 |
|
virtual bool | clonePlayerData (::std::string_view fromKey, ::std::string_view toKey) |
|
virtual::Core::LevelStorageResult | getLevelStorageState () const =0 |
|
virtual::ContentIdentity const * | getContentIdentity () const =0 |
|
virtual void | startShutdown ()=0 |
|
virtual bool | isShuttingDown () const =0 |
|
virtual bool | checkShutdownDone ()=0 |
|
virtual bool | loadData (::std::string_view key, ::std::string &buffer, ::DBHelpers::Category category) const |
|
virtual::Core::LevelStorageResult | getState () const =0 |
|
virtual ::std::vector<::SnapshotFilenameAndLength > | createSnapshot (::std::string const &filePrefix, bool flushWriteCache)=0 |
|
virtual void | releaseSnapshot ()=0 |
|
virtual ::Bedrock::Threading::Async< void > | compactStorage ()=0 |
|
virtual void | syncAndSuspendStorage ()=0 |
|
virtual void | resumeStorage ()=0 |
|
virtual void | setFlushAllowed (bool flushAllowed)=0 |
|
virtual void | flushToPermanentStorage ()=0 |
|
virtual void | freeCaches () |
|
virtual void | setCompactionCallback (::std::function< void(::CompactionStatus)> callback)=0 |
|
virtual void | setCriticalSyncSaveCallback (::std::function< void()> callback)=0 |
|
virtual void | corruptLevel () |
|
MCAPI::std::string | getServerId (::Player const &client, bool isXboxLive) |
|
MCAPI ::std::vector<::std::string > | loadAllPlayerIDs (bool includeLocalPlayer) const |
|
MCAPI ::std::unique_ptr<::CompoundTag > | loadServerPlayerData (::Player const &client, bool isXboxLive) |
|
MCAPI void | save (::Player &player) |
|
MCAPI ::Bedrock::Threading::Async< void > | saveData (::std::string const &key, ::CompoundTag const &tag, ::DBHelpers::Category category) |
|
MCAPI void | $dtor () |
|
MCFOLD bool | $loadedSuccessfully () const |
|
MCAPI bool | $clonePlayerData (::std::string_view fromKey, ::std::string_view toKey) |
|
MCFOLD bool | $loadData (::std::string_view key, ::std::string &buffer, ::DBHelpers::Category category) const |
|
MCFOLD void | $freeCaches () |
|
MCFOLD void | $corruptLevel () |