3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/client/gui/screens/models/DlcBatchCacheModel.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
15struct IEntitlementManager;
18struct IStoreCatalogItem;
19struct IStoreCatalogRepository;
21namespace mce {
class UUID; }
29 ::ll::TypedStorage<8, 72, ::DlcBatchCacheModel> mDlcBatchCacheModel;
30 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ISkinRepository>> mSkinRepository;
31 ::ll::TypedStorage<8, 8, ::SkinRepositoryClientInterface&> mSkinRepositoryClientInterface;
32 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager>> mEntitlementManager;
33 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository>> mStoreCatalogRepository;
34 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::persona::DlcImportTracker>>> mTrackedImports;
35 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::SkinPackModel>>> mSkinPacks;
36 ::ll::TypedStorage<8, 8, uint64> mStartFetchIndex;
37 ::ll::TypedStorage<8, 8, uint64> mVisibleEndRange;
38 ::ll::TypedStorage<4, 4, uint> mVisiblePacks;
39 ::ll::TypedStorage<4, 4, uint> mMaxPacksPerFetch;
40 ::ll::TypedStorage<4, 4, int> mSideLoadedPacksCollected;
45 SDLSkinPackCollectionModel& operator=(SDLSkinPackCollectionModel
const&);
46 SDLSkinPackCollectionModel(SDLSkinPackCollectionModel
const&);
47 SDLSkinPackCollectionModel();
52 MCAPI SDLSkinPackCollectionModel(
53 ::Bedrock::NotNullNonOwnerPtr<::IContentAcquisition> contentAcquisition,
54 ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository> storeCatalog,
55 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
56 ::std::shared_ptr<::ISkinRepository> skinRepository,
57 ::ISkinRepositoryClientInterface& skinRepositoryClientInterface
60 MCAPI
void _addSkinPackModel(::mce::UUID
const& packId,
int index);
62 MCAPI
void _collectLegacySkins();
64 MCAPI
void _extractDlcIdFromOffer(::std::vector<::DlcId>& dlcIds, ::IStoreCatalogItem
const& calatogItem);
66 MCAPI uint64 collectLegacyAndSideLoadedSkinPacks();
68 MCAPI
void collectOffers(::std::vector<::gsl::not_null<::IStoreCatalogItem*>>
const& offers);
70 MCAPI uint64 collectSkinsForOffline(
bool collectOwnedSkins, ::mce::UUID
const& packId);
72 MCAPI
void tick(::ui::DirtyFlag& dirtyFlags);
74 MCAPI ~SDLSkinPackCollectionModel();
81 ::Bedrock::NotNullNonOwnerPtr<::IContentAcquisition> contentAcquisition,
82 ::Bedrock::NotNullNonOwnerPtr<::IStoreCatalogRepository> storeCatalog,
83 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
84 ::std::shared_ptr<::ISkinRepository> skinRepository,
85 ::ISkinRepositoryClientInterface& skinRepositoryClientInterface
Definition SDLSkinPackCollectionModel.h:5
Definition SkinPackModel.h:5
Definition IContentAcquisition.h:5
Definition ISkinRepositoryClientInterface.h:5
Definition ISkinRepository.h:5
Definition SkinRepositoryClientInterface.h:5
Definition DlcImportTracker.h:7