3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/certificates/identity/LastClickedSource.h"
7#include "mc/client/gui/CraftingType.h"
8#include "mc/client/gui/EncyclopediaTopicIndex.h"
9#include "mc/client/gui/HowToPlayTopicIndex.h"
10#include "mc/client/gui/ProgressContentType.h"
11#include "mc/client/gui/SettingsTabIndex.h"
12#include "mc/client/gui/oreui/interface/RouteMode.h"
13#include "mc/client/gui/screens/OnlineSafetyDialogVisibility.h"
14#include "mc/client/gui/screens/SelectWorldResult.h"
15#include "mc/client/gui/screens/controllers/CreditsType.h"
16#include "mc/client/gui/screens/controllers/InventoryTabIndex.h"
17#include "mc/client/gui/screens/controllers/LibraryModalScreenType.h"
18#include "mc/client/gui/screens/controllers/MarketplacePassTabIndex.h"
19#include "mc/client/gui/screens/controllers/RealmsPlusTabIndex.h"
20#include "mc/client/gui/screens/controllers/SlotSelectedAction.h"
21#include "mc/client/gui/screens/controllers/TabbedUpsellScreenDefaultTab.h"
22#include "mc/client/gui/screens/controllers/UpdateVersionScreenContext.h"
23#include "mc/client/gui/screens/interfaces/ISceneFactory.h"
24#include "mc/client/gui/screens/models/PlayScreenDefaultTab.h"
25#include "mc/client/store/sidebar/Type.h"
26#include "mc/client/tts/TTSEnabledStatus.h"
27#include "mc/deps/core/file/FileUploadType.h"
28#include "mc/deps/core/string/HashedString.h"
29#include "mc/deps/core/threading/Async.h"
30#include "mc/deps/core/utility/AutomaticID.h"
31#include "mc/deps/core/utility/NonOwnerPointer.h"
32#include "mc/deps/core/utility/optional_ref.h"
33#include "mc/deps/core/utility/pub_sub/Subscription.h"
34#include "mc/deps/input/interface/GameControllerErrorType.h"
35#include "mc/events/OpenCodeMethod.h"
36#include "mc/util/UploadState.h"
37#include "mc/world/level/GameType.h"
38#include "mc/world/level/block/actor/BlockActorType.h"
39#include "mc/world/level/storage/StorageVersion.h"
55class IStoreCatalogItem;
61class OfferCollectionComponent;
72class StoreCatalogItem;
91namespace Core {
class Path; }
92namespace Json {
class Value; }
95namespace Realms {
struct World; }
110 ::ll::TypedStorage<8, 32, ::std::string> screenName;
111 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UIControlFactory>> controlFactory;
112 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VisualTree>> visualTree;
113 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LayoutManager>> layoutManager;
114 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UIControl>> rootControl;
115 ::ll::TypedStorage<8, 16, ::Bedrock::Threading::Async<void>> taskHandle;
121 MCAPI ~PreCachePackage();
131 using InGameScreenCreator = ::std::function<::std::shared_ptr<::UIScene>(
135 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>
const&,
136 ::std::string
const&,
145 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
146 ::ll::TypedStorage<8, 8, ::IMinecraftGame&> mMinecraft;
147 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>> mAdvancedGraphicsOptions;
148 ::ll::TypedStorage<1, 1, bool> mIsEditorModeEnabled;
149 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mTaskGroup;
150 ::ll::TypedStorage<1, 1, bool> mUseClientInstanceStack;
151 ::ll::TypedStorage<8, 8, ::OreUI::SceneProvider&> mSceneProvider;
152 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::UISoundPlayer>> mSoundPlayer;
153 ::ll::TypedStorage<8, 8, ::CachedScenes&> mCachedScenes;
154 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::SceneFactory::PreCachePackage>>> mPreCachePackages;
155 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SceneFactoryProxy>> mProxy;
159 ::std::unordered_map<
163 ::std::function<::std::shared_ptr<::UIScene>(
167 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>
const&,
168 ::std::string
const&,
173 mRegisteredInGameScreens;
174 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mSceneStackDestroyedSubscription;
179 SceneFactory& operator=(SceneFactory
const&);
180 SceneFactory(SceneFactory
const&);
186 virtual ~SceneFactory() ;
188 virtual ::std::shared_ptr<::AbstractScene>
189 createTabbedUpsellScreen(::TabbedUpsellScreenDefaultTab tab) ;
191 virtual ::std::shared_ptr<::AbstractScene> createStoreDataDrivenScreen(
192 ::StoreDataDrivenScreenParams
const& params,
193 bool const forceDisableProgressScreen,
194 ::std::function<
void()> initializedCallback
197 virtual ::std::shared_ptr<::AbstractScene> createStartMenuScreen(
bool shouldSendEvent) ;
199 virtual ::Json::Value
200 createGlobalVars(::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const> defRepository)
const = 0;
207 ::IMinecraftGame& minecraft,
208 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const& client,
209 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>
const& advancedGraphicsOptions,
210 ::OreUI::SceneProvider& sceneProvider
213 MCAPI ::Json::Value _calculateSafeZoneSize(
214 float safeZoneScaleFactor,
215 float screenPositionOffset,
220 MCAPI
void _createInventoryScreenCache();
222 MCAPI ::std::shared_ptr<::AbstractScene> _createPlayScreenImpl(
223 ::PlayScreenDefaultTab tab,
224 ::std::string
const& dirtyLevelId,
225 ::std::function<
void()> initializedCallback
228 MCAPI ::std::shared_ptr<::AbstractScene> _createScreen(::std::shared_ptr<::BaseScreen> newScreen);
230 MCAPI
void _createWorldSettingsScreenCache();
232 MCAPI
void _preCacheScreen(::Json::Value
const& globalVars, ::std::string
const& screenName);
234 MCAPI
void _setUseClientInstanceStack(
bool useClientInstanceStack);
236 MCAPI ::std::shared_ptr<::AbstractScene> createAcceptDeclineInvitationScreen(
237 ::std::string
const& title,
238 ::std::string
const& subtitle,
239 ::std::function<
void(
bool,
bool)> callback
242 MCAPI ::std::shared_ptr<::AbstractScene>
243 createActiveDirectoryAuthenticationScreen(
bool displaySignIn, ::LastClickedSource lastClickedSource);
245 MCAPI ::std::shared_ptr<::AbstractScene> createActiveDirectoryModal(::ActiveDirectoryModalArgs
const& args);
247 MCAPI ::std::shared_ptr<::AbstractScene> createAddEditExternalServerScreen(
int id);
249 MCAPI ::std::shared_ptr<::AbstractScene> createAdhocInProgressScreen(
bool enableAdhoc);
251 MCAPI ::std::shared_ptr<::AbstractScene> createAdhocScreen();
253 MCAPI ::std::shared_ptr<::AbstractScene>
254 createApplyResourcePacksScreen(::std::function<
void(::MinecraftScreenModel&)> applyPacks);
256 MCAPI ::std::shared_ptr<::AbstractScene> createAutoSaveInfoScreen();
258 MCAPI ::std::shared_ptr<::AbstractScene>
259 createBookScreen(
int bookSlot,
bool editable,
int page, ::BlockActor* lectern);
261 MCAPI ::std::shared_ptr<::AbstractScene> createBundlePurchaseWarningScreen(
262 ::IStoreCatalogItem
const& catalogItem,
263 ::OfferCollectionComponent
const& bundleCollection,
264 ::std::function<
void()> onPurchaseCallback
267 MCAPI ::std::shared_ptr<::AbstractScene> createCannotUseNetworkFeaturesScreen();
269 MCAPI ::std::shared_ptr<::AbstractScene> createCellularDataWarningScreen(::std::function<
void(
bool)> callback);
271 MCAPI ::std::shared_ptr<::AbstractScene> createChalkboardScreen(::BlockPos
const& pos,
bool lockVisible);
273 MCAPI ::std::shared_ptr<::AbstractScene> createChatScreen();
275 MCAPI ::std::shared_ptr<::AbstractScene> createChooseRealmScreen(
276 ::std::function<
void(::Realms::World)> callback,
277 ::SlotSelectedAction action,
278 ::std::function<
void()> onCancelCallback
281 MCAPI ::std::shared_ptr<::AbstractScene> createCodeScreen(::OpenCodeMethod openMethod);
283 MCAPI ::std::shared_ptr<::AbstractScene>
284 createCommonDialogInfoScreen(::std::string
const& dialogTitle, ::std::string
const& dialogBody);
286 MCAPI ::std::shared_ptr<::AbstractScene>
287 createConnectGamepadScreen(::GameControllerErrorType controllerError, ::std::function<
void()> onCompleteCallback);
289 MCAPI ::std::shared_ptr<::AbstractScene> createConsoleScreen();
291 MCAPI ::std::shared_ptr<::AbstractScene> createContentLogHistoryScreen();
293 MCAPI ::std::shared_ptr<::AbstractScene>
294 createCreditsScreen(::CreditsType contentType, ::std::function<
void()> callback);
296 MCAPI ::std::shared_ptr<::AbstractScene> createCubeMapScreen(
bool flushable);
298 MCAPI ::std::shared_ptr<::AbstractScene>
299 createCustomTemplatesScreen(::std::vector<::WorldTemplateInfo>
const& customTemplates);
301 MCAPI ::std::shared_ptr<::AbstractScene> createDayOneExperienceIntroPopup();
303 MCAPI ::std::shared_ptr<::AbstractScene> createDayOneExperienceScreen();
305 MCAPI ::std::shared_ptr<::AbstractScene> createDeathScreen();
307 MCAPI ::std::shared_ptr<::AbstractScene> createDebugScreen();
309 MCAPI ::std::shared_ptr<::AbstractScene> createDeeplinkConfirmationScreen(::std::function<
void(
bool)> callback);
311 MCAPI ::std::shared_ptr<::AbstractScene> createDeleteAccountScreen();
313 MCAPI ::std::shared_ptr<::AbstractScene> createDeleteProgressScreen(
314 ::std::string
const& uniqueEventName,
315 ::IContentManager& contentManager,
316 ::std::vector<::std::shared_ptr<::ContentItem const>>&& itemsToDelete
319 MCAPI ::std::shared_ptr<::AbstractScene> createDevConsole();
321 MCAPI ::std::shared_ptr<::AbstractScene>
322 createDimensionChangeProgressScreen(
bool localServer, ::DimensionType targetDimensionID);
324 MCAPI ::std::shared_ptr<::AbstractScene>
325 createDisabledSkinScreen(
bool twoButtonWithCallback, ::std::function<
void()> callback);
327 MCAPI ::std::shared_ptr<::AbstractScene> createDisconnectScreen(
328 ::std::string
const& titleMessage,
329 ::std::string
const& displayMessage,
330 ::std::string
const& screenNameOverride,
331 ::std::string
const& telemetryOverride
334 MCAPI ::std::shared_ptr<::AbstractScene> createDlcProgressScreen(
335 ::std::vector<::DlcId>
const& dlcIds,
336 ::std::function<
void(
bool,
bool)> callback,
337 bool showCloseButton,
338 bool processingUpdates,
339 bool requireCancelToExit
342 MCAPI ::std::shared_ptr<::AbstractScene> createEDULibraryCategoryScreen(
343 ::std::string
const& title,
344 ::std::string
const& icon,
345 ::std::string
const& description,
346 ::std::string
const& screenshotRatio,
348 ::std::vector<::EDULibraryCategory>
const& categories,
352 MCAPI ::std::shared_ptr<::AbstractScene> createEDUPlayScreen(::std::string initialCode);
354 MCAPI ::std::shared_ptr<::AbstractScene> createEDUServersScreen();
356 MCAPI ::std::shared_ptr<::AbstractScene> createEDUWorldTemplatesScreen();
358 MCAPI ::std::shared_ptr<::AbstractScene> createEDUWorldsScreen();
360 MCAPI ::std::shared_ptr<::AbstractScene> createEditWorldScreen(
361 ::LevelSummary
const& levelSummary,
362 ::std::string
const& packId,
363 ::std::function<
void()> onOpenCallback
366 MCAPI ::std::shared_ptr<::AbstractScene> createEmoteWheelScreen();
368 MCAPI ::std::shared_ptr<::AbstractScene> createEncryptionWarningScreen(::std::function<
void(
bool)> callback);
370 MCAPI ::std::shared_ptr<::AbstractScene> createEncyclopediaScreen(::EncyclopediaTopicIndex startingTopicIndex);
372 MCAPI ::std::shared_ptr<::AbstractScene> createExpandedSkinPackScreen(
373 ::StoreCatalogItem
const& catalogItem,
374 ::SkinPackModel& skinPackModel,
375 ::SkinPackCollectionModel& skinPackCollection
378 MCAPI ::std::shared_ptr<::AbstractScene> createExternalLinkDialogScreen(
379 ::std::string
const& title,
380 ::std::string
const& externalLink,
381 ::std::string
const& message,
382 ::std::string
const& goToPageText,
383 ::std::string
const& secondButtonText,
384 ::std::function<
void()>
const& callback
387 MCAPI ::std::shared_ptr<::AbstractScene>
388 createFeedbackPromptPopup(::std::string
const& title, ::std::string
const& image, ::std::string
const& buttonName);
390 MCAPI ::std::shared_ptr<::AbstractScene> createFileDownloadProgressScreen(
391 ::std::string
const& realmID,
393 ::std::string
const& realmName,
394 ::std::string
const& realmVersion,
395 ::std::string
const& realmVersionName,
396 ::std::function<
void(
bool)> callback
399 MCAPI ::std::shared_ptr<::AbstractScene> createFileUploadProgressScreen(
400 ::std::string
const& realmID,
401 ::std::string
const& fileID,
404 ::Core::FileUploadType fileUploadType,
405 ::std::function<
void(::UploadState, ::Realms::World)> callback
408 MCAPI ::std::shared_ptr<::AbstractScene> createGameInputErrorScreen(::std::function<
void()> callback);
410 MCAPI ::std::shared_ptr<::AbstractScene> createGamepadDisconnectScreen();
412 MCAPI ::std::shared_ptr<::AbstractScene> createGameplayScreen();
414 MCAPI ::std::shared_ptr<::AbstractScene> createGammaCalibrationScreen();
416 MCAPI ::std::shared_ptr<::AbstractScene> createGatheringInfoScreen(
bool autoConnect);
418 MCAPI ::std::shared_ptr<::AbstractScene> createGatheringWarningScreen(::std::string
const& messageOverride);
420 MCAPI ::std::shared_ptr<::AbstractScene> createGlobalPauseScreen();
422 MCAPI ::std::shared_ptr<::AbstractScene> createHowToPlayScreen(::HowToPlayTopicIndex startingTopicIndex);
424 MCAPI ::std::shared_ptr<::AbstractScene> createHudScreen();
426 MCAPI ::std::shared_ptr<::AbstractScene> createIPSafetyDialogScreen(
int externalServerId);
428 MCAPI ::std::shared_ptr<::AbstractScene> createImmersiveReader(::std::string readerText);
430 MCAPI ::std::shared_ptr<::AbstractScene> createImportExportProgressScreen(
431 ::std::string
const& titleText,
432 ::std::string
const& uniqueEventName,
433 ::std::string
const& messageText
436 MCAPI ::std::shared_ptr<::AbstractScene> createInBedScreen();
438 MCAPI ::std::shared_ptr<::AbstractScene>
439 createInGameSceneFromUrl(::std::string
const& url, ::OreUI::RouteMode mode);
441 MCAPI ::std::shared_ptr<::AbstractScene>
442 createInGameScreen(::std::string
const& name, ::Player& player, ::BlockPos
const& pos, ::ActorUniqueID uniqueId);
444 MCAPI ::std::shared_ptr<::AbstractScene> createInventoryScreen(::CraftingType craftingType);
446 MCAPI ::std::shared_ptr<::AbstractScene> createInviteScreen();
448 MCAPI ::std::shared_ptr<::AbstractScene>
449 createLateJoinPreGameScreen(::std::function<
void()>
const& userReadyCallback,
bool hasXBLBroadcast);
451 MCAPI ::std::shared_ptr<::AbstractScene> createLeaveLevelScreen(
452 ::std::string
const& uniqueEventName,
453 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressHandlerList,
457 MCAPI ::std::shared_ptr<::AbstractScene>
458 createLegacyCreateWorldFromTemplateScreen(::LevelSummary
const& levelSummary);
460 MCAPI ::std::shared_ptr<::AbstractScene> createLegacyCreateWorldScreen();
462 MCAPI ::std::shared_ptr<::AbstractScene> createLegacyRealmsPDPScreen(
463 ::RealmsPlusTabIndex tabIndex,
464 ::std::function<
void(::Realms::World&)> onCreateCallback
467 MCAPI ::std::shared_ptr<::AbstractScene> createLegacyRealmsPlusEndedScreen();
469 MCAPI ::std::shared_ptr<::AbstractScene> createLegacyWorldTemplateLoadingScreen(::std::string
const& manifestId);
471 MCAPI ::std::shared_ptr<::AbstractScene> createLessonCompleteScreen();
473 MCAPI ::std::shared_ptr<::AbstractScene> createLibraryItemScreen(
474 ::std::shared_ptr<::LibraryItem> item,
475 ::std::unordered_map<::std::string, ::std::string> additionalOptions
478 MCAPI ::std::shared_ptr<::AbstractScene> createLibraryModalScreen(
479 ::LibraryModalScreenType type,
480 ::std::function<
void(
bool)> callback,
481 ::std::vector<::std::pair<::std::string, ::std::string>> eventProperties
484 MCAPI ::std::shared_ptr<::AbstractScene> createLibraryScreen(::std::shared_ptr<::LibraryCollection> collection);
486 MCAPI ::std::shared_ptr<::AbstractScene> createLibrarySearchScreen(
487 ::std::shared_ptr<::LibraryCollection> collection,
488 ::std::string
const& libraryTitle,
489 ::std::string
const& libraryIcon
492 MCAPI ::std::shared_ptr<::AbstractScene> createLibraryTagScreen(
493 ::std::shared_ptr<::LibraryCollection> collection,
494 ::std::string
const& libraryTitle,
495 ::std::string
const& libraryIcon,
496 ::std::string
const& libraryPageDescription
499 MCAPI ::std::shared_ptr<::AbstractScene> createLibraryWorldScreen(
500 ::std::shared_ptr<::LibraryCollection> collection,
501 ::std::string libraryTitle,
502 ::std::string libraryIcon,
503 ::std::string libraryPageDescription,
504 ::std::string
const& categoryTitle
507 MCAPI ::std::shared_ptr<::AbstractScene> createLocalWorldPickerScreen(
508 ::std::string
const& realmID,
510 ::std::function<
void(::UploadState, ::Realms::World)> callbackAfterUpload
513 MCAPI ::std::shared_ptr<::AbstractScene>
514 createMakeInfiniteScreen(::LevelSummary
const& editedLevel, ::StorageVersion storageVersion);
516 MCAPI ::std::shared_ptr<::AbstractScene> createManageFeedScreen(::Realms::World
const& world);
518 MCAPI ::std::shared_ptr<::AbstractScene> createManifestValidationScreen(
519 ::PackManifestFactory& manifestFactory,
520 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const>
const& keyProvider,
521 ::ResourceLocation
const& resourceLocation,
522 ::Core::Path
const& originalFilePath,
523 bool packInUserDataPath,
524 ::std::shared_ptr<::PackContentItem const> item
527 MCAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassPDPScreen(
528 ::MarketplacePassTabIndex tabIndex,
529 ::sidebar::navigationLayout::Type sidebarLayoutType
532 MCAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassPurchaseAmazonDeviceWarningScreen();
534 MCAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassPurchaseWarningScreen();
536 MCAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassUpsellScreen();
538 MCAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassWelcomeScreen();
540 MCAPI ::std::shared_ptr<::AbstractScene> createMigrationErrorScreen();
542 MCAPI ::std::shared_ptr<::AbstractScene> createMobEffectsScreen();
544 MCAPI ::std::shared_ptr<::AbstractScene> createModalProgressScreen(
545 ::std::string
const& uniqueEventName,
546 ::std::unique_ptr<::ProgressHandler> progressHandler,
548 bool forceRenderBelow,
549 ::std::string
const& screenNameOverride,
551 float backgroundFillAlpha
554 MCAPI ::std::shared_ptr<::AbstractScene> createNetworkProgressScreen(
555 ::std::string
const& uniqueEventName,
556 ::std::unique_ptr<::ProgressHandler> connectHandler,
557 bool allowSmallDownloads,
558 bool sendProgressTelem,
559 ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility
562 MCAPI ::std::shared_ptr<::AbstractScene> createNetworkProgressScreen(
563 ::std::string
const& uniqueEventName,
564 ::std::deque<::std::unique_ptr<::ProgressHandler>> connectHandlers,
565 bool allowSmallDownloads,
566 bool sendProgressTelem,
567 ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility
570 MCAPI ::std::shared_ptr<::AbstractScene> createNoInvitesOrJoiningScreen();
572 MCAPI ::std::shared_ptr<::AbstractScene> createNoLicenseScreen();
574 MCAPI ::std::shared_ptr<::AbstractScene> createNoWifiWarningScreen();
576 MCAPI ::std::shared_ptr<::AbstractScene> createNotSignedIntoNintendoScreen(::std::string
const& messageOverride);
578 MCAPI ::std::shared_ptr<::AbstractScene>
579 createNpcInteractScreen(::Player& player, ::std::shared_ptr<::INpcDialogueData> data);
581 MCAPI ::std::shared_ptr<::AbstractScene> createOSWriteThrottleDialogScreen(
582 ::std::chrono::duration<
double, ::std::ratio<1, 1>> totalWait,
583 ::std::shared_ptr<bool> dialogStillAlive
586 MCAPI ::std::shared_ptr<::AbstractScene> createOnlineSafetyDialogScreen(::OnlineSafetyProgressHandler& handler);
588 MCAPI ::std::shared_ptr<::AbstractScene> createOptionsScreen(
589 ::SettingsTabIndex startingTabIndex,
590 bool navToMenuOnExit,
591 bool maintainOldFocus,
592 ::std::string
const& initialPackId,
596 MCAPI ::std::shared_ptr<::AbstractScene> createOptionsScreen(
597 ::LevelSummary
const& levelSummary,
598 ::SettingsTabIndex startingTabIndex,
599 bool navToMenuOnExit,
600 bool maintainOldFocus,
601 ::std::string
const& initialPackId,
605 MCAPI ::std::shared_ptr<::AbstractScene> createPackSettingsScreen(::PackSettingsInfo packSettingsInfo);
607 MCAPI ::std::shared_ptr<::AbstractScene> createPauseScreen(
bool overlaySocialDrawerOnce);
609 MCAPI ::std::shared_ptr<::AbstractScene> createPermissionsScreen(::ActorUniqueID defaultPlayerId);
611 MCAPI ::std::shared_ptr<::AbstractScene>
612 createPlatformNetworkConnectConfirmationScreen(::std::function<
void(
bool)> callback);
614 MCAPI ::std::shared_ptr<::AbstractScene>
615 createPlatformSplitScreenConnectConfirmationScreen(::std::function<
void(
bool)> callback);
617 MCAPI ::std::shared_ptr<::AbstractScene>
618 createPlatformStoreConnectConfirmationScreen(::std::function<
void(
bool)> callback);
620 MCAPI ::std::shared_ptr<::AbstractScene> createPortfolioScreen();
622 MCAPI ::std::shared_ptr<::AbstractScene> createProgressScreen(
623 ::std::string
const& uniqueEventName,
624 ::std::unique_ptr<::ProgressHandler> progressHandler,
626 bool sendProgressTelem,
627 ::std::string
const& overrideScreen
630 MCAPI ::std::shared_ptr<::AbstractScene> createProgressScreen(
631 ::std::string
const& uniqueEventName,
632 ::std::deque<::std::unique_ptr<::ProgressHandler>>&& progressHandlerList,
634 bool sendProgressTelem,
635 ::std::string
const& overrideScreen
638 MCAPI ::std::shared_ptr<::AbstractScene> createProgressScreen(
639 ::std::string
const& uniqueEventName,
640 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressHandlerList,
642 bool sendProgressTelem,
643 bool useRandomProgressMessage,
644 bool allowSmallDownloads,
645 ::ProgressContentType contentType,
649 MCAPI ::std::shared_ptr<::AbstractScene>
650 createRatingPromptPopup(::std::string
const& title, ::std::string
const& image, ::std::string
const& buttonName);
652 MCAPI ::std::shared_ptr<::AbstractScene> createRealmNetworkProgressScreen(
653 ::std::string
const& uniqueEventName,
654 ::std::unique_ptr<::ProgressHandler> connectHandler
657 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsAllowListScreen(
658 ::Realms::World
const& world,
659 ::std::function<
void()> followUpActionAfterCreation,
663 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsCreateScreen(::RealmsCreateParams
const& screenDetails);
665 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsInviteLinkSettingScreen(
666 ::Realms::World
const& world,
667 ::Realms::InviteLink
const& link,
668 ::SettingsTabIndex initialTab
671 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsInviteLinksScreen(::Realms::World
const& world);
673 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsJoinProgressScreen(
674 ::std::string
const& uniqueEventName,
675 ::std::unique_ptr<::ProgressHandler> connectHandler,
676 ::std::unique_ptr<::ProgressHandler> progressHandler,
678 bool realmsPlusExpired,
679 ::std::function<
void()> onlineSafetyCancelledCallback
682 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsManageMembersScreen(::Realms::World
const& world);
684 MCAPI ::std::shared_ptr<::AbstractScene>
685 createRealmsManageScreen(::Realms::World
const& world, ::SettingsTabIndex initialTab);
687 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsPackErrorsScreen();
689 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsPendingInvitesScreen(
bool hasPendingInvites);
691 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsPlusPurchaseWarningScreen(::std::function<
void()> callback);
693 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsSavesScreen(::Realms::World
const& world);
695 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsSettingsScreen(
696 ::Realms::World
const& world,
697 ::SettingsTabIndex initialTab,
698 ::std::string
const& initialPackId
701 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsSharingLauncherScreen(::std::string
const& realmsInvite);
703 MCAPI ::std::shared_ptr<::AbstractScene>
704 createRealmsSlotSettingsScreen(::Realms::World
const& world, ::SettingsTabIndex initialTab);
706 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsSlotsScreen(::Realms::World& world);
708 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsStoriesTransitionScreen(::Realms::World
const& world);
710 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsWarningScreen();
712 MCAPI ::std::shared_ptr<::AbstractScene> createRealmsWarningScreenWithParams(
713 ::Realms::World
const& world,
714 ::std::string
const& ip,
716 ::std::string
const& serverRegion,
720 MCAPI ::std::shared_ptr<::AbstractScene> createSafeZoneScreen();
722 MCAPI ::std::shared_ptr<::AbstractScene> createScreenshotScreen();
724 MCAPI ::std::shared_ptr<::AbstractScene> createSelectWorldScreen(
726 void(::SelectWorldResult, ::optional_ref<::LevelSummary const>, ::optional_ref<::Realms::World const>)>
730 MCAPI ::std::shared_ptr<::AbstractScene> createServerForm(uint formId, ::std::string
const& formJSON);
732 MCAPI ::std::shared_ptr<::AbstractScene>
733 createSignScreen(::BlockPos
const& pos, ::BlockActorType blockActorType,
bool isFrontSide);
735 MCAPI ::std::shared_ptr<::AbstractScene> createSkinPickerScreen();
737 MCAPI ::std::shared_ptr<::AbstractScene> createStorageMigrationProgressScreen(
738 ::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService>
const& migrationService
741 MCAPI ::std::shared_ptr<::AbstractScene> createStorageSpaceWarningScreen(::std::string
const& message);
743 MCAPI ::std::shared_ptr<::AbstractScene> createStoreFeaturesDisabledScreen(::std::string
const& messageOverride);
745 MCAPI ::std::shared_ptr<::AbstractScene>
746 createStoreInventoryScreen(::InventoryTabIndex tabIndex, ::std::optional<::StoreDataDrivenScreenParams> paramsOpt);
748 MCAPI ::std::shared_ptr<::AbstractScene>
749 createSubmitFeedbackScreen(::std::string
const& itemId,
int feedbackTextLimit);
751 MCAPI ::std::shared_ptr<::AbstractScene> createSunsettingScreen(::std::string& title);
753 MCAPI ::std::shared_ptr<::AbstractScene> createTTSEnabledWarningScreen(::TTSEnabledStatus status);
755 MCAPI ::std::shared_ptr<::AbstractScene> createTTSErrorScreen();
757 MCAPI ::std::shared_ptr<::AbstractScene> createToastScreen();
759 MCAPI ::std::shared_ptr<::AbstractScene> createTokenFAQScreen();
761 MCAPI ::std::shared_ptr<::AbstractScene> createTokenPopupScreen();
763 MCAPI ::std::shared_ptr<::AbstractScene> createTrade2Screen(::Player&, ::ActorUniqueID
const& uniqueID);
765 MCAPI ::std::shared_ptr<::AbstractScene> createTradeScreen(::Player&, ::ActorUniqueID
const& uniqueID);
767 MCAPI ::std::shared_ptr<::UIScene> createUIScene(
768 ::IMinecraftGame& mc,
769 ::IClientInstance& client,
770 ::std::string
const& screenName,
771 ::std::shared_ptr<::ScreenController> controller
774 MCAPI ::std::shared_ptr<::AbstractScene>
775 createUpdateWorldHeightScreen(::std::function<
void(
bool)> startWorldCallback);
777 MCAPI ::std::shared_ptr<::AbstractScene> createUpsellScreen(
bool isNewWorld,
bool timeExpired);
779 MCAPI ::std::shared_ptr<::AbstractScene> createUserManagementModalScreen(
780 ::UserManagementModalScreenData
const& screenData,
781 ::std::function<
void(
bool)> callback
784 MCAPI ::std::shared_ptr<::AbstractScene> createVersionUpdateScreen(::UpdateVersionScreenContext context);
786 MCAPI ::std::shared_ptr<::AbstractScene> createWin10TrialConversionScreen();
788 MCAPI ::std::shared_ptr<::AbstractScene>
789 createWorldConversionCompleteScreen(::std::string
const& levelId, ::std::function<
void()> cancelCallback);
791 MCAPI ::std::shared_ptr<::AbstractScene> createWorldRecoveryScreen(::std::function<
void()> successCallback);
793 MCAPI ::std::shared_ptr<::AbstractScene> createWorldSeedCatalogScreen(
794 ::std::function<
void(::std::string
const&, ::std::string
const&, ::Core::Path
const&)> closeCallback
797 MCAPI ::std::shared_ptr<::AbstractScene> createWorldTemplateScreen(
bool hideTopBar);
799 MCAPI ::std::shared_ptr<::AbstractScene> createXblConsoleSignInScreen(::std::string
const& code);
801 MCAPI ::std::shared_ptr<::AbstractScene> createXblImmediateSignInScreen(
802 ::std::string
const& signInSource,
803 ::std::function<
void()> callBackAfterSignIn,
804 ::std::function<
void()> callBackAfterCancel
807 MCAPI ::std::shared_ptr<::AbstractScene> createXblImmediateSignInScreen(
808 ::std::string
const& signInSource,
809 ::std::string
const& redirectToRoute,
810 bool replacePreviousRouteAfterSignIn
813 MCAPI ::Json::Value generateGlobalVars(::std::string
const& screenName, ::ScreenController& controller);
815 MCAPI
void registerInGameScreen(
816 ::std::string
const& name,
817 ::std::function<::std::shared_ptr<::UIScene>(
821 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>
const&,
822 ::std::string
const&,
829 MCAPI
void registerInGameScreen(
830 ::std::string
const& registeredName,
831 ::std::string
const& resourceName,
832 ::std::function<::std::shared_ptr<::UIScene>(
836 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>
const&,
837 ::std::string
const&,
844 MCAPI
void terminateAsyncUILoading();
851 ::IMinecraftGame& minecraft,
852 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const& client,
853 ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>
const& advancedGraphicsOptions,
854 ::OreUI::SceneProvider& sceneProvider
867 MCAPI ::std::shared_ptr<::AbstractScene> $createTabbedUpsellScreen(::TabbedUpsellScreenDefaultTab tab);
869 MCAPI ::std::shared_ptr<::AbstractScene> $createStoreDataDrivenScreen(
870 ::StoreDataDrivenScreenParams
const& params,
871 bool const forceDisableProgressScreen,
872 ::std::function<
void()> initializedCallback
875 MCAPI ::std::shared_ptr<::AbstractScene> $createStartMenuScreen(
bool shouldSendEvent);
Definition AbstractScene.h:5
Definition BaseScreen.h:5
Definition StorageMigrationService.h:21
Definition BlockActor.h:30
Definition CachedScenes.h:5
Definition Dimension.h:86
Definition IAdvancedGraphicsOptions.h:16
Definition IClientInstance.h:5
Definition IContentKeyProvider.h:13
Definition IContentManager.h:5
Definition IMinecraftGame.h:5
Definition ISceneFactory.h:5
Definition IUIDefRepository.h:5
Definition LayoutManager.h:5
Definition LibraryCollection.h:5
Definition LibraryItem.h:5
Definition MinecraftScreenModel.h:5
Definition OnlineSafetyProgressHandler.h:5
Definition SceneProvider.h:7
Definition PackManifestFactory.h:20
Definition ProgressHandler.h:5
Definition RealmsCreateParams.h:5
Definition ResourceLocation.h:15
Definition SceneFactoryProxy.h:5
Definition SceneFactory.h:5
static MCAPI void ** $vftable()
Definition ScreenController.h:5
Definition SkinPackCollectionModel.h:5
Definition SkinPackModel.h:5
Definition TaskGroup.h:57
Definition UIControlFactory.h:5
Definition UISoundPlayer.h:5
Definition VisualTree.h:5
Definition ActiveDirectoryModalArgs.h:5
Definition ActorUniqueID.h:5
Definition ContentItem.h:5
Definition EDULibraryCategory.h:5
Definition INpcDialogueData.h:12
Definition LevelSummary.h:30
Definition PackContentItem.h:5
Definition PackSettingsInfo.h:5
Definition InviteLink.h:7
Definition SceneFactory.h:13
Definition StoreDataDrivenScreenParams.h:5
Definition UserManagementModalScreenData.h:5
Definition WorldTemplateInfo.h:12