3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/resources/IContentCatalogPackSource.h"
7#include "mc/deps/core/resource/PackType.h"
8#include "mc/deps/core/threading/Async.h"
9#include "mc/deps/core/threading/SharedAsync.h"
10#include "mc/deps/core/utility/NonOwnerPointer.h"
18struct IEntitlementManager;
25 public ::std::enable_shared_from_this<::ContentCatalogPackSource> {
29 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager>> mEntitlementManager;
30 ::ll::TypedStorage<1, 1, bool> mEnabled;
31 ::ll::TypedStorage<1, 1, ::PackType const> mPackType;
32 ::ll::TypedStorage<1, 1, bool const> mHighPriorityIconRequests;
33 ::ll::TypedStorage<8, 16, ::Bedrock::Threading::SharedAsync<void>> mActiveFetch;
34 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mTaskGroup;
35 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IContentCatalogPackSourceService>> mCatalogService;
36 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::ContentManagerUtils::ISourcesAsyncReloader>> mWeakSourcesAsyncReloader;
41 ContentCatalogPackSource();
46 virtual ~ContentCatalogPackSource() ;
48 virtual void setEnabled(
bool enabled) ;
50 virtual ::PackSourceLoadResult _loadImpl(::PackSourceLoadOptions&&) ;
52 virtual ::PackType getPackType() const ;
54 virtual
void refreshCatalogItems(::IPackManifestFactory&) ;
60 MCAPI explicit ContentCatalogPackSource(::ContentCatalogPackSourceOptions options);
62 MCAPI ::Bedrock::Threading::Async<
void> _collectAllCatalogItems();
64 MCAPI ::Bedrock::Threading::Async<
void> _load();
70 MCAPI
void* $ctor(::ContentCatalogPackSourceOptions options);
82 MCFOLD
void $setEnabled(
bool enabled);
84 MCAPI ::PackSourceLoadResult $_loadImpl(::PackSourceLoadOptions&&);
86 MCFOLD ::PackType $getPackType() const;
88 MCAPI
void $refreshCatalogItems(::IPackManifestFactory&);
Definition ContentCatalogPackSource.h:5
static MCAPI void ** $vftable()
Definition ISourcesAsyncReloader.h:7
Definition IContentCatalogPackSource.h:5
Definition IPackManifestFactory.h:17
Definition TaskGroup.h:53
Definition ContentCatalogPackSourceOptions.h:5
Definition IContentCatalogPackSourceService.h:5
Definition PackSourceLoadOptions.h:5
Definition PackSourceLoadResult.h:5