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 ;
71 virtual ~PackManagerContentQueriesImpl() ;
77 MCAPI PackManagerContentQueriesImpl(
78 ::Bedrock::NonOwnerPointer<::StoreCatalogRepository> storeCatalog,
79 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const> contentTierManager
87 ::Bedrock::NonOwnerPointer<::StoreCatalogRepository> storeCatalog,
88 ::Bedrock::NotNullNonOwnerPtr<::IContentTierManager const> contentTierManager
101 MCAPI ::ContentTierInfo $getContentTierInfo() const;
103 MCAPI ::std::
string const*
104 $getStoreCatalogItemAvailableDateByPackIdentityAndType(::mce::UUID const& uuid) const;
130 virtual ::
std::unique_ptr<::
ContentSource> createWorldPackManagerContentSource(
131 ::
std::
string const& worldID,
132 ::Core::PathBuffer<::
std::
string> worldPath,
133 ::ContentFlags flags,
138 virtual ::
std::unique_ptr<::
ContentSource> createRealmPackManagerContentSource(
140 ::ContentFlags flags,
144 virtual ::
std::unique_ptr<::
ContentSource> createRealmsWorldPackManagerContentSource(
145 ::Realms::RealmId realmId,
146 ::
std::vector<::Realms::Content>&& serviceAppliedContent,
147 ::ContentFlags flags,
153 ::ContentFlags flags,
158 createCompositePackSource(::
std::vector<::
PackSource*> sources) const ;
160 virtual ::
PackSource* getInPackagePackSource(::PackType type) const ;
162 virtual ::
PackSource* getDirectoryPackSource(::Core::
Path const& path, ::PackType type) const ;
165 createDirectoryPackSource(::Core::
Path const& path, ::PackType type, ::PackOrigin origin) const ;
168 createWorldTemplatePackSource(::mce::UUID const&
id, ::PackType type, ::PackOrigin origin) const ;
171 ::
std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>&& weakSourcesAsyncReloader,
175 virtual ::
PackSource& createWorldHistoryPackSource(::Core::
Path const& path, ::PackType type) const ;
179 virtual ::
std::unique_ptr<::Realms::RealmsServicePackSource> createRealmsServicePackSource(
182 ::
std::vector<::gsl::not_null<::
std::shared_ptr<::
Pack>>>&& servicePackData
185 virtual
bool allowsResourcePackDevelopment() const ;
187 virtual ::Bedrock::NonOwnerPointer<::
AppPlatform> getPlatform() const ;
197 ::ContentFlags flags,
212 MCAPI ::
std::unique_ptr<::
ContentSource> $createWorldPackManagerContentSource(
213 ::
std::
string const& worldID,
214 ::Core::PathBuffer<::
std::
string> worldPath,
215 ::ContentFlags flags,
220 MCAPI ::
std::unique_ptr<::
ContentSource> $createRealmPackManagerContentSource(
222 ::ContentFlags flags,
226 MCAPI ::
std::unique_ptr<::
ContentSource> $createRealmsWorldPackManagerContentSource(
227 ::Realms::RealmId realmId,
228 ::
std::vector<::Realms::Content>&& serviceAppliedContent,
229 ::ContentFlags flags,
235 ::ContentFlags flags,
240 $createCompositePackSource(::
std::vector<::
PackSource*> sources) const;
242 MCAPI ::
PackSource* $getInPackagePackSource(::PackType type) const;
244 MCAPI ::
PackSource* $getDirectoryPackSource(::Core::
Path const& path, ::PackType type) const;
247 $createDirectoryPackSource(::Core::
Path const& path, ::PackType type, ::PackOrigin origin) const;
250 $createWorldTemplatePackSource(::mce::UUID const&
id, ::PackType type, ::PackOrigin origin) const;
253 ::
std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>&& weakSourcesAsyncReloader,
257 MCAPI ::
PackSource& $createWorldHistoryPackSource(::Core::
Path const& path, ::PackType type) const;
261 MCAPI ::
std::unique_ptr<::Realms::RealmsServicePackSource> $createRealmsServicePackSource(
264 ::
std::vector<::gsl::not_null<::
std::shared_ptr<::
Pack>>>&& servicePackData
267 MCAPI
bool $allowsResourcePackDevelopment() const;
269 MCAPI ::Bedrock::NonOwnerPointer<::
AppPlatform> $getPlatform() const;
Definition CachedHostPackIdProvider.h:5
Definition CompositePackSource.h:16
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:5
Definition IContentManagerFactory.h:5
Definition IContentTierManager.h:13
Definition PackSource.h:28
Definition RealmsServicePackSource.h:18
Definition ContentManagerFactoryArgs.h:5
Definition ContentSource.h:5
Definition InvalidPacksFilterGroup.h:5
Definition InvalidResourceSource.h:5
Definition PackManagerContentSourceArgs.h:5
Definition PackManagerContentSourceData.h:5
Definition RealmsUnknownPackSources.h:5
Definition WorldContentSource.h:5
Definition WorldTemplateSource.h:5