Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
World::LocalWorldList Class Reference
Inheritance diagram for World::LocalWorldList:

Public Types

enum class  LevelAddedType : int { NewWorld = 0 , ExistingWorld = 1 }
using SubjectType

Public Member Functions

LocalWorldList & operator= (LocalWorldList const &)
 LocalWorldList (LocalWorldList const &)
virtual void onLevelAdded (::std::string const &levelId, ::LevelListCacheObserver::LevelAddedType type)
virtual void onLevelUpdated (::std::string const &levelId)
virtual void onLevelDeleted (::std::string const &levelId)
virtual void onSummaryUpdated (::std::string const &levelId)
virtual void onStorageChanged ()
MCAPI LocalWorldList (::ILevelListCache &levelListCache, ::std::shared_ptr<::OptionRegistry > options, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, bool isEditorMode)
MCAPI void _checkIfOtherStorageContainsWorlds ()
MCAPI void _filterWorlds (::std::vector<::LevelSummary > &worlds, ::TrialManager const &trialManager, bool isEditorMode)
MCAPI void onEntitlementRefresh ()
MCAPI void update (::TrialManager const &trialManager)
MCAPI void * $ctor (::ILevelListCache &levelListCache, ::std::shared_ptr<::OptionRegistry > options, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, bool isEditorMode)
MCAPI void $onLevelAdded (::std::string const &levelId, ::LevelListCacheObserver::LevelAddedType type)
MCAPI void $onLevelUpdated (::std::string const &levelId)
MCAPI void $onLevelDeleted (::std::string const &levelId)
MCAPI void $onSummaryUpdated (::std::string const &levelId)
MCAPI void $onStorageChanged ()
SubjectType * getSubject ()
void removeFromSubject ()
virtual void _onSubjectDestroyed ()

Public Attributes

::ll::TypedStorage< 8, 8, ::ILevelListCache & > mLevelListCache
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > > mEntitlementManager
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::OptionRegistry > > mOptions
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mStorageOptionSubscription
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::GenericEntitlementChangeListener > > mEntitlementChangeListener
::ll::TypedStorage< 1, 1, bool > mOtherStorageContainsWorlds
::ll::TypedStorage< 1, 1, bool > mHasCompletedStorageCheck
::ll::TypedStorage< 4, 4, ::FileStorageDirectory > mLastFileStorageDirectory
::ll::TypedStorage< 1, 1, bool const > mIsEditorMode
::ll::TypedStorage< 1, 1, bool > mIsDirty
::ll::TypedStorage< 1, 1, bool > mLevelListCacheDirty
::ll::TypedStorage< 1, 1, bool > mAreTrialWorldsHidden
::ll::TypedStorage< 8, 24, ::std::vector<::LevelSummary > > mLocalWorldList
SubjectType * mpSubject

Constructor & Destructor Documentation

◆ LocalWorldList()

MCAPI World::LocalWorldList::LocalWorldList ( ::ILevelListCache & levelListCache,
::std::shared_ptr<::OptionRegistry > options,
::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager,
bool isEditorMode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ onLevelAdded()

virtual void World::LocalWorldList::onLevelAdded ( ::std::string const & levelId,
::LevelListCacheObserver::LevelAddedType type )
virtual

Reimplemented from LevelListCacheObserver.

◆ onLevelUpdated()

virtual void World::LocalWorldList::onLevelUpdated ( ::std::string const & levelId)
virtual

Reimplemented from LevelListCacheObserver.

◆ onLevelDeleted()

virtual void World::LocalWorldList::onLevelDeleted ( ::std::string const & levelId)
virtual

Reimplemented from LevelListCacheObserver.

◆ onSummaryUpdated()

virtual void World::LocalWorldList::onSummaryUpdated ( ::std::string const & levelId)
virtual

Reimplemented from LevelListCacheObserver.

◆ onStorageChanged()

virtual void World::LocalWorldList::onStorageChanged ( )
virtual

Reimplemented from LevelListCacheObserver.

◆ _checkIfOtherStorageContainsWorlds()

MCAPI void World::LocalWorldList::_checkIfOtherStorageContainsWorlds ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ _filterWorlds()

MCAPI void World::LocalWorldList::_filterWorlds ( ::std::vector<::LevelSummary > & worlds,
::TrialManager const & trialManager,
bool isEditorMode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ onEntitlementRefresh()

MCAPI void World::LocalWorldList::onEntitlementRefresh ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ update()

MCAPI void World::LocalWorldList::update ( ::TrialManager const & trialManager)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * World::LocalWorldList::$ctor ( ::ILevelListCache & levelListCache,
::std::shared_ptr<::OptionRegistry > options,
::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager,
bool isEditorMode )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelAdded()

MCAPI void World::LocalWorldList::$onLevelAdded ( ::std::string const & levelId,
::LevelListCacheObserver::LevelAddedType type )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelUpdated()

MCAPI void World::LocalWorldList::$onLevelUpdated ( ::std::string const & levelId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onLevelDeleted()

MCAPI void World::LocalWorldList::$onLevelDeleted ( ::std::string const & levelId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onSummaryUpdated()

MCAPI void World::LocalWorldList::$onSummaryUpdated ( ::std::string const & levelId)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $onStorageChanged()

MCAPI void World::LocalWorldList::$onStorageChanged ( )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

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