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&);
64 ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager>
const& worldTemplateManager,
66 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
67 ::IStoreCatalogRepository& storeCatalogRepository,
74 MCNAPI
bool _continueAllowed(::std::shared_ptr<::DlcValidationState>
const dlcState)
const;
78 MCNAPI ::DlcUIWrapperResult
tick();
81 ::std::string
const& productId,
82 ::std::function<
void()> callback,
83 bool showProgressScreen,
85 bool showDownloadPrompt
89 ::std::vector<::std::string>
const& productIds,
90 ::std::function<
void()> callback,
91 bool showProgressScreen,
93 bool showDownloadPrompt
100 ::std::string
const& levelId,
102 ::std::function<
void()> callback
106 ::std::string
const& levelId,
108 ::std::function<
void()> callback
122 ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager>
const& worldTemplateManager,
124 ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager> entitlementManager,
125 ::IStoreCatalogRepository& storeCatalogRepository,
Definition ContentAcquisition.h:5
Definition DlcChecker.h:5
Definition DlcUIWrapper.h:5
MCAPI DlcUIWrapper(::IDlcValidation &dlcValidation, ::IDlcBatcher &dlcBatcher, ::ILevelListCache &levelListCache, ::ContentAcquisition &contentAcquisition, ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager > const &worldTemplateManager, ::IContentManager &contentManager, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, ::IStoreCatalogRepository &storeCatalogRepository, ::MainMenuScreenModel &mainMenuScreenModel, ::MainMenuScreenController &mainMenuScreenController)
MCAPI::DlcUIWrapperResult tick()
MCAPI void tryDownload(::std::string const &productId, ::std::function< void()> callback, bool showProgressScreen, bool showCloseButton, bool showDownloadPrompt)
MCAPI bool _continueAllowed(::std::shared_ptr<::DlcValidationState > const dlcState) const
MCAPI void _checkForCopiedPremiumWorldTemplate(::std::shared_ptr<::DlcValidationState > dlcState)
MCAPI void tryValidateDlcForWorldLoad(::std::string const &levelId, ::PackIdVersion const &worldPackId, ::std::function< void()> callback)
MCAPI void tryProcessPendingUpdatesFor(::PackIdVersion const &worldTemplateIdentity, ::std::function< void()> callback)
MCAPI void tryValidateDlcForRealmsUpload(::std::string const &levelId, ::PackIdVersion const &worldPackId, ::std::function< void()> callback)
MCAPI void * $ctor(::IDlcValidation &dlcValidation, ::IDlcBatcher &dlcBatcher, ::ILevelListCache &levelListCache, ::ContentAcquisition &contentAcquisition, ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager > const &worldTemplateManager, ::IContentManager &contentManager, ::Bedrock::NotNullNonOwnerPtr<::IEntitlementManager > entitlementManager, ::IStoreCatalogRepository &storeCatalogRepository, ::MainMenuScreenModel &mainMenuScreenModel, ::MainMenuScreenController &mainMenuScreenController)
MCAPI void tryDownload(::std::vector<::std::string > const &productIds, ::std::function< void()> callback, bool showProgressScreen, bool showCloseButton, bool showDownloadPrompt)
MCAPI void _showDlcMissingContentKeyModal()
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:85
Definition WorldTemplateManager.h:20
Definition DlcValidationState.h:5
Definition PackIdVersion.h:10