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
bool isActive();
80 MCAPI ::DlcUIWrapperResult tick();
82 MCAPI
void tryDownload(
83 ::std::string
const& productId,
84 ::std::function<
void()> callback,
85 bool showProgressScreen,
87 bool showDownloadPrompt
90 MCAPI
void tryDownload(
91 ::std::vector<::std::string>
const& productIds,
92 ::std::function<
void()> callback,
93 bool showProgressScreen,
95 bool showDownloadPrompt
99 tryProcessPendingUpdatesFor(::PackIdVersion
const& worldTemplateIdentity, ::std::function<
void()> callback);
101 MCAPI
void tryValidateDlcForRealmsUpload(
102 ::std::string
const& levelId,
103 ::PackIdVersion
const& worldPackId,
104 ::std::function<
void()> callback
107 MCAPI
void tryValidateDlcForWorldLoad(
108 ::std::string
const& levelId,
109 ::PackIdVersion
const& worldPackId,
110 ::std::function<
void()> callback
113 MCAPI ~DlcUIWrapper();
120 ::IDlcValidation& dlcValidation,
121 ::IDlcBatcher& dlcBatcher,
122 ::ILevelListCache& levelListCache,
123 ::ContentAcquisition& contentAcquisition,
124 ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager>
const& worldTemplateManager,
125 ::IContentManager& contentManager,
126 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
127 ::IStoreCatalogRepository& storeCatalogRepository,
128 ::MainMenuScreenModel& mainMenuScreenModel,
129 ::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:55
Definition WorldTemplateManager.h:22
Definition DlcValidationState.h:5
Definition PackIdVersion.h:10