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;
62 virtual ::ContentTierInfo getContentTierInfo() const ;
64 virtual ::std::
string const*
65 getStoreCatalogItemAvailableDateByPackIdentityAndType(::mce::UUID const& uuid) const ;
71 MCAPI ::ContentTierInfo $getContentTierInfo() const;
73 MCAPI ::std::
string const*
74 $getStoreCatalogItemAvailableDateByPackIdentityAndType(::mce::UUID const& uuid) const;
81 ::ll::TypedStorage<8, 184, ::ContentManagerFactoryArgs> mArgs;
87 virtual ::std::unique_ptr<::WorldContentSource> createWorldContentSource() const ;
89 virtual ::std::unique_ptr<::WorldTemplateSource> createWorldTemplateSource() const ;
91 virtual ::std::unique_ptr<::InvalidResourceSource>
92 createInvalidResourceSource(::InvalidPacksFilterGroup const& filter) const ;
94 virtual ::std::unique_ptr<::ContentSource> createWorldPackManagerContentSource(
95 ::std::
string const& worldID,
96 ::Core::PathBuffer<::std::
string> worldPath,
98 ::std::vector<::PackManagerContentSourceData>&& data,
99 ::std::weak_ptr<::CachedHostPackIdProvider> provider
102 virtual ::std::unique_ptr<::ContentSource> createRealmPackManagerContentSource(
104 ::ContentFlags flags,
105 ::std::vector<::PackManagerContentSourceData>&& data
108 virtual ::std::unique_ptr<::ContentSource> createRealmsWorldPackManagerContentSource(
109 ::Realms::RealmId realmId,
110 ::std::vector<::Realms::Content>&& serviceAppliedContent,
111 ::ContentFlags flags,
112 ::std::vector<::PackManagerContentSourceData>&& data
115 virtual ::std::unique_ptr<::ContentSource> createPackManagerContentSource(
117 ::ContentFlags flags,
118 ::std::vector<::PackManagerContentSourceData>&& data
121 virtual ::std::unique_ptr<::CompositePackSource>
122 createCompositePackSource(::std::vector<::PackSource*> sources) const ;
124 virtual ::PackSource* getInPackagePackSource(::PackType type) const ;
126 virtual ::PackSource* getDirectoryPackSource(::Core::Path const& path, ::PackType type) const ;
128 virtual ::PackSource&
129 createDirectoryPackSource(::Core::Path const& path, ::PackType type, ::PackOrigin origin) const ;
131 virtual ::PackSource&
132 createWorldTemplatePackSource(::mce::UUID const&
id, ::PackType type, ::PackOrigin origin) const ;
134 virtual ::ContentCatalogPackSource& createContentCatalogPackSource(
135 ::std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>&& weakSourcesAsyncReloader,
139 virtual ::PackSource& createWorldHistoryPackSource(::Core::Path const& path, ::PackType type) const ;
141 virtual ::RealmsUnknownPackSources& getRealmsUnknownPackSources() const ;
143 virtual ::std::unique_ptr<::Realms::RealmsServicePackSource> createRealmsServicePackSource(
146 ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>&& servicePackData
149 virtual
bool allowsResourcePackDevelopment() const ;
151 virtual ::Bedrock::NonOwnerPointer<::AppPlatform> getPlatform() const ;
157 MCAPI ::PackManagerContentSourceArgs createPackManagerArgs(
159 ::ContentFlags flags,
160 ::std::vector<::PackManagerContentSourceData>&& data
167 MCAPI ::std::unique_ptr<::WorldContentSource> $createWorldContentSource() const;
169 MCAPI ::std::unique_ptr<::WorldTemplateSource> $createWorldTemplateSource() const;
171 MCAPI ::std::unique_ptr<::InvalidResourceSource>
172 $createInvalidResourceSource(::InvalidPacksFilterGroup const& filter) const;
174 MCAPI ::std::unique_ptr<::ContentSource> $createWorldPackManagerContentSource(
175 ::std::
string const& worldID,
176 ::Core::PathBuffer<::std::
string> worldPath,
177 ::ContentFlags flags,
178 ::std::vector<::PackManagerContentSourceData>&& data,
179 ::std::weak_ptr<::CachedHostPackIdProvider> provider
182 MCAPI ::std::unique_ptr<::ContentSource> $createRealmPackManagerContentSource(
184 ::ContentFlags flags,
185 ::std::vector<::PackManagerContentSourceData>&& data
188 MCAPI ::std::unique_ptr<::ContentSource> $createRealmsWorldPackManagerContentSource(
189 ::Realms::RealmId realmId,
190 ::std::vector<::Realms::Content>&& serviceAppliedContent,
191 ::ContentFlags flags,
192 ::std::vector<::PackManagerContentSourceData>&& data
195 MCAPI ::std::unique_ptr<::ContentSource> $createPackManagerContentSource(
197 ::ContentFlags flags,
198 ::std::vector<::PackManagerContentSourceData>&& data
201 MCAPI ::std::unique_ptr<::CompositePackSource>
202 $createCompositePackSource(::std::vector<::PackSource*> sources) const;
204 MCAPI ::PackSource* $getInPackagePackSource(::PackType type) const;
206 MCAPI ::PackSource* $getDirectoryPackSource(::Core::Path const& path, ::PackType type) const;
209 $createDirectoryPackSource(::Core::Path const& path, ::PackType type, ::PackOrigin origin) const;
212 $createWorldTemplatePackSource(::mce::UUID const&
id, ::PackType type, ::PackOrigin origin) const;
214 MCAPI ::ContentCatalogPackSource& $createContentCatalogPackSource(
215 ::std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>&& weakSourcesAsyncReloader,
219 MCAPI ::PackSource& $createWorldHistoryPackSource(::Core::Path const& path, ::PackType type) const;
221 MCAPI ::RealmsUnknownPackSources& $getRealmsUnknownPackSources() const;
223 MCAPI ::std::unique_ptr<::Realms::RealmsServicePackSource> $createRealmsServicePackSource(
226 ::std::vector<::gsl::not_null<::std::shared_ptr<::Pack>>>&& servicePackData
229 MCAPI
bool $allowsResourcePackDevelopment() const;
231 MCAPI ::Bedrock::NonOwnerPointer<::AppPlatform> $getPlatform() const;
Definition CachedHostPackIdProvider.h:5
Definition CompositePackSource.h:17
Definition ContentManagerFactoryImpl.h:13
Definition ContentManagerFactoryImpl.h:5
Definition ISourcesAsyncReloader.h:7
Definition ContentTierInfo.h:12
Definition IContentManagerFactory.h:5
Definition IContentTierManager.h:13
Definition PackSource.h:28
Definition RealmsServicePackSource.h:18
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