3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/screens/DlcUIState.h"
7#include "mc/client/gui/screens/DlcUIWrapperResult.h"
8#include "mc/deps/core/utility/NonOwnerPointer.h"
17class IEntitlementManager;
19class IStoreCatalogRepository;
32 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DlcChecker>> mDlcChecker;
33 ::ll::TypedStorage<8, 16, ::std::shared_ptr<bool>> mExistenceTracker;
34 ::ll::TypedStorage<8, 8, ::ContentAcquisition&> mContentAcquisition;
35 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::DlcValidationState>> mDlcState;
36 ::ll::TypedStorage<8, 64, ::std::function<void()>> mOnCompleteCallback;
37 ::ll::TypedStorage<4, 4, ::DlcUIState> mDlcUIState;
38 ::ll::TypedStorage<8, 8, ::MainMenuScreenController&> mMainMenuScreenController;
39 ::ll::TypedStorage<8, 8, ::MainMenuScreenModel&> mMainMenuScreenModel;
40 ::ll::TypedStorage<8, 8, ::IDlcValidation&> mDlcValidation;
41 ::ll::TypedStorage<8, 8, ::IDlcBatcher&> mDlcBatcher;
42 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager>> mWorldTemplateManager;
43 ::ll::TypedStorage<8, 8, ::ILevelListCache&> mLevelListCache;
44 ::ll::TypedStorage<8, 8, ::IContentManager&> mContentManager;
45 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager>> mEntitlementManager;
46 ::ll::TypedStorage<8, 8, ::IStoreCatalogRepository&> mStoreCatalogRepository;
47 ::ll::TypedStorage<8, 8, ::gsl::not_null<::std::unique_ptr<::TaskGroup>>> mTaskGroup;
52 DlcUIWrapper& operator=(DlcUIWrapper
const&);
53 DlcUIWrapper(DlcUIWrapper
const&);
60 ::IDlcValidation& dlcValidation,
61 ::IDlcBatcher& dlcBatcher,
62 ::ILevelListCache& levelListCache,
63 ::ContentAcquisition& contentAcquisition,
64 ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager>
const& worldTemplateManager,
65 ::IContentManager& contentManager,
66 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
67 ::IStoreCatalogRepository& storeCatalogRepository,
68 ::MainMenuScreenModel& mainMenuScreenModel,
69 ::MainMenuScreenController& mainMenuScreenController
72 MCAPI
void _checkForCopiedPremiumWorldTemplate(::std::shared_ptr<::DlcValidationState> dlcState);
74 MCAPI
bool _continueAllowed(::std::shared_ptr<::DlcValidationState> dlcState)
const;
76 MCAPI
void _showDlcMissingContentKeyModal();
78 MCAPI ::DlcUIWrapperResult tick();
80 MCAPI
void tryDownload(
81 ::std::string
const& productId,
82 ::std::function<
void()> callback,
83 bool showProgressScreen,
85 bool showDownloadPrompt
88 MCAPI
void tryDownload(
89 ::std::vector<::std::string>
const& productIds,
90 ::std::function<
void()> callback,
91 bool showProgressScreen,
93 bool showDownloadPrompt
97 tryProcessPendingUpdatesFor(::PackIdVersion
const& worldTemplateIdentity, ::std::function<
void()> callback);
99 MCAPI
void tryValidateDlcForRealmsUpload(
100 ::std::string
const& levelId,
101 ::PackIdVersion
const& worldPackId,
102 ::std::function<
void()> callback
105 MCAPI
void tryValidateDlcForWorldLoad(
106 ::std::string
const& levelId,
107 ::PackIdVersion
const& worldPackId,
108 ::std::function<
void()> callback
111 MCAPI ~DlcUIWrapper();
118 ::IDlcValidation& dlcValidation,
119 ::IDlcBatcher& dlcBatcher,
120 ::ILevelListCache& levelListCache,
121 ::ContentAcquisition& contentAcquisition,
122 ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager>
const& worldTemplateManager,
123 ::IContentManager& contentManager,
124 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
125 ::IStoreCatalogRepository& storeCatalogRepository,
126 ::MainMenuScreenModel& mainMenuScreenModel,
127 ::MainMenuScreenController& mainMenuScreenController
Definition ContentAcquisition.h:5
Definition DlcChecker.h:5
Definition DlcUIWrapper.h:5
Definition IContentManager.h:5
Definition IDlcBatcher.h:5
Definition IDlcValidation.h:5
Definition ILevelListCache.h:27
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
Definition TaskGroup.h:57
Definition WorldTemplateManager.h:21
Definition DlcValidationState.h:5
Definition PackIdVersion.h:10