LeviLamina
Loading...
Searching...
No Matches
LevelListCache Class Reference
+ Inheritance diagram for LevelListCache:

Public Member Functions

LevelListCacheoperator= (LevelListCache const &)
 
 LevelListCache (LevelListCache const &)
 
virtual void addLevel (::std::string const &levelId, ::LevelData &&levelData)
 
virtual void deleteLevel (::std::string const &levelId)
 
virtual void refreshLevel (::std::string const &levelId)
 
virtual void deleteLevelFiles (::std::string const &levelId)
 
virtual void postDeleteLevel (::std::string const &levelId)
 
virtual void renameLevel (::std::string const &levelId, ::std::string const &newLevelName)
 
virtual void renameAndSaveLevelData (::std::string const &levelId, ::std::string const &newLevelName, ::LevelData const &levelData)
 
virtual void saveLevelData (::std::string const &levelId, ::LevelData const &levelData)
 
virtual void createBackupCopyOfWorld (::std::string const &levelId, ::std::string const &newLevelId, ::std::string const &newName)
 
virtual bool hasLevelWithId (::std::string const &levelId)
 
virtual bool checkIfLevelIsCorruptOrMissing (::std::string const &levelId)
 
virtual void addObserver (::LevelListCacheObserver &observer)
 
virtual void removeObserver (::LevelListCacheObserver &observer)
 
virtual ::Bedrock::UniqueOwnerPointer<::LevelStoragecreateLevelStorage (::Scheduler &scheduler, ::std::string const &levelId, ::ContentIdentity const &contentIdentity, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::std::chrono::nanoseconds const &writeFlushInterval, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv, ::std::unique_ptr<::LevelStorageEventing > levelStorageEventing)
 
virtual ::std::unique_ptr<::LevelLooseFileStoragecreateLevelLooseStorage (::std::string const &levelId, ::ContentIdentity const &contentIdentity, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider)
 
virtual::LevelSummary * getLevelSummary (::std::string const &levelId)
 
virtual::LevelSummary const * getLevelSummaryByName (::std::string const &levelName)
 
virtual::LevelSummary * getOrCreateLevelSummary (::Core::Path const &directory)
 
virtual::LevelData * getLevelData (::std::string const &levelId)
 
virtual ::Bedrock::NonOwnerPointer<::LevelDatagetLevelDataNonOwnerPointer (::std::string const &levelId)
 
virtual::LevelSummary * getShallowLevelSummary (::std::string const &levelId)
 
virtual void getLevelList (::std::vector<::LevelSummary > &dest, bool includeShallowSummaries, bool includePartiallyCopiedLevels, bool includeBetaRetailLevels)
 
virtual bool hasCachedLevels (bool includeShallowSummaries) const
 
virtual void updateLevelCache (::std::string const &levelId)
 
virtual ::std::unique_ptr<::LevelStorageObservercreateLevelStorageObserver ()
 
virtual void onSave (::std::string const &levelId)
 
virtual void onStorageChanged ()
 
virtual ::Core::PathBuffer<::std::string > const getBasePath () const
 
MCAPI LevelListCache (::LevelStorageSource &levelStorageSource, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform const > appPlatform, ::std::function< bool()> &&checkIsSafeToFlushCache)
 
MCAPI::LevelCache * _addOrReplaceCache (::Core::Path const &path)
 
MCAPI::LevelCache * _addToCache (::Core::Path const &path)
 
MCAPI::LevelCache * _addToCache (::std::string const &levelId, ::LevelCache &&levelCache)
 
MCAPI::LevelCache * _createAndAddToCache (::std::string const &levelId, ::Core::Path const &directory)
 
MCAPI::LevelSummary * _getLevelSummary (::std::string const &levelId)
 
MCAPI void _notifyLevelUpdated (::std::string const &levelId)
 
MCAPI void _refreshSummary (::std::string const &levelId, ::LevelCache &cache)
 
MCAPI void * $ctor (::LevelStorageSource &levelStorageSource, ::Bedrock::NotNullNonOwnerPtr<::AppPlatform const > appPlatform, ::std::function< bool()> &&checkIsSafeToFlushCache)
 
MCAPI void $dtor ()
 
MCAPI void $addLevel (::std::string const &levelId, ::LevelData &&levelData)
 
MCAPI void $deleteLevel (::std::string const &levelId)
 
MCAPI void $refreshLevel (::std::string const &levelId)
 
MCAPI void $deleteLevelFiles (::std::string const &levelId)
 
MCAPI void $postDeleteLevel (::std::string const &levelId)
 
MCAPI void $renameLevel (::std::string const &levelId, ::std::string const &newLevelName)
 
MCAPI void $renameAndSaveLevelData (::std::string const &levelId, ::std::string const &newLevelName, ::LevelData const &levelData)
 
MCAPI void $saveLevelData (::std::string const &levelId, ::LevelData const &levelData)
 
MCAPI void $createBackupCopyOfWorld (::std::string const &levelId, ::std::string const &newLevelId, ::std::string const &newName)
 
MCAPI bool $hasLevelWithId (::std::string const &levelId)
 
MCAPI bool $checkIfLevelIsCorruptOrMissing (::std::string const &levelId)
 
MCAPI void $addObserver (::LevelListCacheObserver &observer)
 
MCAPI void $removeObserver (::LevelListCacheObserver &observer)
 
MCAPI ::Bedrock::UniqueOwnerPointer<::LevelStorage$createLevelStorage (::Scheduler &scheduler, ::std::string const &levelId, ::ContentIdentity const &contentIdentity, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::std::chrono::nanoseconds const &writeFlushInterval, ::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv, ::std::unique_ptr<::LevelStorageEventing > levelStorageEventing)
 
MCAPI ::std::unique_ptr<::LevelLooseFileStorage$createLevelLooseStorage (::std::string const &levelId, ::ContentIdentity const &contentIdentity, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider)
 
MCAPI::LevelSummary * $getLevelSummary (::std::string const &levelId)
 
MCAPI::LevelSummary const * $getLevelSummaryByName (::std::string const &levelName)
 
MCAPI::LevelSummary * $getOrCreateLevelSummary (::Core::Path const &directory)
 
MCAPI::LevelData * $getLevelData (::std::string const &levelId)
 
MCAPI ::Bedrock::NonOwnerPointer<::LevelData$getLevelDataNonOwnerPointer (::std::string const &levelId)
 
MCAPI::LevelSummary * $getShallowLevelSummary (::std::string const &levelId)
 
MCAPI void $getLevelList (::std::vector<::LevelSummary > &dest, bool includeShallowSummaries, bool includePartiallyCopiedLevels, bool includeBetaRetailLevels)
 
MCAPI bool $hasCachedLevels (bool includeShallowSummaries) const
 
MCAPI void $updateLevelCache (::std::string const &levelId)
 
MCAPI ::std::unique_ptr<::LevelStorageObserver$createLevelStorageObserver ()
 
MCAPI void $onSave (::std::string const &levelId)
 
MCAPI void $onStorageChanged ()
 
MCAPI ::Core::PathBuffer<::std::string > const $getBasePath () const
 
MCFOLD void * $ctor ()
 
MCFOLD void * $ctor (::Bedrock::EnableNonOwnerReferences const &)
 
MCAPI void * $ctor (::std::string name)
 
MCAPI ::std::shared_ptr<::Bedrock::Threading::IAsyncResult< void > > queue (::std::function< void()> &&callback)
 

Static Public Member Functions

static MCAPI void ** $vftableForILevelListCache ()
 
static MCAPI void ** $vftableForEnableQueueForMainThread ()
 
static MCAPI void ** $vftable ()
 
static MCAPI void ** $vftable ()
 

Public Attributes

::ll::UntypedStorage< 8, 8 > mUnk7be6fa
 
::ll::UntypedStorage< 8, 64 > mUnkc5bca8
 
::ll::UntypedStorage< 8, 64 > mUnke93906
 
::ll::UntypedStorage< 1, 1 > mUnk233d85
 
::ll::UntypedStorage< 8, 32 > mUnk92414e
 
::ll::UntypedStorage< 8, 80 > mUnk9c4eaf
 
::ll::UntypedStorage< 8, 24 > mUnk728a82
 
::ll::UntypedStorage< 8, 64 > mUnk1f7cd0
 
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlockmControlBlock
 
::ll::UntypedStorage< 8, 8 > mUnk30ed11
 

Member Function Documentation

◆ addLevel()

virtual void LevelListCache::addLevel ( ::std::string const & levelId,
::LevelData && levelData )
virtual

Implements ILevelListCache.

◆ deleteLevel()

virtual void LevelListCache::deleteLevel ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ refreshLevel()

virtual void LevelListCache::refreshLevel ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ deleteLevelFiles()

virtual void LevelListCache::deleteLevelFiles ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ postDeleteLevel()

virtual void LevelListCache::postDeleteLevel ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ renameLevel()

virtual void LevelListCache::renameLevel ( ::std::string const & levelId,
::std::string const & newLevelName )
virtual

Implements ILevelListCache.

◆ renameAndSaveLevelData()

virtual void LevelListCache::renameAndSaveLevelData ( ::std::string const & levelId,
::std::string const & newLevelName,
::LevelData const & levelData )
virtual

Implements ILevelListCache.

◆ saveLevelData()

virtual void LevelListCache::saveLevelData ( ::std::string const & levelId,
::LevelData const & levelData )
virtual

Implements ILevelListCache.

◆ createBackupCopyOfWorld()

virtual void LevelListCache::createBackupCopyOfWorld ( ::std::string const & levelId,
::std::string const & newLevelId,
::std::string const & newName )
virtual

Implements ILevelListCache.

◆ hasLevelWithId()

virtual bool LevelListCache::hasLevelWithId ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ checkIfLevelIsCorruptOrMissing()

virtual bool LevelListCache::checkIfLevelIsCorruptOrMissing ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ addObserver()

virtual void LevelListCache::addObserver ( ::LevelListCacheObserver & observer)
virtual

Implements ILevelListCache.

◆ removeObserver()

virtual void LevelListCache::removeObserver ( ::LevelListCacheObserver & observer)
virtual

Implements ILevelListCache.

◆ createLevelStorage()

virtual ::Bedrock::UniqueOwnerPointer<::LevelStorage > LevelListCache::createLevelStorage ( ::Scheduler & scheduler,
::std::string const & levelId,
::ContentIdentity const & contentIdentity,
::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const & keyProvider,
::std::chrono::nanoseconds const & writeFlushInterval,
::Bedrock::NotNullNonOwnerPtr<::LevelDbEnv > levelDbEnv,
::std::unique_ptr<::LevelStorageEventing > levelStorageEventing )
virtual

Implements ILevelListCache.

◆ createLevelLooseStorage()

virtual ::std::unique_ptr<::LevelLooseFileStorage > LevelListCache::createLevelLooseStorage ( ::std::string const & levelId,
::ContentIdentity const & contentIdentity,
::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const & keyProvider )
virtual

Implements ILevelListCache.

◆ getLevelSummary()

virtual::LevelSummary * LevelListCache::getLevelSummary ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ getLevelSummaryByName()

virtual::LevelSummary const * LevelListCache::getLevelSummaryByName ( ::std::string const & levelName)
virtual

Implements ILevelListCache.

◆ getOrCreateLevelSummary()

virtual::LevelSummary * LevelListCache::getOrCreateLevelSummary ( ::Core::Path const & directory)
virtual

Implements ILevelListCache.

◆ getLevelData()

virtual::LevelData * LevelListCache::getLevelData ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ getLevelDataNonOwnerPointer()

virtual ::Bedrock::NonOwnerPointer<::LevelData > LevelListCache::getLevelDataNonOwnerPointer ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ getShallowLevelSummary()

virtual::LevelSummary * LevelListCache::getShallowLevelSummary ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ getLevelList()

virtual void LevelListCache::getLevelList ( ::std::vector<::LevelSummary > & dest,
bool includeShallowSummaries,
bool includePartiallyCopiedLevels,
bool includeBetaRetailLevels )
virtual

Implements ILevelListCache.

◆ hasCachedLevels()

virtual bool LevelListCache::hasCachedLevels ( bool includeShallowSummaries) const
virtual

Implements ILevelListCache.

◆ updateLevelCache()

virtual void LevelListCache::updateLevelCache ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ createLevelStorageObserver()

virtual ::std::unique_ptr<::LevelStorageObserver > LevelListCache::createLevelStorageObserver ( )
virtual

Implements ILevelListCache.

◆ onSave()

virtual void LevelListCache::onSave ( ::std::string const & levelId)
virtual

Implements ILevelListCache.

◆ onStorageChanged()

virtual void LevelListCache::onStorageChanged ( )
virtual

Implements ILevelListCache.

◆ getBasePath()

virtual ::Core::PathBuffer<::std::string > const LevelListCache::getBasePath ( ) const
virtual

Implements ILevelListCache.


The documentation for this class was generated from the following file: