3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/StoreNavigationOrigin.h"
7#include "mc/client/gui/screens/controllers/ClassroomSetting.h"
8#include "mc/client/gui/screens/controllers/EduShareMethodType.h"
9#include "mc/client/gui/screens/controllers/EduShareUriType.h"
10#include "mc/client/gui/screens/controllers/MarketplacePassTabIndex.h"
11#include "mc/client/gui/screens/controllers/SettingsScreenMode.h"
12#include "mc/client/gui/screens/controllers/SlotSelectedAction.h"
13#include "mc/client/gui/screens/models/IMainMenuScreenModel.h"
14#include "mc/client/gui/screens/models/InstantiationResult.h"
15#include "mc/client/gui/screens/models/MinecraftScreenModel.h"
16#include "mc/client/gui/screens/models/PlayScreenDefaultTab.h"
17#include "mc/client/network/NetworkFilter.h"
18#include "mc/client/services/catalog/RequirementCategory.h"
19#include "mc/client/social/MultiplayerServiceIdentifier.h"
20#include "mc/client/store/iap/PurchasePath.h"
21#include "mc/client/store/sidebar/Type.h"
22#include "mc/client/world/JoinServerWorldResult.h"
23#include "mc/deps/core/threading/Async.h"
24#include "mc/deps/core/threading/SharedAsync.h"
25#include "mc/deps/core/threading/TaskGroup.h"
26#include "mc/deps/core/utility/NonOwnerPointer.h"
27#include "mc/deps/input/enums/RawInputType.h"
28#include "mc/events/IMinecraftEventing.h"
29#include "mc/identity/IdentityType.h"
30#include "mc/platform/brstd/move_only_function.h"
31#include "mc/util/DownloadError.h"
32#include "mc/util/UploadState.h"
33#include "mc/world/level/storage/StorageVersion.h"
47class IStoreCatalogItem;
55class OfferCollectionComponent;
58class PlatformOfferTransactionContext;
62class RealmsTransactionContext;
69class SkinPickerUpsellTreatmentQuery;
70class StoreCatalogItem;
71class StoreCatalogRepository;
72class StoreSearchQuery;
73class TransactionContext;
87struct PlatformOfferPurchaseDetails;
89struct RealmsPurchaseDetails;
91struct SubmitItemRatingResult;
93namespace Bedrock::Http {
class Status; }
96namespace Core {
class Path; }
99namespace Realms {
struct RealmId; }
100namespace Realms {
struct World; }
102namespace Realms::Stories {
class RealmEvent; }
104namespace Social {
class User; }
107namespace mce {
class UUID; }
114 ::ll::TypedStorage<8, 336, ::TaskGroup> mTaskGroup;
115 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::MinecoinCatalogModel>> mMinecoinCatalogModel;
116 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::WorldSeedCatalogModel>> mWorldSeedCatalogModel;
117 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::WorldFileDownloadManager>> mFileDownloadManager;
118 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mFileUploadTaskGroup;
119 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Bedrock::Threading::SharedAsync<void>>> mPreviousUpload;
120 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ResourcePackPathLifetimeHelpers::ResourcePackPathCache>>
121 mResourcePackPathCache;
122 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager>> mWorldTemplateManager;
123 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::AnnouncementSurface>> mLoginAnnouncementSurface;
124 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::AnnouncementSurface>> mMarketplaceAnnouncementSurface;
125 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::DlcChecker>> mDlcChecker;
126 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::LegacyWorldConverter>> mLegacyWorldConverter;
131 MainMenuScreenModel();
136 virtual ~MainMenuScreenModel() ;
138 virtual void navigateToDlcProgressScreen(
139 ::std::vector<::DlcId>
const& dlcIds,
140 ::std::function<
void(
bool,
bool)> callback,
141 bool showCloseButton,
142 bool processingUpdates,
143 bool requireCancelToExit
146 virtual ::std::string
const& getLastPoppedScreenName() const ;
148 virtual ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> getStoreCatalogRepository() const ;
150 virtual
bool doesPlatformSupportRealms() const ;
152 virtual
bool isSelectedSkinInitialized() const ;
154 virtual
void repopulateWorldTemplates() ;
156 virtual ::WorldTemplateInfo const* findWorldTemplateByUUID(::std::vector<::mce::UUID> const& packUUIDs) const
159 virtual
bool isPackIdInRealmsPlus(::std::
string const& packId) const ;
161 virtual
float getStoreNetworkFailureTimeout() const ;
163 virtual
bool isInGame() const ;
165 virtual ::IMinecraftEventing& getMinecraftEventing() const;
167 virtual
bool isAdhocEnabled() const ;
169 virtual
bool isNetworkEnabled(::NetworkFilter withFilter) const ;
171 virtual
bool platformTTSExists() const ;
177 MCAPI explicit MainMenuScreenModel(::MinecraftScreenModelContext context);
179 MCAPI
void _showAnnouncementIfAvailable(::Bedrock::NonOwnerPointer<::AnnouncementSurface> surface);
181 MCAPI
bool canDisableRecipeUnlockingAsDefault() const;
183 MCAPI
void cancelCreateRealmsWorld();
185 MCAPI
void checkAndPostUnpublishedRealmEventsToRealm(
186 ::Realms::RealmId realmId,
187 ::std::function<
void(::Realms::Stories::RealmEvent, ::Clubs::FeedItem)> onSuccessfulPostToRealm
190 MCAPI
bool checkStoreForAvailableUpdates() const;
192 MCAPI
void clearAllUserCache();
194 MCAPI
void clearScreenshotsCache();
196 MCAPI
void connectToExperience(
197 ::ExperienceConnectionData data,
198 ::std::function<
void(::World::JoinServerWorldResult)> onErrorCallback
201 MCAPI ::std::shared_ptr<::CatalogCollection>
202 createCatalogCollection(::std::vector<::std::shared_ptr<::SearchQuery>> const& queries,
int maxVisibleOffers);
204 MCAPI ::std::shared_ptr<::CatalogCollection>
205 createCatalogCollection(::StoreSearchQuery const& query,
int maxVisibleOffers);
207 MCAPI ::std::vector<::EDULibraryCategory> createLibraryCategoryPage(::std::vector<::std::
string> const& pages);
209 MCAPI ::std::shared_ptr<::LibraryCollection>
210 createLibraryCollection(::std::shared_ptr<::LibraryCollectionConfig> config);
212 MCAPI ::std::shared_ptr<::WorldFileDownloadManager> createLibraryWorldFileDownloadManager();
214 MCAPI ::std::shared_ptr<::ResourcePackFileUploadManager> createResourcePackFileUploadManager();
216 MCAPI ::std::shared_ptr<::WorldFileUploadManager> createWorldFileUploadManager();
218 MCAPI
void cycleNextDebugOverlayPage();
220 MCAPI
void cyclePreviousDebugOverlayPage();
222 MCAPI
void dismissNewPlayerFlow();
224 MCAPI
void fetchContentInRealmsPlus(::std::function<
void()> callback);
226 MCAPI
void fetchLibraryWorldSize(::std::shared_ptr<::LessonItem> lessonItem);
228 MCAPI
void fireClassroomSettingUpdated(::ClassroomSetting classroomSetting, ::SettingsScreenMode settingMode) const;
231 fireEventControlRemappedByPlayer(::std::
string const& actionName, ::RawInputType inputType,
int keyCode) const;
233 MCAPI
void fireEventRealmDownload(
234 ::std::
string const& correlationId,
235 ::std::
string const& downloadStage,
241 MCAPI
void fireEventRealmUpload(
242 ::std::
string const& correlationId,
243 ::std::
string const& uploadStage,
250 MCAPI
void fireEventUnfulfilledPurchaseFound(::PlatformOfferPurchaseDetails& unfulfilledPurchase);
252 MCAPI
void fireLibraryButtonPressedEvent(
253 ::std::
string const& productId,
254 ::std::
string const& worldName,
255 ::std::
string const& buttonAction
258 MCAPI
void fireRealmConnectionEventGenericLambdaCalled(
259 ::IMinecraftEventing::RealmConnectionFlow flow,
260 ::IMinecraftEventing::RealmConnectionLambda connectionLamda,
261 ::IMinecraftEventing::RealmConnectionResult result
264 MCAPI
void fireRealmConnectionEventStart(::IMinecraftEventing::RealmConnectionFlow screen);
266 MCAPI
void fireShareButtonPressedEvent(
267 ::std::
string const& location,
268 ::EduShareUriType shareType,
269 ::EduShareMethodType methodType,
270 bool includesResource
273 MCAPI
void forcePersonaServiceSync() const;
275 MCAPI
bool fulfillPriorPlatformOfferPurchase(
276 ::std::weak_ptr<::Purchase> purchase,
277 ::std::unique_ptr<::PlatformOfferTransactionContext> context
280 MCAPI
bool fulfillPriorRealmsPurchase(
281 ::std::weak_ptr<::Purchase> purchase,
282 ::std::unique_ptr<::RealmsTransactionContext> context
285 MCAPI ::Bedrock::NotNullNonOwnerPtr<::IContentAccessibilityProvider const> getAccessibilityProvider() const;
287 MCFOLD ::std::shared_ptr<::FlightingService> getFlightingService() const;
289 MCFOLD ::LegacyWorldConverter& getLegacyWorldConverter();
291 MCAPI ::EDULibraryCategory* getLibraryCategory(::std::
string const& name);
293 MCAPI ::std::shared_ptr<::World::LocalWorldList> getLocalWorldList() const;
295 MCAPI ::MinecoinCatalogModel& getMinecoinCatalogModel();
297 MCFOLD ::Bedrock::Threading::Async<
bool> getNeedsOfflineAuthCode();
299 MCAPI ::std::string_view getNewPlayerFlowTargetRoute() const;
301 MCAPI ::std::shared_ptr<::Social::User> getPrimaryUser() const;
303 MCAPI ::std::shared_ptr<::Realms::Stories::FacetStateManager> const getRealmsStoriesFacetStateManager() const;
305 MCAPI ::std::shared_ptr<::Realms::RealmsWorldContext> const getRealmsWorldContext() const;
307 MCAPI ::SkinPackCollectionModel& getSkinPackCollection();
309 MCAPI ::std::shared_ptr<::SkinPickerUpsellTreatmentQuery>
310 getSkinPickerUpsellTreatmentQuery(::std::function<
void(::SearchQuery const*)> callback) const;
312 MCAPI ::StoreCatalogItem& getStoreCatalogItemByProductId(::std::
string const& productId);
314 MCAPI
bool getStoreRequiresRestoreButton() const;
316 MCAPI
bool getStoreShouldHideUpdateRow() const;
318 MCAPI
bool getStoreSupportsSubscriptions() const;
320 MCAPI ::std::
string getSunsettingText();
322 MCAPI
bool getUnfulfilledPlatformOfferPurchase(::PlatformOfferPurchaseDetails& details);
324 MCAPI
bool getUnfulfilledRealmsPurchase(::RealmsPurchaseDetails& details);
326 MCAPI
int getUserCoinBalance() const;
328 MCAPI ::std::
string getUserCoinBalanceAsString() const;
330 MCFOLD ::std::
string const getUserDisplayName() const;
332 MCAPI ::WorldFileDownloadManager& getWorldFileDownloadManager();
334 MCAPI ::WorldSeedCatalogModel& getWorldSeedCatalogModel();
336 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::WorldTemplateManager> getWorldTemplateManager() const;
338 MCAPI
bool hasDismissedNewPlayerFlow() const;
340 MCAPI
bool hasSeenSonyTokensPopup() const;
342 MCAPI
void instantiateTemplate(
343 ::PackManifest const& manifest,
344 ::std::function<
void(::LevelSummary*, ::InstantiationResult)> callback
347 MCAPI
bool isAbleToFetch(
bool signInFailed) const;
349 MCAPI
bool isAppStoreReady() const;
351 MCAPI
bool isConnectedToThirdPartyServer() const;
353 MCFOLD
bool isGamePlayTipsEnabled() const;
355 MCAPI
bool isMarketplacePassTrialAvailable() const;
357 MCAPI
bool isNewPlayerPathV3ABCTest() const;
359 MCAPI
bool isPlatformServiceMultiplayerConnected() const;
361 MCAPI
bool isPrimaryUser() const;
363 MCAPI
bool isRealmsCachedTrialAvailable() const;
365 MCAPI
bool isRealmsTrialOfferAvailable() const;
367 MCAPI
bool isResourcePackOnStack(::PackIdVersion const& requiredPackId) const;
369 MCAPI
bool isSelectedSkinInitializedWithoutTimedOut() const;
371 MCAPI
bool isServiceMultiplayerAvailableAndConnected(::Social::MultiplayerServiceIdentifier service) const;
373 MCAPI
bool isSidebarNavigationLayoutActive(::sidebar::navigationLayout::Type layoutType) const;
375 MCAPI
bool isSkinPackNew(::SkinPackModel const& skinPackModel) const;
377 MCAPI
bool isStoreDisabled() const;
379 MCAPI
void joinRealmWorldWithRoute(
380 ::std::
string const& realmId,
381 ::IMinecraftEventing::RealmConnectionFlow realmConnectionFlow
384 MCAPI
void launchSunsettingUri();
386 MCAPI
bool meetsClientRequirement(::RequirementCategory category, ::std::
string const& requirement) const;
388 MCAPI
void navigateToAdhocScreen();
390 MCAPI
void navigateToApplyResourcePacksScreen(::std::function<
void(::MinecraftScreenModel&)> applyPacks);
392 MCAPI
void navigateToBundleWarningScreen(
393 ::IStoreCatalogItem const& catalogItem,
394 ::OfferCollectionComponent const& bundle,
395 ::std::function<
void()> onPurchaseCallback
398 MCAPI
void navigateToChooseRealmScreen(
399 ::std::function<
void(::Realms::World)> callback,
400 ::SlotSelectedAction action,
401 ::std::function<
void()> onCancelCallback
404 MCAPI
void navigateToCoinPurchaseScreen(
405 ::std::
string const& coinPurchaseScreenPageId,
407 ::std::function<
void(
bool,
int)> callback
410 MCAPI
void navigateToContentLogHistoryScreen();
412 MCAPI
void navigateToCreateWorldUpsellScreen(
bool firstTimeShown, ::std::
string const& additionalScreenInfo);
414 MCAPI
void navigateToEDUFetchProgressHandler(::std::shared_ptr<::PlayScreenModel> model);
416 MCAPI
void navigateToEDUFetchServersProgressHandler(
417 ::Bedrock::NonOwnerPointer<::EDUServersScreenController> eduServersScreenController
420 MCAPI
void navigateToEDULibraryCategoryScreen(
421 ::std::
string const& title,
422 ::std::
string const& icon,
423 ::std::
string const& description,
424 ::std::
string const& screenshotRatio,
426 ::std::vector<::EDULibraryCategory> const& categories,
430 MCAPI
void navigateToEDULibraryRoot();
432 MCAPI
void navigateToEDUPlayScreen();
434 MCAPI
void navigateToEDUServerResolvingProgressHandler(
435 ::Social::EduDedicatedServerDetails const& details,
436 ::std::
string const& passcode,
437 ::std::shared_ptr<::PlayScreenModel> model,
438 ::brstd::move_only_function<
void()>& reopenPasscodeEntry
441 MCAPI
void navigateToEDUServersScreen();
443 MCAPI
void navigateToEDUUploadProgressHandler(
444 ::std::
string const& levelId,
445 ::std::
string const& levelName,
446 ::Bedrock::NonOwnerPointer<::EduCloud::IEduCloudSaveSystem> eduCloudSaveSystem,
447 ::std::optional<::CloudSaveLevelInfo> cloudSaveInfo
450 MCAPI
void navigateToEDUWorldTemplatesScreen();
452 MCAPI
void navigateToEDUWorldsScreen(
bool fromTemplatesScreen);
455 navigateToExpandedSkinPackScreen(::SkinPackModel& skinPackModel, ::SkinPackCollectionModel& skinPackCollection);
457 MCAPI
void navigateToFeaturedWorld();
459 MCAPI
void navigateToFileDownloadScreenAsync(
460 uint64 estimatedDiskWriteSize,
461 ::std::
string const& realmID,
463 ::std::
string const& realmName,
464 ::std::
string const& realmVersion,
465 ::std::
string const& realmVersionName,
466 ::std::function<
void(
bool)> callback
469 MCAPI
void navigateToGammaCalibrationScreen();
471 MCAPI
void navigateToLibraryItemScreen(::std::shared_ptr<::LibraryItem> item);
473 MCAPI
void navigateToLibraryItemScreen(::std::
string itemId);
475 MCAPI
void navigateToLibraryScreen(::std::shared_ptr<::LibraryCollection> collection);
477 MCAPI
void navigateToLibrarySearchScreen(
478 ::std::shared_ptr<::LibraryCollection> collection,
479 ::std::
string const& libraryTitle,
480 ::std::
string const& libraryIcon
483 MCAPI
void navigateToLibraryTagScreen(
484 ::std::shared_ptr<::LibraryCollection> collection,
485 ::std::
string const& libraryTitle,
486 ::std::
string const& libraryIcon,
487 ::std::
string const& libraryPageDescription
490 MCAPI
void navigateToLibraryWorldScreen(
491 ::std::shared_ptr<::LibraryCollection> collection,
492 ::std::
string const& libraryTitle,
493 ::std::
string const& libraryIcon,
494 ::std::
string const& libraryPageDescription,
495 ::std::
string const& categoryTitle
498 MCAPI
void navigateToLocalWorldPickerScreen(
499 ::std::
string const& realmID,
501 ::std::function<
void(::UploadState, ::Realms::World)> callback
504 MCAPI
void navigateToMakeInfiniteScreen(::LevelSummary const& editedLevel, ::StorageVersion storageVersion);
506 MCAPI
void navigateToManifestValidationScreen(
507 ::ResourceLocation const& resourceLocation,
508 ::std::shared_ptr<::PackContentItem const> const& contentItem
511 MCAPI
void navigateToMarketplacePassPDPScreen(
512 ::MarketplacePassTabIndex tabIndex,
513 ::sidebar::navigationLayout::Type sidebarLayoutType
516 MCAPI
void navigateToMarketplacePassPDPViewAllPacksScreen();
518 MCAPI
void navigateToMarketplacePassPurchaseAmazonDeviceWarningScreen();
520 MCAPI
void navigateToMarketplacePassPurchaseWarningScreen();
522 MCAPI
void navigateToMarketplacePassUpsellScreen();
524 MCAPI
void navigateToMarketplacePassWelcomeScreen();
526 MCAPI
void navigateToOreUIChooseRealmSubscriptionScreen();
528 MCAPI
void navigateToOreUIChooseSlotScreen(::std::
string const& realmId);
530 MCAPI
void navigateToOreUIRealmsCreatePreviewWithOnlyOneSubscriptionScreen();
532 MCAPI
void navigateToPackSettingsScreen(::PackSettingsInfo packSettingsInfo);
534 MCAPI
void navigateToPlayScreen(::PlayScreenDefaultTab tab);
536 MCAPI
void navigateToPromotionAction(::ExperiencePromotion const& promotion);
538 MCAPI
void navigateToPurchaseOfferScreen(::IStoreCatalogItem const& item, ::StoreNavigationOrigin origin,
bool);
540 MCAPI
void navigateToPurchaseOfferScreen(
541 ::std::
string const& productId,
542 ::StoreNavigationOrigin origin,
543 ::std::
string const&,
548 navigateToPurchaseOfferScreen(::mce::UUID const& uuid, ::StoreNavigationOrigin origin, ::std::
string const&,
bool);
551 navigateToRealmsAllowListScreen(::Realms::World const& world, ::std::function<
void()> followUpActionAfterCreation);
553 MCAPI
void navigateToRealmsCreateScreen(::RealmsCreateParams const& createParams);
555 MCAPI
bool navigateToRealmsOffers(::StoreDataDrivenScreenParams const& params);
557 MCAPI
void navigateToRealmsPDPViewAllPacksScreen();
559 MCAPI
void navigateToRealmsPendingInvitesScreen(
bool hasPendingInvites);
561 MCAPI
void navigateToRealmsPlusPurchaseWarningScreen(::std::function<
void()> callback);
563 MCAPI
void navigateToRealmsWarningScreen();
565 MCAPI
void navigateToRealmsWorldProgressScreen(
566 ::std::
string const& uniqueEventName,
567 ::std::unique_ptr<::ProgressHandler> connectHandler,
568 ::std::unique_ptr<::ProgressHandler> progressHandler,
569 ::std::function<
void()> onlineSafetyCancelledCallback
572 MCAPI
void navigateToStorageSpaceWarningScreen(::std::
string const& message);
574 MCAPI
void navigateToStoreInventoryScreen();
576 MCAPI
void navigateToStoreSearchScreen(::std::
string const& searchText, ::std::
string const& mPackTypeFilter);
578 MCAPI
void navigateToStoreSearchScreen(
579 ::LinksToStyle const& linksToStyle,
580 ::std::
string const& searchText,
581 ::std::
string const& packTypeFilter
584 MCAPI
void navigateToSubmitFeedbackScreen(::std::
string const& itemId);
586 MCAPI
void navigateToSunsettingScreen(::std::
string title);
588 MCAPI
void navigateToUGCViewerScreen(
589 ::std::function<
void(::std::
string const&, ::std::
string const&, ::Core::Path const&)> closeCallback
592 MCAPI
void navigateToUploadPackFileProgressScreen(
593 ::std::
string const& realmID,
594 ::Core::Path const& path,
597 ::std::function<
void(::UploadState, ::Realms::World)> uploadPackCallback
601 navigateToWorldConversionCompleteScreen(::std::
string const& levelId, ::std::function<
void()> cancelCallback);
603 MCAPI ::std::unique_ptr<::DlcUIWrapper> newDlcUIWrapper(::MainMenuScreenController& controller);
605 MCAPI
void performPlayerSafetyScanRequest(
606 ::std::
string const& feedback,
607 ::std::function<
void(::Bedrock::Http::Status const&,
bool)> callback
610 MCAPI
bool prepareAppStoreForPurchases(::std::function<
void(
bool)> callback);
613 purchaseMarketplacePass(::std::
string const& productSku, ::std::unique_ptr<::TransactionContext>&& context);
615 MCAPI
bool purchasePlatformOffer(
616 ::PlatformOfferModel const& platformOfferModel,
617 ::std::unique_ptr<::TransactionContext>&& context,
621 MCAPI
void quickPlay();
623 MCAPI
void redeemRealmsCatalogOffer(::std::
string const& productId, ::std::function<
void(
bool)> outerCallback);
625 MCAPI
void refreshUserInventory() const;
627 MCAPI ::Bedrock::PubSub::Subscription
628 registerPrimaryUserSignInSubscriber(::std::function<
void(uint, ::Social::IdentityType)> listener);
630 MCFOLD ::Bedrock::Threading::Async<
bool> requestOfflineAuthCode();
632 MCAPI
void setDeepLinkListenerMainMenuParameters(::std::function<
void(::DownloadError const&)> onDownloadError);
634 MCAPI
void setHasSeenSonyTokenPopup(
bool newValue);
636 MCAPI
void setPersonaLegacySlotSkin(::SkinHandle const& skin) const;
638 MCAPI
void setStoreCatalogItemViewed(::IStoreCatalogItem const& item) const;
640 MCAPI
void setStoreCatalogItemViewed(::std::
string const& productId) const;
642 MCAPI
void showLoginAnnouncementIfAvailable();
644 MCAPI
void showMarketplaceAnnouncementIfAvailable();
646 MCAPI
void submitReviewFor(::std::
string const& productId,
int rating, ::std::function<
void()> successCallback);
648 MCAPI ::Bedrock::Threading::Async<::SubmitItemRatingResult>
649 submitReviewForEntitlementManager(::std::
string const& productId,
int rating);
651 MCAPI
bool supportsFliteTTS() const;
653 MCAPI
bool supportsXboxLiveAchievements() const;
655 MCAPI
void uploadLocalWorldFile(
656 ::std::
string const& realmID,
657 ::std::
string const& worldID,
659 ::std::function<
void(::UploadState, ::Realms::World)> callback
666 MCAPI
void* $ctor(::MinecraftScreenModelContext context);
678 MCAPI
void $navigateToDlcProgressScreen(
679 ::std::vector<::DlcId> const& dlcIds,
680 ::std::function<
void(
bool,
bool)> callback,
681 bool showCloseButton,
682 bool processingUpdates,
683 bool requireCancelToExit
686 MCAPI ::std::
string const& $getLastPoppedScreenName() const;
688 MCFOLD ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> $getStoreCatalogRepository() const;
690 MCFOLD
bool $doesPlatformSupportRealms() const;
692 MCFOLD
bool $isSelectedSkinInitialized() const;
694 MCAPI
void $repopulateWorldTemplates();
696 MCAPI ::WorldTemplateInfo const* $findWorldTemplateByUUID(::std::vector<::mce::UUID> const& packUUIDs) const;
698 MCAPI
bool $isPackIdInRealmsPlus(::std::
string const& packId) const;
700 MCFOLD
float $getStoreNetworkFailureTimeout() const;
702 MCFOLD
bool $isInGame() const;
704 MCFOLD ::IMinecraftEventing& $getMinecraftEventing() const;
706 MCAPI
bool $isAdhocEnabled() const;
708 MCAPI
bool $isNetworkEnabled(::NetworkFilter withFilter) const;
710 MCFOLD
bool $platformTTSExists() const;
Definition AnnouncementSurface.h:5
Definition Subscription.h:10
Definition CatalogCollection.h:5
Definition CloudSaveLevelInfo.h:10
Definition DlcChecker.h:5
Definition DlcUIWrapper.h:5
Definition FlightingService.h:5
Definition IContentAccessibilityProvider.h:13
Definition IMainMenuScreenModel.h:5
Definition IMinecraftEventing.h:138
Definition LegacyWorldConverter.h:5
Definition LessonItem.h:5
Definition LibraryCollectionConfig.h:5
Definition LibraryCollection.h:5
Definition LibraryItem.h:5
Definition MainMenuScreenController.h:5
Definition MainMenuScreenModel.h:5
static MCAPI void ** $vftable()
static MCAPI void ** $vftableForIMinecraftScreenModel()
static MCAPI void ** $vftableForIDlcBatcher()
Definition MinecoinCatalogModel.h:5
Definition MinecraftScreenModel.h:5
Definition PackManifest.h:38
Definition PlayScreenModel.h:5
Definition ProgressHandler.h:5
Definition RealmsCreateParams.h:5
Definition RealmsWorldContext.h:7
Definition FacetStateManager.h:7
Definition RealmEvent.h:7
Definition ResourceLocation.h:15
Definition ResourcePackFileUploadManager.h:28
Definition ResourcePackPathCache.h:15
Definition SearchQuery.h:5
Definition SkinHandle.h:5
Definition SkinPackCollectionModel.h:5
Definition SkinPackModel.h:5
Definition WorldFileDownloadManager.h:5
Definition WorldFileUploadManager.h:5
Definition WorldSeedCatalogModel.h:5
Definition WorldTemplateManager.h:22
Definition LocalWorldList.h:7
Definition EDULibraryCategory.h:5
Definition IEduCloudSaveSystem.h:7
Definition ExperienceConnectionData.h:5
Definition LevelSummary.h:30
Definition MinecraftScreenModelContext.h:5
Definition PackContentItem.h:5
Definition PackIdVersion.h:10
Definition PackSettingsInfo.h:5
Definition EduDedicatedServerDetails.h:15
Definition StoreDataDrivenScreenParams.h:5
Definition WorldTemplateInfo.h:16