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

Public Types

using ConstContentItemPtr = ::std::shared_ptr<::ContentItem const>
using ContentItemPtr = ::std::shared_ptr<::ContentItem>
using PackContentItemPtr = ::std::shared_ptr<::PackContentItem>
enum class  LevelAddedType : int { NewWorld = 0 , ExistingWorld = 1 }
using SubjectType

Public Member Functions

ContentManager & operator= (ContentManager const &)
 ContentManager (ContentManager const &)
virtual::ContentSource * loadContent (::ContentType contentType, ::ContentFlags flags)
virtual::ContentSource * loadContent (::InvalidPacksFilterGroup const &invalidFilter)
virtual::ContentSource * loadContentForLevel (::std::string const &levelId, ::mce::UUID const &premiumTemplateId)
virtual::ContentSource * loadContentForRealm (int64 const realmId)
virtual ::std::unique_ptr<::ContentSource > loadContentForRealmsWorld (::Realms::RealmId realmId, ::std::vector<::Realms::Content > const &servicePackData)
virtual void addPackSourceFromPremiumTemplate (::RealmPackManagerContentSource *source, ::mce::UUID const &premiumTemplateId, ::PackType packType)
virtual void addRealmsUnknownPackSources (::RealmPackManagerContentSource *contentSource)
virtual void addPacksToRealmsUnknownPackSource (::std::unique_ptr<::Pack > pack)
virtual void addCachedHostPackIdProvider (::std::weak_ptr<::CachedHostPackIdProvider > provider)
virtual void clearRealmsUnknownPackSource ()
virtual void removeUnneededItemFromRealmsUnknownContentSource (::mce::UUID const &id)
virtual ::gsl::not_null<::std::shared_ptr<::ContentItemCollection > > getGlobalResourcePackCollection (bool isEditorMode)
virtual ::std::unique_ptr<::IContentManagerContext > createContext (::std::function< bool(::std::shared_ptr<::ContentItem const > const &)> contextPredicate)
virtual void removeContext (::IContentManagerContext &context)
virtual ::std::vector<::std::unique_ptr<::ContentSource > > const & getSources () const
virtual ::std::vector<::std::shared_ptr<::ContentItem > > getContentItems () const
virtual ::std::shared_ptr<::IVersionedContentItemCollection const > getVersionedItems () const
virtual void enableCatalogPackSource ()
virtual void generateItems (::ContentSource *source)
virtual ::Bedrock::Threading::Async< void > refreshPackSources (bool saveSources)
virtual ::Bedrock::Threading::Async< void > reloadSources (bool saveSources)
virtual void reloadItems ()
virtual void reloadViews ()
virtual void populateDependencies () const
virtual void deleteContent (::std::shared_ptr<::ContentItem const > const &contentItem)
virtual void deleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &contentItems)
virtual void deleteContentFiles (::std::shared_ptr<::ContentItem const > const &contentItem)
virtual void deleteContentFiles (::std::vector<::std::shared_ptr<::ContentItem const > > const &contentItems)
virtual void postDeleteContent (::std::shared_ptr<::ContentItem const > const &contentItem)
virtual void postDeleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &contentItems)
virtual uint64 generateContentId ()
virtual ::Core::PathBuffer<::std::string > const getWorldResourcePath (::std::string const &levelId) const
virtual ::Core::PathBuffer<::std::string > const getWorldBehaviorPath (::std::string const &levelId) const
virtual ::Core::PathBuffer<::std::string > const getWorldResourceFolder (::std::string const &levelId) const
virtual ::Core::PathBuffer<::std::string > const getWorldBehaviorFolder (::std::string const &levelId) const
virtual ::Core::PathBuffer<::std::string > const getWorldPath (::std::string const &levelId) const
virtual ::Core::PathBuffer<::std::string > const & getPremiumWorldTemplateFolder (::ContentIdentity const &templateId)
virtual::ContentManagerProxy * getProxy ()
virtual void beginAsyncInit (::TaskGroup &taskGroup)
virtual bool isInitialized () const
virtual void onLanguageChanged ()
virtual void refreshContentCatalogPackSource ()
virtual::Bedrock::PubSub::Subscription refreshContentCatalogPackSource (::std::function< void()> &&callback)
virtual ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > getFilePathManager ()
virtual void onLevelDeleted (::std::string const &levelId)
virtual void onRealmsReset (::Realms::RealmId const realmsId)
virtual::Bedrock::PubSub::Subscription subscribeToSourcesReloadedAsyncCompleted (::std::function< void()> &&onSourcesReloadedAsyncCallback)
virtual ::std::shared_ptr<::StorageManager::ContentItemProvider > getStorageContentItemProvider ()
virtual::StorageManager::IContentHandler & getStorageContentHandler ()
virtual ::std::shared_ptr<::StorageManager::WorldConverter > getStorageWorldConverter ()
virtual::Bedrock::PubSub::Subscription registerToReloadViews (::std::function< void()> callback)
virtual::Bedrock::PubSub::Subscription registerToDeleteContent (::std::function< void()> callback)
MCAPI ContentManager (::ILevelListCache &levelListCache, ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager > const &worldTemplateManager, ::IResourcePackRepository &resourcePackRepository, ::ResourcePackManager &resourcePackManager, ::PackManifestFactory &packManifestFactory, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const &contentTierManager, ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository > const &storeCatalog, ::Bedrock::NotNullNonOwnerPtr<::ContentCatalogService > const &contentCatalogService, ::ClientPackSourceFactory &packSourceFactory, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const &filePathManager, ::std::unique_ptr<::StorageManager::IContentHandler > storageContentHandler, ::std::function<::std::shared_ptr<::StorageManager::WorldConverter >()> storageWorldConverterConstructor)
MCAPI void _removeContentItemsFromSource (::gsl::not_null<::ContentSource * > source)
MCAPI void _retrievePackSources (::PackType packType, ::std::vector<::PackSource * > &packSources)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Realms::RealmsServicePackSource > _updateOrCreateRealmsServicePackSource (int64 realmId, ::PackType packType, ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack > > > &&servicePackData)
MCAPI void * $ctor (::ILevelListCache &levelListCache, ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager > const &worldTemplateManager, ::IResourcePackRepository &resourcePackRepository, ::ResourcePackManager &resourcePackManager, ::PackManifestFactory &packManifestFactory, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const &contentTierManager, ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository > const &storeCatalog, ::Bedrock::NotNullNonOwnerPtr<::ContentCatalogService > const &contentCatalogService, ::ClientPackSourceFactory &packSourceFactory, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const &filePathManager, ::std::unique_ptr<::StorageManager::IContentHandler > storageContentHandler, ::std::function<::std::shared_ptr<::StorageManager::WorldConverter >()> storageWorldConverterConstructor)
MCAPI::ContentSource * $loadContent (::ContentType contentType, ::ContentFlags flags)
MCAPI::ContentSource * $loadContent (::InvalidPacksFilterGroup const &invalidFilter)
MCAPI::ContentSource * $loadContentForLevel (::std::string const &levelId, ::mce::UUID const &premiumTemplateId)
MCAPI::ContentSource * $loadContentForRealm (int64 const realmId)
MCAPI ::std::unique_ptr<::ContentSource > $loadContentForRealmsWorld (::Realms::RealmId realmId, ::std::vector<::Realms::Content > const &servicePackData)
MCAPI void $addPackSourceFromPremiumTemplate (::RealmPackManagerContentSource *source, ::mce::UUID const &premiumTemplateId, ::PackType packType)
MCAPI void $addRealmsUnknownPackSources (::RealmPackManagerContentSource *contentSource)
MCAPI void $addPacksToRealmsUnknownPackSource (::std::unique_ptr<::Pack > pack)
MCAPI void $addCachedHostPackIdProvider (::std::weak_ptr<::CachedHostPackIdProvider > provider)
MCAPI void $clearRealmsUnknownPackSource ()
MCAPI void $removeUnneededItemFromRealmsUnknownContentSource (::mce::UUID const &id)
MCAPI ::gsl::not_null<::std::shared_ptr<::ContentItemCollection > > $getGlobalResourcePackCollection (bool isEditorMode)
MCAPI ::std::unique_ptr<::IContentManagerContext > $createContext (::std::function< bool(::std::shared_ptr<::ContentItem const > const &)> contextPredicate)
MCAPI void $removeContext (::IContentManagerContext &context)
MCAPI ::std::vector<::std::unique_ptr<::ContentSource > > const & $getSources () const
MCAPI ::std::vector<::std::shared_ptr<::ContentItem > > $getContentItems () const
MCAPI ::std::shared_ptr<::IVersionedContentItemCollection const > $getVersionedItems () const
MCAPI void $enableCatalogPackSource ()
MCAPI void $generateItems (::ContentSource *source)
MCAPI ::Bedrock::Threading::Async< void > $refreshPackSources (bool saveSources)
MCAPI ::Bedrock::Threading::Async< void > $reloadSources (bool saveSources)
MCAPI void $reloadItems ()
MCAPI void $reloadViews ()
MCAPI void $populateDependencies () const
MCAPI void $deleteContent (::std::shared_ptr<::ContentItem const > const &contentItem)
MCAPI void $deleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &contentItems)
MCAPI void $deleteContentFiles (::std::shared_ptr<::ContentItem const > const &contentItem)
MCAPI void $deleteContentFiles (::std::vector<::std::shared_ptr<::ContentItem const > > const &contentItems)
MCAPI void $postDeleteContent (::std::shared_ptr<::ContentItem const > const &contentItem)
MCAPI void $postDeleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &contentItems)
MCAPI uint64 $generateContentId ()
MCAPI ::Core::PathBuffer<::std::string > const $getWorldResourcePath (::std::string const &levelId) const
MCAPI ::Core::PathBuffer<::std::string > const $getWorldBehaviorPath (::std::string const &levelId) const
MCAPI ::Core::PathBuffer<::std::string > const $getWorldResourceFolder (::std::string const &levelId) const
MCAPI ::Core::PathBuffer<::std::string > const $getWorldBehaviorFolder (::std::string const &levelId) const
MCAPI ::Core::PathBuffer<::std::string > const $getWorldPath (::std::string const &levelId) const
MCAPI ::Core::PathBuffer<::std::string > const & $getPremiumWorldTemplateFolder (::ContentIdentity const &templateId)
MCAPI::ContentManagerProxy * $getProxy ()
MCAPI void $beginAsyncInit (::TaskGroup &taskGroup)
MCAPI bool $isInitialized () const
MCAPI void $onLanguageChanged ()
MCAPI void $refreshContentCatalogPackSource ()
MCAPI::Bedrock::PubSub::Subscription $refreshContentCatalogPackSource (::std::function< void()> &&callback)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > $getFilePathManager ()
MCAPI void $onLevelDeleted (::std::string const &levelId)
MCAPI void $onRealmsReset (::Realms::RealmId const realmsId)
MCAPI::Bedrock::PubSub::Subscription $subscribeToSourcesReloadedAsyncCompleted (::std::function< void()> &&onSourcesReloadedAsyncCallback)
MCAPI ::std::shared_ptr<::StorageManager::ContentItemProvider > $getStorageContentItemProvider ()
MCAPI::StorageManager::IContentHandler & $getStorageContentHandler ()
MCAPI ::std::shared_ptr<::StorageManager::WorldConverter > $getStorageWorldConverter ()
MCAPI::Bedrock::PubSub::Subscription $registerToReloadViews (::std::function< void()> callback)
MCAPI::Bedrock::PubSub::Subscription $registerToDeleteContent (::std::function< void()> callback)
virtual void onLevelAdded (::std::string const &levelId, ::LevelListCacheObserver::LevelAddedType type)
virtual void onLevelUpdated (::std::string const &levelId)
virtual void onSummaryUpdated (::std::string const &levelId)
virtual void onStorageChanged ()
SubjectType * getSubject ()
void removeFromSubject ()
virtual void _onSubjectDestroyed ()

Static Public Member Functions

static MCAPI void _deleteContent (::std::vector<::std::shared_ptr<::ContentItem const > > const &contentItems, ::std::function< void(::ContentSource &, ::std::vector<::std::shared_ptr<::ContentItem const > > const &)> deleteItemCallback)

Public Attributes

::ll::TypedStorage< 8, 16, ::std::weak_ptr<::ContentManager > > mSelf
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IWorldTemplateManager > > mWorldTemplateManager
::ll::TypedStorage< 8, 8, ::IPackManifestFactory & > mPackManifestFactory
::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::MutableContentItemCollection > > > mContent
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::ContentSource > > > mContentSources
::ll::TypedStorage< 8, 24, ::ContentManagerContextCollection > mContexts
::ll::TypedStorage< 8, 8, uint64 > mContentId
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::IContentCatalogPackSource > > mCatalogResourcePackSource
::ll::TypedStorage< 8, 24, ::std::vector<::std::unique_ptr<::Realms::RealmsServicePackSource > > > mRealmsServicePackSources
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::CachedHostPackIdProvider > > mCachedHostPackIdProvider
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::ContentManagerProxy > > mProxy
::ll::TypedStorage< 1, 1, bool > mInitialized
::ll::TypedStorage< 8, 32, ::std::string const > WORLD_RESOURCE_PACK_FILENAME
::ll::TypedStorage< 8, 32, ::std::string const > WORLD_BEHAVIOR_PACK_FILENAME
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > > mFilePathManager
::ll::TypedStorage< 8, 8, ::std::shared_mutex > mMutex
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::IContentManagerFactory > > mFactory
::ll::TypedStorage< 8, 16, ::gsl::not_null<::std::shared_ptr<::ContentManagerUtils::SourcesAsyncReloader > > > mReloadSourcesAsync
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > > mEntitlementManager
::ll::TypedStorage< 8, 48, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > mReloadViewsPublisher
::ll::TypedStorage< 8, 48, ::Bedrock::PubSub::Publisher< void(), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > mDeleteContentPublisher
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::StorageManager::ContentItemProvider > > mWeakStorageContentItemProvider
::ll::TypedStorage< 8, 8, ::gsl::not_null<::std::unique_ptr<::StorageManager::IContentHandler > > > mStorageContentHandler
::ll::TypedStorage< 8, 64, ::std::function<::std::shared_ptr<::StorageManager::WorldConverter >()> > mStorageWorldConverterConstructor
::ll::TypedStorage< 8, 16, ::std::weak_ptr<::StorageManager::WorldConverter > > mWeakStorageWorldConverter
SubjectType * mpSubject

Constructor & Destructor Documentation

◆ ContentManager()

MCAPI ContentManager::ContentManager ( ::ILevelListCache & levelListCache,
::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager > const & worldTemplateManager,
::IResourcePackRepository & resourcePackRepository,
::ResourcePackManager & resourcePackManager,
::PackManifestFactory & packManifestFactory,
::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager,
::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const & contentTierManager,
::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository > const & storeCatalog,
::Bedrock::NotNullNonOwnerPtr<::ContentCatalogService > const & contentCatalogService,
::ClientPackSourceFactory & packSourceFactory,
::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const & filePathManager,
::std::unique_ptr<::StorageManager::IContentHandler > storageContentHandler,
::std::function<::std::shared_ptr<::StorageManager::WorldConverter >()> storageWorldConverterConstructor )
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

◆ loadContent() [1/2]

virtual::ContentSource * ContentManager::loadContent ( ::ContentType contentType,
::ContentFlags flags )
virtual

Implements IContentManager.

◆ loadContent() [2/2]

virtual::ContentSource * ContentManager::loadContent ( ::InvalidPacksFilterGroup const & invalidFilter)
virtual

Implements IContentManager.

◆ loadContentForLevel()

virtual::ContentSource * ContentManager::loadContentForLevel ( ::std::string const & levelId,
::mce::UUID const & premiumTemplateId )
virtual

Implements IContentManager.

◆ loadContentForRealm()

virtual::ContentSource * ContentManager::loadContentForRealm ( int64 const realmId)
virtual

Implements IContentManager.

◆ loadContentForRealmsWorld()

virtual ::std::unique_ptr<::ContentSource > ContentManager::loadContentForRealmsWorld ( ::Realms::RealmId realmId,
::std::vector<::Realms::Content > const & servicePackData )
virtual

Implements IContentManager.

◆ addPackSourceFromPremiumTemplate()

virtual void ContentManager::addPackSourceFromPremiumTemplate ( ::RealmPackManagerContentSource * source,
::mce::UUID const & premiumTemplateId,
::PackType packType )
virtual

Implements IContentManager.

◆ addRealmsUnknownPackSources()

virtual void ContentManager::addRealmsUnknownPackSources ( ::RealmPackManagerContentSource * contentSource)
virtual

Implements IContentManager.

◆ addPacksToRealmsUnknownPackSource()

virtual void ContentManager::addPacksToRealmsUnknownPackSource ( ::std::unique_ptr<::Pack > pack)
virtual

Implements IContentManager.

◆ addCachedHostPackIdProvider()

virtual void ContentManager::addCachedHostPackIdProvider ( ::std::weak_ptr<::CachedHostPackIdProvider > provider)
virtual

Implements IContentManager.

◆ clearRealmsUnknownPackSource()

virtual void ContentManager::clearRealmsUnknownPackSource ( )
virtual

Implements IContentManager.

◆ removeUnneededItemFromRealmsUnknownContentSource()

virtual void ContentManager::removeUnneededItemFromRealmsUnknownContentSource ( ::mce::UUID const & id)
virtual

Implements IContentManager.

◆ getGlobalResourcePackCollection()

virtual ::gsl::not_null<::std::shared_ptr<::ContentItemCollection > > ContentManager::getGlobalResourcePackCollection ( bool isEditorMode)
virtual

Implements IContentManager.

◆ createContext()

virtual ::std::unique_ptr<::IContentManagerContext > ContentManager::createContext ( ::std::function< bool(::std::shared_ptr<::ContentItem const > const &)> contextPredicate)
virtual

Implements IContentManager.

◆ removeContext()

virtual void ContentManager::removeContext ( ::IContentManagerContext & context)
virtual

Implements IContentManager.

◆ getSources()

virtual ::std::vector<::std::unique_ptr<::ContentSource > > const & ContentManager::getSources ( ) const
virtual

Implements IContentManager.

◆ getContentItems()

virtual ::std::vector<::std::shared_ptr<::ContentItem > > ContentManager::getContentItems ( ) const
virtual

Implements IContentManager.

◆ getVersionedItems()

virtual ::std::shared_ptr<::IVersionedContentItemCollection const > ContentManager::getVersionedItems ( ) const
virtual

Implements IContentManager.

◆ enableCatalogPackSource()

virtual void ContentManager::enableCatalogPackSource ( )
virtual

Implements IContentManager.

◆ generateItems()

virtual void ContentManager::generateItems ( ::ContentSource * source)
virtual

Implements IContentManager.

◆ refreshPackSources()

virtual ::Bedrock::Threading::Async< void > ContentManager::refreshPackSources ( bool saveSources)
virtual

Implements IContentManager.

◆ reloadSources()

virtual ::Bedrock::Threading::Async< void > ContentManager::reloadSources ( bool saveSources)
virtual

Implements IContentManager.

◆ reloadItems()

virtual void ContentManager::reloadItems ( )
virtual

Implements IContentManager.

◆ reloadViews()

virtual void ContentManager::reloadViews ( )
virtual

Implements IContentManager.

◆ populateDependencies()

virtual void ContentManager::populateDependencies ( ) const
virtual

Implements IContentManager.

◆ deleteContent() [1/2]

virtual void ContentManager::deleteContent ( ::std::shared_ptr<::ContentItem const > const & contentItem)
virtual

Implements IContentManager.

◆ deleteContent() [2/2]

virtual void ContentManager::deleteContent ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & contentItems)
virtual

Implements IContentManager.

◆ deleteContentFiles() [1/2]

virtual void ContentManager::deleteContentFiles ( ::std::shared_ptr<::ContentItem const > const & contentItem)
virtual

Implements IContentManager.

◆ deleteContentFiles() [2/2]

virtual void ContentManager::deleteContentFiles ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & contentItems)
virtual

Implements IContentManager.

◆ postDeleteContent() [1/2]

virtual void ContentManager::postDeleteContent ( ::std::shared_ptr<::ContentItem const > const & contentItem)
virtual

Implements IContentManager.

◆ postDeleteContent() [2/2]

virtual void ContentManager::postDeleteContent ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & contentItems)
virtual

Implements IContentManager.

◆ generateContentId()

virtual uint64 ContentManager::generateContentId ( )
virtual

Implements IContentManager.

◆ getWorldResourcePath()

virtual ::Core::PathBuffer<::std::string > const ContentManager::getWorldResourcePath ( ::std::string const & levelId) const
virtual

Implements IContentManager.

◆ getWorldBehaviorPath()

virtual ::Core::PathBuffer<::std::string > const ContentManager::getWorldBehaviorPath ( ::std::string const & levelId) const
virtual

Implements IContentManager.

◆ getWorldResourceFolder()

virtual ::Core::PathBuffer<::std::string > const ContentManager::getWorldResourceFolder ( ::std::string const & levelId) const
virtual

Implements IContentManager.

◆ getWorldBehaviorFolder()

virtual ::Core::PathBuffer<::std::string > const ContentManager::getWorldBehaviorFolder ( ::std::string const & levelId) const
virtual

Implements IContentManager.

◆ getWorldPath()

virtual ::Core::PathBuffer<::std::string > const ContentManager::getWorldPath ( ::std::string const & levelId) const
virtual

Implements IContentManager.

◆ getPremiumWorldTemplateFolder()

virtual ::Core::PathBuffer<::std::string > const & ContentManager::getPremiumWorldTemplateFolder ( ::ContentIdentity const & templateId)
virtual

Implements IContentManager.

◆ getProxy()

virtual::ContentManagerProxy * ContentManager::getProxy ( )
virtual

Implements IContentManager.

◆ beginAsyncInit()

virtual void ContentManager::beginAsyncInit ( ::TaskGroup & taskGroup)
virtual

Implements IContentManager.

◆ isInitialized()

virtual bool ContentManager::isInitialized ( ) const
virtual

Implements IContentManager.

◆ onLanguageChanged()

virtual void ContentManager::onLanguageChanged ( )
virtual

Implements IContentManager.

◆ refreshContentCatalogPackSource() [1/2]

virtual void ContentManager::refreshContentCatalogPackSource ( )
virtual

Implements IContentManager.

◆ refreshContentCatalogPackSource() [2/2]

virtual::Bedrock::PubSub::Subscription ContentManager::refreshContentCatalogPackSource ( ::std::function< void()> && callback)
virtual

Implements IContentManager.

◆ getFilePathManager()

virtual ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > ContentManager::getFilePathManager ( )
virtual

Implements IContentManager.

◆ onLevelDeleted()

virtual void ContentManager::onLevelDeleted ( ::std::string const & levelId)
virtual

Reimplemented from LevelListCacheObserver.

◆ onRealmsReset()

virtual void ContentManager::onRealmsReset ( ::Realms::RealmId const realmsId)
virtual

Implements IContentManager.

◆ subscribeToSourcesReloadedAsyncCompleted()

virtual::Bedrock::PubSub::Subscription ContentManager::subscribeToSourcesReloadedAsyncCompleted ( ::std::function< void()> && onSourcesReloadedAsyncCallback)
virtual

Implements IContentManager.

◆ getStorageContentItemProvider()

virtual ::std::shared_ptr<::StorageManager::ContentItemProvider > ContentManager::getStorageContentItemProvider ( )
virtual

Implements IContentManager.

◆ getStorageContentHandler()

virtual::StorageManager::IContentHandler & ContentManager::getStorageContentHandler ( )
virtual

Implements IContentManager.

◆ getStorageWorldConverter()

virtual ::std::shared_ptr<::StorageManager::WorldConverter > ContentManager::getStorageWorldConverter ( )
virtual

Implements IContentManager.

◆ registerToReloadViews()

virtual::Bedrock::PubSub::Subscription ContentManager::registerToReloadViews ( ::std::function< void()> callback)
virtual

Implements IContentManager.

◆ registerToDeleteContent()

virtual::Bedrock::PubSub::Subscription ContentManager::registerToDeleteContent ( ::std::function< void()> callback)
virtual

Implements IContentManager.

◆ _removeContentItemsFromSource()

MCAPI void ContentManager::_removeContentItemsFromSource ( ::gsl::not_null<::ContentSource * > source)
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.

◆ _retrievePackSources()

MCAPI void ContentManager::_retrievePackSources ( ::PackType packType,
::std::vector<::PackSource * > & packSources )
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.

◆ _updateOrCreateRealmsServicePackSource()

MCAPI ::Bedrock::NotNullNonOwnerPtr<::Realms::RealmsServicePackSource > ContentManager::_updateOrCreateRealmsServicePackSource ( int64 realmId,
::PackType packType,
::std::vector<::gsl::not_null<::std::shared_ptr<::Pack > > > && servicePackData )
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.

◆ _deleteContent()

MCAPI void ContentManager::_deleteContent ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & contentItems,
::std::function< void(::ContentSource &, ::std::vector<::std::shared_ptr<::ContentItem const > > const &)> deleteItemCallback )
static
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 * ContentManager::$ctor ( ::ILevelListCache & levelListCache,
::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager > const & worldTemplateManager,
::IResourcePackRepository & resourcePackRepository,
::ResourcePackManager & resourcePackManager,
::PackManifestFactory & packManifestFactory,
::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager,
::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const > const & contentTierManager,
::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository > const & storeCatalog,
::Bedrock::NotNullNonOwnerPtr<::ContentCatalogService > const & contentCatalogService,
::ClientPackSourceFactory & packSourceFactory,
::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > const & filePathManager,
::std::unique_ptr<::StorageManager::IContentHandler > storageContentHandler,
::std::function<::std::shared_ptr<::StorageManager::WorldConverter >()> storageWorldConverterConstructor )
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.

◆ $loadContent() [1/2]

MCAPI::ContentSource * ContentManager::$loadContent ( ::ContentType contentType,
::ContentFlags flags )
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.

◆ $loadContent() [2/2]

MCAPI::ContentSource * ContentManager::$loadContent ( ::InvalidPacksFilterGroup const & invalidFilter)
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.

◆ $loadContentForLevel()

MCAPI::ContentSource * ContentManager::$loadContentForLevel ( ::std::string const & levelId,
::mce::UUID const & premiumTemplateId )
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.

◆ $loadContentForRealm()

MCAPI::ContentSource * ContentManager::$loadContentForRealm ( int64 const realmId)
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.

◆ $loadContentForRealmsWorld()

MCAPI ::std::unique_ptr<::ContentSource > ContentManager::$loadContentForRealmsWorld ( ::Realms::RealmId realmId,
::std::vector<::Realms::Content > const & servicePackData )
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.

◆ $addPackSourceFromPremiumTemplate()

MCAPI void ContentManager::$addPackSourceFromPremiumTemplate ( ::RealmPackManagerContentSource * source,
::mce::UUID const & premiumTemplateId,
::PackType packType )
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.

◆ $addRealmsUnknownPackSources()

MCAPI void ContentManager::$addRealmsUnknownPackSources ( ::RealmPackManagerContentSource * 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.

◆ $addPacksToRealmsUnknownPackSource()

MCAPI void ContentManager::$addPacksToRealmsUnknownPackSource ( ::std::unique_ptr<::Pack > pack)
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.

◆ $addCachedHostPackIdProvider()

MCAPI void ContentManager::$addCachedHostPackIdProvider ( ::std::weak_ptr<::CachedHostPackIdProvider > provider)
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.

◆ $clearRealmsUnknownPackSource()

MCAPI void ContentManager::$clearRealmsUnknownPackSource ( )
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.

◆ $removeUnneededItemFromRealmsUnknownContentSource()

MCAPI void ContentManager::$removeUnneededItemFromRealmsUnknownContentSource ( ::mce::UUID const & id)
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.

◆ $getGlobalResourcePackCollection()

MCAPI ::gsl::not_null<::std::shared_ptr<::ContentItemCollection > > ContentManager::$getGlobalResourcePackCollection ( 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.

◆ $createContext()

MCAPI ::std::unique_ptr<::IContentManagerContext > ContentManager::$createContext ( ::std::function< bool(::std::shared_ptr<::ContentItem const > const &)> contextPredicate)
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.

◆ $removeContext()

MCAPI void ContentManager::$removeContext ( ::IContentManagerContext & context)
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.

◆ $getSources()

MCAPI ::std::vector<::std::unique_ptr<::ContentSource > > const & ContentManager::$getSources ( ) 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.

◆ $getContentItems()

MCAPI ::std::vector<::std::shared_ptr<::ContentItem > > ContentManager::$getContentItems ( ) 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.

◆ $getVersionedItems()

MCAPI ::std::shared_ptr<::IVersionedContentItemCollection const > ContentManager::$getVersionedItems ( ) 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.

◆ $enableCatalogPackSource()

MCAPI void ContentManager::$enableCatalogPackSource ( )
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.

◆ $generateItems()

MCAPI void ContentManager::$generateItems ( ::ContentSource * source)
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.

◆ $refreshPackSources()

MCAPI ::Bedrock::Threading::Async< void > ContentManager::$refreshPackSources ( bool saveSources)
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.

◆ $reloadSources()

MCAPI ::Bedrock::Threading::Async< void > ContentManager::$reloadSources ( bool saveSources)
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.

◆ $reloadItems()

MCAPI void ContentManager::$reloadItems ( )
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.

◆ $reloadViews()

MCAPI void ContentManager::$reloadViews ( )
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.

◆ $populateDependencies()

MCAPI void ContentManager::$populateDependencies ( ) 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.

◆ $deleteContent() [1/2]

MCAPI void ContentManager::$deleteContent ( ::std::shared_ptr<::ContentItem const > const & contentItem)
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.

◆ $deleteContent() [2/2]

MCAPI void ContentManager::$deleteContent ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & contentItems)
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.

◆ $deleteContentFiles() [1/2]

MCAPI void ContentManager::$deleteContentFiles ( ::std::shared_ptr<::ContentItem const > const & contentItem)
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.

◆ $deleteContentFiles() [2/2]

MCAPI void ContentManager::$deleteContentFiles ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & contentItems)
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.

◆ $postDeleteContent() [1/2]

MCAPI void ContentManager::$postDeleteContent ( ::std::shared_ptr<::ContentItem const > const & contentItem)
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.

◆ $postDeleteContent() [2/2]

MCAPI void ContentManager::$postDeleteContent ( ::std::vector<::std::shared_ptr<::ContentItem const > > const & contentItems)
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.

◆ $generateContentId()

MCAPI uint64 ContentManager::$generateContentId ( )
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.

◆ $getWorldResourcePath()

MCAPI ::Core::PathBuffer<::std::string > const ContentManager::$getWorldResourcePath ( ::std::string const & levelId) 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.

◆ $getWorldBehaviorPath()

MCAPI ::Core::PathBuffer<::std::string > const ContentManager::$getWorldBehaviorPath ( ::std::string const & levelId) 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.

◆ $getWorldResourceFolder()

MCAPI ::Core::PathBuffer<::std::string > const ContentManager::$getWorldResourceFolder ( ::std::string const & levelId) 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.

◆ $getWorldBehaviorFolder()

MCAPI ::Core::PathBuffer<::std::string > const ContentManager::$getWorldBehaviorFolder ( ::std::string const & levelId) 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.

◆ $getWorldPath()

MCAPI ::Core::PathBuffer<::std::string > const ContentManager::$getWorldPath ( ::std::string const & levelId) 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.

◆ $getPremiumWorldTemplateFolder()

MCAPI ::Core::PathBuffer<::std::string > const & ContentManager::$getPremiumWorldTemplateFolder ( ::ContentIdentity const & templateId)
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.

◆ $getProxy()

MCAPI::ContentManagerProxy * ContentManager::$getProxy ( )
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.

◆ $beginAsyncInit()

MCAPI void ContentManager::$beginAsyncInit ( ::TaskGroup & taskGroup)
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.

◆ $isInitialized()

MCAPI bool ContentManager::$isInitialized ( ) 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.

◆ $onLanguageChanged()

MCAPI void ContentManager::$onLanguageChanged ( )
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.

◆ $refreshContentCatalogPackSource() [1/2]

MCAPI void ContentManager::$refreshContentCatalogPackSource ( )
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.

◆ $refreshContentCatalogPackSource() [2/2]

MCAPI::Bedrock::PubSub::Subscription ContentManager::$refreshContentCatalogPackSource ( ::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.

◆ $getFilePathManager()

MCAPI ::Bedrock::NotNullNonOwnerPtr<::Core::FilePathManager > ContentManager::$getFilePathManager ( )
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 ContentManager::$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.

◆ $onRealmsReset()

MCAPI void ContentManager::$onRealmsReset ( ::Realms::RealmId const realmsId)
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.

◆ $subscribeToSourcesReloadedAsyncCompleted()

MCAPI::Bedrock::PubSub::Subscription ContentManager::$subscribeToSourcesReloadedAsyncCompleted ( ::std::function< void()> && onSourcesReloadedAsyncCallback)
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.

◆ $getStorageContentItemProvider()

MCAPI ::std::shared_ptr<::StorageManager::ContentItemProvider > ContentManager::$getStorageContentItemProvider ( )
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.

◆ $getStorageContentHandler()

MCAPI::StorageManager::IContentHandler & ContentManager::$getStorageContentHandler ( )
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.

◆ $getStorageWorldConverter()

MCAPI ::std::shared_ptr<::StorageManager::WorldConverter > ContentManager::$getStorageWorldConverter ( )
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.

◆ $registerToReloadViews()

MCAPI::Bedrock::PubSub::Subscription ContentManager::$registerToReloadViews ( ::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.

◆ $registerToDeleteContent()

MCAPI::Bedrock::PubSub::Subscription ContentManager::$registerToDeleteContent ( ::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.

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