3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/models/ContentFlags.h"
7#include "mc/client/gui/screens/models/ContentManagerFactoryArgs.h"
8#include "mc/client/gui/screens/models/ContentType.h"
9#include "mc/client/gui/screens/models/IContentManagerFactory.h"
10#include "mc/client/gui/screens/models/IPackManagerContentQueries.h"
11#include "mc/client/resources/ContentCatalogPackSource.h"
12#include "mc/deps/core/file/PathBuffer.h"
13#include "mc/deps/core/resource/PackOrigin.h"
14#include "mc/deps/core/resource/PackType.h"
15#include "mc/deps/core/utility/NonOwnerPointer.h"
26class StoreCatalogRepository;
36namespace Core {
class Path; }
38namespace Realms {
struct Content; }
39namespace Realms {
struct RealmId; }
40namespace mce {
class UUID; }
55 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::StoreCatalogRepository>> mStoreCatalog;
56 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const>> mContentTierManager;
61 PackManagerContentQueriesImpl();
66 virtual ::ContentTierInfo getContentTierInfo() const ;
68 virtual ::std::
string const*
69 getStoreCatalogItemAvailableDateByPackIdentityAndType(::mce::UUID const& uuid) const ;
75 MCAPI PackManagerContentQueriesImpl(
76 ::Bedrock::NonOwnerPointer<::StoreCatalogRepository> storeCatalog,
77 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const> contentTierManager
85 ::Bedrock::NonOwnerPointer<::StoreCatalogRepository> storeCatalog,
86 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const> contentTierManager
93 MCAPI ::ContentTierInfo $getContentTierInfo() const;
95 MCAPI ::std::
string const*
96 $getStoreCatalogItemAvailableDateByPackIdentityAndType(::mce::UUID const& uuid) const;
114 ContentManagerFactoryImpl();
126 virtual ::
std::unique_ptr<::
ContentSource> createWorldPackManagerContentSource(
127 ::
std::
string const& worldID,
128 ::Core::PathBuffer<::
std::
string> worldPath,
129 ::ContentFlags flags,
134 virtual ::
std::unique_ptr<::
ContentSource> createRealmPackManagerContentSource(
136 ::ContentFlags flags,
140 virtual ::
std::unique_ptr<::
ContentSource> createRealmsWorldPackManagerContentSource(
141 ::Realms::RealmId realmId,
142 ::
std::vector<::Realms::Content>&& serviceAppliedContent,
143 ::ContentFlags flags,
149 ::ContentFlags flags,
154 createCompositePackSource(::
std::vector<::
PackSource*> sources) const ;
156 virtual ::
PackSource* getInPackagePackSource(::PackType type) const ;
158 virtual ::
PackSource* getDirectoryPackSource(::Core::
Path const& path, ::PackType type) const ;
161 createDirectoryPackSource(::Core::
Path const& path, ::PackType type, ::PackOrigin origin) const ;
164 createWorldTemplatePackSource(::mce::UUID const&
id, ::PackType type, ::PackOrigin origin) const ;
167 ::
std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>&& weakSourcesAsyncReloader,
171 virtual ::
PackSource& createWorldHistoryPackSource(::Core::
Path const& path, ::PackType type) const ;
175 virtual ::
std::unique_ptr<::Realms::RealmsServicePackSource> createRealmsServicePackSource(
178 ::
std::vector<::gsl::not_null<::
std::shared_ptr<::
Pack>>>&& servicePackData
181 virtual
bool allowsResourcePackDevelopment() const ;
183 virtual ::Bedrock::NonOwnerPointer<::
AppPlatform> getPlatform() const ;
193 ::ContentFlags flags,
214 MCAPI ::
std::unique_ptr<::
ContentSource> $createWorldPackManagerContentSource(
215 ::
std::
string const& worldID,
216 ::Core::PathBuffer<::
std::
string> worldPath,
217 ::ContentFlags flags,
222 MCAPI ::
std::unique_ptr<::
ContentSource> $createRealmPackManagerContentSource(
224 ::ContentFlags flags,
228 MCAPI ::
std::unique_ptr<::
ContentSource> $createRealmsWorldPackManagerContentSource(
229 ::Realms::RealmId realmId,
230 ::
std::vector<::Realms::Content>&& serviceAppliedContent,
231 ::ContentFlags flags,
237 ::ContentFlags flags,
242 $createCompositePackSource(::
std::vector<::
PackSource*> sources) const;
244 MCAPI ::
PackSource* $getInPackagePackSource(::PackType type) const;
246 MCAPI ::
PackSource* $getDirectoryPackSource(::Core::
Path const& path, ::PackType type) const;
249 $createDirectoryPackSource(::Core::
Path const& path, ::PackType type, ::PackOrigin origin) const;
252 $createWorldTemplatePackSource(::mce::UUID const&
id, ::PackType type, ::PackOrigin origin) const;
255 ::
std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>&& weakSourcesAsyncReloader,
259 MCAPI ::
PackSource& $createWorldHistoryPackSource(::Core::
Path const& path, ::PackType type) const;
263 MCAPI ::
std::unique_ptr<::Realms::RealmsServicePackSource> $createRealmsServicePackSource(
266 ::
std::vector<::gsl::not_null<::
std::shared_ptr<::
Pack>>>&& servicePackData
269 MCAPI
bool $allowsResourcePackDevelopment() const;
271 MCAPI ::Bedrock::NonOwnerPointer<::
AppPlatform> $getPlatform() const;
Definition CachedHostPackIdProvider.h:5
Definition CompositePackSource.h:17
Definition ContentCatalogPackSource.h:5
Definition ContentManagerFactoryImpl.h:13
static MCAPI void ** $vftable()
Definition ContentManagerFactoryImpl.h:5
static MCAPI void ** $vftable()
Definition ISourcesAsyncReloader.h:7
Definition ContentTierInfo.h:12
Definition IContentManagerFactory.h:5
Definition IContentTierManager.h:13
Definition PackSource.h:30
Definition RealmsServicePackSource.h:19
Definition ContentManagerFactoryArgs.h:5
Definition ContentSource.h:5
Definition InvalidPacksFilterGroup.h:8
Definition InvalidResourceSource.h:5
Definition PackManagerContentSourceArgs.h:5
Definition PackManagerContentSourceData.h:5
Definition RealmsUnknownPackSources.h:5
Definition WorldContentSource.h:5
Definition WorldTemplateSource.h:5