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

Public Member Functions

virtual void tick ()
virtual void setContentSource (::std::unique_ptr<::ContentSource > &&contentSource)
virtual void resetContent ()
virtual void reloadPacks ()
virtual::Bedrock::PubSub::Subscription subscribeToContentItemCollectionDirtySubscription (::std::function< void()> &&callback)
virtual::WorldContentItemCollectionsModel getWorldCollectionsModel () const
virtual ::std::optional<::World::PackActionError > changePackPriority (::std::string const &packIdVersion, ::ContentType packType, int fromPosition, int toPosition)
virtual ::std::optional<::World::PackActionError > activatePack (::std::string const &packIdVersion, ::ContentType packType, bool ignoreWarnings)
virtual ::std::optional<::World::PackActionError > deactivatePack (::std::string const &packIdVersion, ::ContentType packType, bool ignoreWarnings)
virtual ::std::optional<::World::PackActionError > continuePendingPackAction ()
virtual void clearPendingPackAction ()
virtual::Bedrock::PubSub::Subscription subscribeToPendingPackActionPublisher (::std::function< void(::std::optional<::World::PendingPackAction >)> callback)
virtual ::std::optional<::PackSettingsInfo > getPackSettingsForPackIdVersion (::std::string const &packIdVersion)
virtual ::std::shared_ptr<::PackContentItem const > getPackItemForPackIdVersion (::std::string_view packIdVersion)
virtual::Bedrock::PubSub::Subscription subscribeToMarketplacePackDownloadStatus (::std::function< void(::IMarketplacePackDownloader::MarketplacePackDownloadStatus)> &&onDownloadStatusChange)
virtual void setEditorEnabled (bool isEditorEnabled)
virtual bool getEditorEnabled () const
MCAPI::WorldContentItemCollectionsModel _generatePackCollectionsModel ()
MCAPI ::std::shared_ptr<::ContentItemCollection > _getAvailableContentItemCollection (::ContentType contentType) const
MCAPI ::std::shared_ptr<::ContentItemCollection > _getMarketplacePassContentItemCollection (::ContentType contentType) const
MCAPI ::std::optional<::World::PackActionError > _movePackContent (::std::string const &packIdVersion, ::ContentType packType, ::World::PackAction packAction, bool ignoreWarnings)
MCAPI void _reloadAndReapplyPendingChanges ()
MCAPI void _reloadContentSource ()
MCAPI void $tick ()
MCAPI void $setContentSource (::std::unique_ptr<::ContentSource > &&contentSource)
MCAPI void $resetContent ()
MCAPI void $reloadPacks ()
MCAPI::Bedrock::PubSub::Subscription $subscribeToContentItemCollectionDirtySubscription (::std::function< void()> &&callback)
MCAPI::WorldContentItemCollectionsModel $getWorldCollectionsModel () const
MCAPI ::std::optional<::World::PackActionError > $changePackPriority (::std::string const &packIdVersion, ::ContentType packType, int fromPosition, int toPosition)
MCAPI ::std::optional<::World::PackActionError > $activatePack (::std::string const &packIdVersion, ::ContentType packType, bool ignoreWarnings)
MCAPI ::std::optional<::World::PackActionError > $deactivatePack (::std::string const &packIdVersion, ::ContentType packType, bool ignoreWarnings)
MCAPI ::std::optional<::World::PackActionError > $continuePendingPackAction ()
MCAPI void $clearPendingPackAction ()
MCAPI::Bedrock::PubSub::Subscription $subscribeToPendingPackActionPublisher (::std::function< void(::std::optional<::World::PendingPackAction >)> callback)
MCAPI ::std::optional<::PackSettingsInfo > $getPackSettingsForPackIdVersion (::std::string const &packIdVersion)
MCAPI ::std::shared_ptr<::PackContentItem const > $getPackItemForPackIdVersion (::std::string_view packIdVersion)
MCAPI::Bedrock::PubSub::Subscription $subscribeToMarketplacePackDownloadStatus (::std::function< void(::IMarketplacePackDownloader::MarketplacePackDownloadStatus)> &&onDownloadStatusChange)
MCAPI void $setEditorEnabled (bool isEditorEnabled)
MCAPI bool $getEditorEnabled () const

Public Attributes

::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > > mEntitlementManager
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > > mContentTierManager
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IMarketplacePackDownloader > > mMarketplacePackDownloader
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mMarketplacePackDownloaderStatusSub
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ContentSource > > mContentSource
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::MutableContentItemCollection > > mContentItemCollection
::ll::TypedStorage< 8, 48, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > mContentItemCollectionDirtyPublisher
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::ContentItemCollectionViewUtils::SelectedReloadProps > > mSelectedReloadProps
::ll::TypedStorage< 1, 1, bool > mIsEditorEnabled
::ll::TypedStorage< 8, 96, ::WorldContentItemCollectionsModel > mWorldContentItemCollectionsModel
::ll::TypedStorage< 8, 136, ::PublishedValue<::std::optional<::World::PendingPackAction > > > mPendingPackAction

Member Function Documentation

◆ tick()

virtual void World::WorldPackCollectionManagerImpl::tick ( )
virtual

◆ setContentSource()

virtual void World::WorldPackCollectionManagerImpl::setContentSource ( ::std::unique_ptr<::ContentSource > && contentSource)
virtual

◆ resetContent()

virtual void World::WorldPackCollectionManagerImpl::resetContent ( )
virtual

◆ reloadPacks()

virtual void World::WorldPackCollectionManagerImpl::reloadPacks ( )
virtual

◆ subscribeToContentItemCollectionDirtySubscription()

virtual::Bedrock::PubSub::Subscription World::WorldPackCollectionManagerImpl::subscribeToContentItemCollectionDirtySubscription ( ::std::function< void()> && callback)
virtual

◆ getWorldCollectionsModel()

virtual::WorldContentItemCollectionsModel World::WorldPackCollectionManagerImpl::getWorldCollectionsModel ( ) const
virtual

◆ changePackPriority()

virtual ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::changePackPriority ( ::std::string const & packIdVersion,
::ContentType packType,
int fromPosition,
int toPosition )
virtual

◆ activatePack()

virtual ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::activatePack ( ::std::string const & packIdVersion,
::ContentType packType,
bool ignoreWarnings )
virtual

◆ deactivatePack()

virtual ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::deactivatePack ( ::std::string const & packIdVersion,
::ContentType packType,
bool ignoreWarnings )
virtual

◆ continuePendingPackAction()

virtual ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::continuePendingPackAction ( )
virtual

◆ clearPendingPackAction()

virtual void World::WorldPackCollectionManagerImpl::clearPendingPackAction ( )
virtual

◆ subscribeToPendingPackActionPublisher()

virtual::Bedrock::PubSub::Subscription World::WorldPackCollectionManagerImpl::subscribeToPendingPackActionPublisher ( ::std::function< void(::std::optional<::World::PendingPackAction >)> callback)
virtual

◆ getPackSettingsForPackIdVersion()

virtual ::std::optional<::PackSettingsInfo > World::WorldPackCollectionManagerImpl::getPackSettingsForPackIdVersion ( ::std::string const & packIdVersion)
virtual

◆ getPackItemForPackIdVersion()

virtual ::std::shared_ptr<::PackContentItem const > World::WorldPackCollectionManagerImpl::getPackItemForPackIdVersion ( ::std::string_view packIdVersion)
virtual

◆ subscribeToMarketplacePackDownloadStatus()

virtual::Bedrock::PubSub::Subscription World::WorldPackCollectionManagerImpl::subscribeToMarketplacePackDownloadStatus ( ::std::function< void(::IMarketplacePackDownloader::MarketplacePackDownloadStatus)> && onDownloadStatusChange)
virtual

◆ setEditorEnabled()

virtual void World::WorldPackCollectionManagerImpl::setEditorEnabled ( bool isEditorEnabled)
virtual

◆ getEditorEnabled()

virtual bool World::WorldPackCollectionManagerImpl::getEditorEnabled ( ) const
virtual

◆ _generatePackCollectionsModel()

MCAPI::WorldContentItemCollectionsModel World::WorldPackCollectionManagerImpl::_generatePackCollectionsModel ( )
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.

◆ _getAvailableContentItemCollection()

MCAPI ::std::shared_ptr<::ContentItemCollection > World::WorldPackCollectionManagerImpl::_getAvailableContentItemCollection ( ::ContentType contentType) const
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.

◆ _getMarketplacePassContentItemCollection()

MCAPI ::std::shared_ptr<::ContentItemCollection > World::WorldPackCollectionManagerImpl::_getMarketplacePassContentItemCollection ( ::ContentType contentType) const
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.

◆ _movePackContent()

MCAPI ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::_movePackContent ( ::std::string const & packIdVersion,
::ContentType packType,
::World::PackAction packAction,
bool ignoreWarnings )
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.

◆ _reloadAndReapplyPendingChanges()

MCAPI void World::WorldPackCollectionManagerImpl::_reloadAndReapplyPendingChanges ( )
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.

◆ _reloadContentSource()

MCAPI void World::WorldPackCollectionManagerImpl::_reloadContentSource ( )
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.

◆ $tick()

MCAPI void World::WorldPackCollectionManagerImpl::$tick ( )
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.

◆ $setContentSource()

MCAPI void World::WorldPackCollectionManagerImpl::$setContentSource ( ::std::unique_ptr<::ContentSource > && contentSource)
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.

◆ $resetContent()

MCAPI void World::WorldPackCollectionManagerImpl::$resetContent ( )
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.

◆ $reloadPacks()

MCAPI void World::WorldPackCollectionManagerImpl::$reloadPacks ( )
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.

◆ $subscribeToContentItemCollectionDirtySubscription()

MCAPI::Bedrock::PubSub::Subscription World::WorldPackCollectionManagerImpl::$subscribeToContentItemCollectionDirtySubscription ( ::std::function< void()> && callback)
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.

◆ $getWorldCollectionsModel()

MCAPI::WorldContentItemCollectionsModel World::WorldPackCollectionManagerImpl::$getWorldCollectionsModel ( ) const
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.

◆ $changePackPriority()

MCAPI ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::$changePackPriority ( ::std::string const & packIdVersion,
::ContentType packType,
int fromPosition,
int toPosition )
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.

◆ $activatePack()

MCAPI ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::$activatePack ( ::std::string const & packIdVersion,
::ContentType packType,
bool ignoreWarnings )
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.

◆ $deactivatePack()

MCAPI ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::$deactivatePack ( ::std::string const & packIdVersion,
::ContentType packType,
bool ignoreWarnings )
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.

◆ $continuePendingPackAction()

MCAPI ::std::optional<::World::PackActionError > World::WorldPackCollectionManagerImpl::$continuePendingPackAction ( )
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.

◆ $clearPendingPackAction()

MCAPI void World::WorldPackCollectionManagerImpl::$clearPendingPackAction ( )
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.

◆ $subscribeToPendingPackActionPublisher()

MCAPI::Bedrock::PubSub::Subscription World::WorldPackCollectionManagerImpl::$subscribeToPendingPackActionPublisher ( ::std::function< void(::std::optional<::World::PendingPackAction >)> callback)
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.

◆ $getPackSettingsForPackIdVersion()

MCAPI ::std::optional<::PackSettingsInfo > World::WorldPackCollectionManagerImpl::$getPackSettingsForPackIdVersion ( ::std::string const & packIdVersion)
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.

◆ $getPackItemForPackIdVersion()

MCAPI ::std::shared_ptr<::PackContentItem const > World::WorldPackCollectionManagerImpl::$getPackItemForPackIdVersion ( ::std::string_view packIdVersion)
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.

◆ $subscribeToMarketplacePackDownloadStatus()

MCAPI::Bedrock::PubSub::Subscription World::WorldPackCollectionManagerImpl::$subscribeToMarketplacePackDownloadStatus ( ::std::function< void(::IMarketplacePackDownloader::MarketplacePackDownloadStatus)> && onDownloadStatusChange)
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.

◆ $setEditorEnabled()

MCAPI void World::WorldPackCollectionManagerImpl::$setEditorEnabled ( bool isEditorEnabled)
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.

◆ $getEditorEnabled()

MCAPI bool World::WorldPackCollectionManagerImpl::$getEditorEnabled ( ) const
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: