Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
SceneFactory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/certificates/identity/LastClickedSource.h"
7#include "mc/client/events/OnlineSafetyDialogVisibility.h"
8#include "mc/client/gui/CraftingType.h"
9#include "mc/client/gui/EncyclopediaTopicIndex.h"
10#include "mc/client/gui/HowToPlayTopicIndex.h"
11#include "mc/client/gui/ProgressContentType.h"
12#include "mc/client/gui/SettingsTabIndex.h"
13#include "mc/client/gui/oreui/interface/RouteMode.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/SlotSelectedAction.h"
20#include "mc/client/gui/screens/controllers/TabbedUpsellScreenDefaultTab.h"
21#include "mc/client/gui/screens/controllers/UpdateVersionScreenContext.h"
22#include "mc/client/gui/screens/interfaces/ISceneFactory.h"
23#include "mc/client/gui/screens/models/PlayScreenDefaultTab.h"
24#include "mc/client/store/sidebar/Type.h"
25#include "mc/client/tts/TTSEnabledStatus.h"
26#include "mc/deps/core/file/FileUploadType.h"
27#include "mc/deps/core/string/HashedString.h"
28#include "mc/deps/core/threading/Async.h"
29#include "mc/deps/core/threading/AsyncPromise.h"
30#include "mc/deps/core/utility/NonOwnerPointer.h"
31#include "mc/deps/core/utility/optional_ref.h"
32#include "mc/deps/core/utility/pub_sub/Subscription.h"
33#include "mc/deps/input/interface/GameControllerErrorType.h"
34#include "mc/events/OpenCodeMethod.h"
35#include "mc/options/FeedbackType.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"
40
41// auto generated forward declare list
42// clang-format off
43class AbstractScene;
44class BaseScreen;
45class BlockActor;
46class BlockPos;
47class CachedScenes;
48class DlcId;
49class IClientInstance;
51class IContentManager;
53class IMinecraftGame;
55class IStoreCatalogItem;
57class LayoutManager;
59class LibraryItem;
62class OfferCollectionComponent;
65class PlayScreenModel;
66class Player;
67class ProgressHandler;
72class TaskGroup;
73class UIControl;
75class UIScene;
76class UISoundPlayer;
77class VisualTree;
79struct ActorUniqueID;
80struct ContentItem;
81struct DimensionType;
83struct INpcDialogueData;
84struct LevelSummary;
85struct ModalScreenData;
86struct PackContentItem;
87struct PackSettingsInfo;
91namespace Bedrock::StorageMigration { class StorageMigrationService; }
92namespace Core { class Path; }
93namespace Json { class Value; }
94namespace OreUI { class SceneProvider; }
95namespace Realms { struct InviteLink; }
96namespace Realms { struct World; }
97// clang-format on
98
99class SceneFactory : public ::ISceneFactory {
100public:
101 // SceneFactory inner types declare
102 // clang-format off
103 struct PreCachePackage;
104 // clang-format on
105
106 // SceneFactory inner types define
107 struct PreCachePackage {
108 public:
109 // member variables
110 // NOLINTBEGIN
111 ::ll::TypedStorage<8, 32, ::std::string> screenName;
112 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UIControlFactory>> controlFactory;
113 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::VisualTree>> visualTree;
114 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::LayoutManager>> layoutManager;
115 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::UIControl>> rootControl;
116 ::ll::TypedStorage<8, 16, ::Bedrock::Threading::Async<void>> taskHandle;
117 // NOLINTEND
118 };
119
120 using InGameScreenCreator = ::std::function<::std::shared_ptr<
121 ::UIScene>(::SceneFactory&, ::std::string const&, ::Player&, ::BlockPos const&, ::ActorUniqueID)>;
122
123public:
124 // member variables
125 // NOLINTBEGIN
126 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
127 ::ll::TypedStorage<8, 8, ::IMinecraftGame&> mMinecraft;
128 ::ll::TypedStorage<8, 8, ::ILayoutServiceProvider&> mLayoutServiceProvider;
129 ::ll::TypedStorage<1, 1, bool> mIsEditorModeEnabled;
130 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mTaskGroup;
131 ::ll::TypedStorage<1, 1, bool> mUseClientInstanceStack;
132 ::ll::TypedStorage<8, 8, ::OreUI::SceneProvider&> mSceneProvider;
133 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::UISoundPlayer>> mSoundPlayer;
134 ::ll::TypedStorage<8, 8, ::CachedScenes&> mCachedScenes;
135 ::ll::TypedStorage<8, 24, ::std::vector<::std::shared_ptr<::SceneFactory::PreCachePackage>>> mPreCachePackages;
136 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SceneFactoryProxy>> mProxy;
137 ::ll::TypedStorage<
138 8,
139 64,
140 ::std::unordered_map<
141 ::HashedString,
142 ::std::pair<
143 ::std::string,
144 ::std::function<::std::shared_ptr<
145 ::UIScene>(::SceneFactory&, ::std::string const&, ::Player&, ::BlockPos const&, ::ActorUniqueID)>>>>
146 mRegisteredInGameScreens;
147 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mSceneStackDestroyedSubscription;
148 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ISceneFactoryImpl>> mFactoryImpl;
149 // NOLINTEND
150
151public:
152 // prevent constructor by default
153 SceneFactory& operator=(SceneFactory const&);
154 SceneFactory(SceneFactory const&);
155 SceneFactory();
156
157public:
158 // virtual functions
159 // NOLINTBEGIN
160 virtual ~SceneFactory() /*override*/;
161
162 virtual ::std::shared_ptr<::AbstractScene> createDevConsole();
163
164 virtual ::std::shared_ptr<::AbstractScene>
165 createTabbedUpsellScreen(::TabbedUpsellScreenDefaultTab tab) /*override*/;
166
167 virtual ::std::shared_ptr<::AbstractScene> createStoreDataDrivenScreen(
168 ::StoreDataDrivenScreenParams const& params,
169 bool const forceDisableProgressScreen,
170 ::std::function<void()> initializedCallback
171 ) /*override*/;
172
173 virtual ::std::shared_ptr<::AbstractScene> createStartMenuScreen(bool shouldSendEvent) /*override*/;
174
175 virtual ::Json::Value
176 createGlobalVars(::Bedrock::NotNullNonOwnerPtr<::IUIDefRepository const> defRepository) const = 0;
177 // NOLINTEND
178
179public:
180 // member functions
181 // NOLINTBEGIN
183 ::std::unique_ptr<::ISceneFactoryImpl> impl,
184 ::IMinecraftGame& minecraft,
185 ::ILayoutServiceProvider& layoutServiceProvider,
186 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client,
187 ::OreUI::SceneProvider& sceneProvider
188 );
189
190 MCNAPI ::Json::Value _calculateSafeZoneSize(
191 float safeZoneScaleFactor,
192 float screenPositionOffset,
193 bool horizontal,
194 bool isToporLeft
195 ) const;
196
197 MCNAPI ::std::shared_ptr<::AbstractScene> _createPlayScreenImpl(
198 ::PlayScreenDefaultTab tab,
199 ::std::string const& dirtyLevelId,
200 ::std::function<void()> initializedCallback
201 );
202
203 MCNAPI ::Json::Value _createSafeZoneSizeVar(
204 float safeZoneScaleFactor,
205 float screenPositionOffset,
206 bool horizontal,
207 bool isToporLeft
208 ) const;
209
210 MCAPI ::std::shared_ptr<::AbstractScene> _createScreen(::std::shared_ptr<::BaseScreen> newScreen);
211
212 MCNAPI void _preCacheScreen(::Json::Value const& globalVars, ::std::string const& screenName);
213
214 MCNAPI ::std::shared_ptr<::AbstractScene> createAcceptDeclineInvitationScreen(
215 ::std::string const& title,
216 ::std::string const& subtitle,
217 ::std::function<void(bool, bool)> callback
218 );
219
220 MCNAPI ::std::shared_ptr<::AbstractScene>
221 createActiveDirectoryAuthenticationScreen(bool displaySignIn, ::LastClickedSource lastClickedSource);
222
223 MCNAPI ::std::shared_ptr<::AbstractScene> createActiveDirectoryModal(::ActiveDirectoryModalArgs const& args);
224
225 MCNAPI ::std::shared_ptr<::AbstractScene> createAddEditExternalServerScreen(int id);
226
227 MCNAPI ::std::shared_ptr<::AbstractScene> createAdhocInProgressScreen(bool enableAdhoc);
228
229 MCNAPI ::std::shared_ptr<::AbstractScene> createAdhocScreen();
230
231 MCNAPI ::std::shared_ptr<::AbstractScene>
232 createApplyResourcePacksScreen(::std::function<void(::MinecraftScreenModel&)> applyPacks);
233
234 MCNAPI ::std::shared_ptr<::AbstractScene> createAutoSaveInfoScreen();
235
236 MCNAPI ::std::shared_ptr<::AbstractScene> createBetaFeedbackQrScreen(::std::string const& feedbackUrl);
237
238 MCNAPI ::std::shared_ptr<::AbstractScene>
239 createBookScreen(int bookSlot, bool editable, int page, ::BlockActor* lectern);
240
241 MCNAPI ::std::shared_ptr<::AbstractScene> createBundlePurchaseWarningScreen(
242 ::IStoreCatalogItem const& catalogItem,
243 ::OfferCollectionComponent const& bundleCollection,
244 ::std::function<void()> onPurchaseCallback
245 );
246
247 MCNAPI ::std::shared_ptr<::AbstractScene> createCannotUseNetworkFeaturesScreen();
248
249 MCNAPI ::std::shared_ptr<::AbstractScene> createCellularDataWarningScreen(::std::function<void(bool)> callback);
250
251 MCNAPI ::std::shared_ptr<::AbstractScene> createChalkboardScreen(::BlockPos const& pos, bool lockVisible);
252
253 MCNAPI ::std::shared_ptr<::AbstractScene> createChatScreen();
254
255 MCNAPI ::std::shared_ptr<::AbstractScene> createChooseRealmScreen(
256 ::std::function<void(::Realms::World)> callback,
257 ::SlotSelectedAction action,
258 ::std::function<void()> onCancelCallback
259 );
260
261 MCNAPI ::std::shared_ptr<::AbstractScene> createCodeScreen(::OpenCodeMethod openMethod);
262
263 MCAPI ::std::shared_ptr<::AbstractScene>
264 createCommonDialogInfoScreen(::std::string const& dialogTitle, ::std::string const& dialogBody);
265
266 MCNAPI ::std::shared_ptr<::AbstractScene>
267 createConnectGamepadScreen(::GameControllerErrorType controllerError, ::std::function<void()> onCompleteCallback);
268
269 MCNAPI ::std::shared_ptr<::AbstractScene> createConsoleScreen();
270
271 MCNAPI ::std::shared_ptr<::AbstractScene> createContentLogHistoryScreen();
272
273 MCNAPI ::std::shared_ptr<::AbstractScene>
274 createCreditsScreen(::CreditsType contentType, ::std::function<void()> callback);
275
276 MCNAPI ::std::shared_ptr<::AbstractScene> createCubeMapScreen(bool flushable);
277
278 MCNAPI ::std::shared_ptr<::AbstractScene>
279 createCustomTemplatesScreen(::std::vector<::WorldTemplateInfo> const& customTemplates);
280
281 MCNAPI ::std::shared_ptr<::AbstractScene> createDayOneExperienceIntroPopup();
282
283 MCNAPI ::std::shared_ptr<::AbstractScene> createDayOneExperienceScreen();
284
285 MCNAPI ::std::shared_ptr<::AbstractScene> createDeathScreen();
286
287 MCNAPI ::std::shared_ptr<::AbstractScene> createDebugScreen();
288
289 MCNAPI ::std::shared_ptr<::AbstractScene> createDeeplinkConfirmationScreen(::std::function<void(bool)> callback);
290
291 MCNAPI ::std::shared_ptr<::AbstractScene> createDeleteAccountScreen();
292
293 MCNAPI ::std::shared_ptr<::AbstractScene> createDeleteProgressScreen(
294 ::std::string const& uniqueEventName,
295 ::IContentManager& contentManager,
296 ::std::vector<::std::shared_ptr<::ContentItem const>>&& itemsToDelete
297 );
298
299 MCNAPI ::std::shared_ptr<::AbstractScene>
300 createDimensionChangeProgressScreen(bool localServer, ::DimensionType targetDimensionID);
301
302 MCNAPI ::std::shared_ptr<::AbstractScene>
303 createDisabledSkinScreen(bool twoButtonWithCallback, ::std::function<void()> callback);
304
305 MCNAPI ::std::shared_ptr<::AbstractScene> createDisconnectScreen(
306 ::std::string const& titleMessage,
307 ::std::string const& displayMessage,
308 ::std::string const& screenNameOverride,
309 ::std::string const& telemetryOverride
310 );
311
312 MCNAPI ::std::shared_ptr<::AbstractScene> createDlcProgressScreen(
313 ::std::vector<::DlcId> const& dlcIds,
314 ::std::function<void(bool, bool)> callback,
315 bool showCloseButton,
316 bool processingUpdates,
317 bool requireCancelToExit
318 );
319
320 MCNAPI ::std::shared_ptr<::AbstractScene> createEditWorldScreen(
321 ::LevelSummary const& levelSummary,
322 ::std::string const& packId,
323 ::std::function<void()> onOpenCallback
324 );
325
326 MCNAPI ::std::shared_ptr<::AbstractScene> createEduLibraryCategoryScreen(
327 ::std::string const& title,
328 ::std::string const& icon,
329 ::std::string const& description,
330 ::std::string const& screenshotRatio,
331 int columnCount,
332 ::std::vector<::EduLibraryCategory> const& categories,
333 bool firstPage
334 );
335
336 MCNAPI ::std::shared_ptr<::AbstractScene> createEduPlayScreen(::std::string initialCode);
337
338 MCNAPI ::std::shared_ptr<::AbstractScene> createEduServersScreen();
339
340 MCNAPI ::std::shared_ptr<::AbstractScene> createEduWorldTemplatesScreen();
341
342 MCNAPI ::std::shared_ptr<::AbstractScene> createEduWorldsScreen();
343
344 MCNAPI ::std::shared_ptr<::AbstractScene> createEmoteWheelScreen();
345
346 MCNAPI ::std::shared_ptr<::AbstractScene> createEncryptionWarningScreen(::std::function<void(bool)> callback);
347
348 MCNAPI ::std::shared_ptr<::AbstractScene> createEncyclopediaScreen(::EncyclopediaTopicIndex startingTopicIndex);
349
350 MCNAPI ::std::shared_ptr<::AbstractScene> createExternalLinkDialogScreen(
351 ::std::string const& title,
352 ::std::string const& externalLink,
353 ::std::string const& message,
354 ::std::string const& goToPageText,
355 ::std::string const& secondButtonText,
356 ::std::function<void()> const& callback
357 );
358
359 MCNAPI ::std::shared_ptr<::AbstractScene>
360 createFeedbackPromptPopup(::std::string const& title, ::std::string const& image, ::std::string const& buttonName);
361
362 MCNAPI ::std::shared_ptr<::AbstractScene> createFileDownloadProgressScreen(
363 ::std::string const& realmID,
364 int slotIndex,
365 ::std::string const& realmName,
366 ::std::string const& realmVersion,
367 ::std::string const& realmVersionName,
368 ::std::function<void(bool)> callback
369 );
370
371 MCNAPI ::std::shared_ptr<::AbstractScene> createFileUploadProgressScreen(
372 ::std::string const& realmID,
373 ::std::string const& fileID,
374 int slotIndex,
375 bool needArchiving,
376 ::Core::FileUploadType fileUploadType,
377 ::std::function<void(::UploadState, ::Realms::World)> callback
378 );
379
380 MCNAPI ::std::shared_ptr<::AbstractScene> createGameInputErrorScreen(::std::function<void()> callback);
381
382 MCNAPI ::std::shared_ptr<::AbstractScene> createGamepadDisconnectScreen();
383
384 MCNAPI ::std::shared_ptr<::AbstractScene> createGameplayScreen();
385
386 MCNAPI ::std::shared_ptr<::AbstractScene> createGammaCalibrationScreen();
387
388 MCNAPI ::std::shared_ptr<::AbstractScene> createGlobalPauseScreen();
389
390 MCNAPI ::std::shared_ptr<::AbstractScene> createHowToPlayScreen(::HowToPlayTopicIndex startingTopicIndex);
391
392 MCNAPI ::std::shared_ptr<::AbstractScene> createHudCrosshairOverlayScreen();
393
394 MCNAPI ::std::shared_ptr<::AbstractScene> createHudScreen();
395
396 MCNAPI ::std::shared_ptr<::AbstractScene> createIPSafetyDialogScreen(int externalServerId);
397
398 MCNAPI ::std::shared_ptr<::AbstractScene> createImmersiveReader(::std::string readerText);
399
400 MCNAPI ::std::shared_ptr<::AbstractScene> createImportExportProgressScreen(
401 ::std::string const& titleText,
402 ::std::string const& uniqueEventName,
403 ::std::string const& messageText
404 );
405
406 MCNAPI ::std::shared_ptr<::AbstractScene> createInBedScreen();
407
408 MCNAPI ::std::shared_ptr<::AbstractScene>
409 createInGameSceneFromUrl(::std::string const& url, ::OreUI::RouteMode mode);
410
411 MCNAPI ::std::shared_ptr<::AbstractScene>
412 createInGameScreen(::std::string const& name, ::Player& player, ::BlockPos const& pos, ::ActorUniqueID uniqueId);
413
414 MCNAPI ::std::shared_ptr<::AbstractScene> createInventoryScreen(::CraftingType craftingType);
415
416 MCNAPI ::std::shared_ptr<::AbstractScene> createInviteScreen();
417
418 MCNAPI ::std::shared_ptr<::AbstractScene>
419 createLateJoinPreGameScreen(::std::function<void()> const& userReadyCallback, bool hasXBLBroadcast);
420
421 MCNAPI ::std::shared_ptr<::AbstractScene> createLeaveLevelScreen(
422 ::std::string const& uniqueEventName,
423 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressHandlerList,
424 bool loadAssets
425 );
426
427 MCNAPI ::std::shared_ptr<::AbstractScene>
429
430 MCNAPI ::std::shared_ptr<::AbstractScene> createLegacyCreateWorldScreen();
431
432 MCNAPI ::std::shared_ptr<::AbstractScene> createLegacyWorldTemplateLoadingScreen(::std::string const& manifestId);
433
434 MCNAPI ::std::shared_ptr<::AbstractScene> createLessonCompleteScreen();
435
436 MCNAPI ::std::shared_ptr<::AbstractScene> createLibraryItemScreen(
437 ::std::shared_ptr<::LibraryItem> item,
438 ::std::unordered_map<::std::string, ::std::string> additionalOptions
439 );
440
441 MCNAPI ::std::shared_ptr<::AbstractScene> createLibraryModalScreen(
442 ::LibraryModalScreenType type,
443 ::std::function<void(bool)> callback,
444 ::std::vector<::std::pair<::std::string, ::std::string>> eventProperties
445 );
446
447 MCNAPI ::std::shared_ptr<::AbstractScene> createLibraryScreen(::std::shared_ptr<::LibraryCollection> collection);
448
449 MCNAPI ::std::shared_ptr<::AbstractScene> createLibrarySearchScreen(
450 ::std::shared_ptr<::LibraryCollection> collection,
451 ::std::string const& libraryTitle,
452 ::std::string const& libraryIcon
453 );
454
455 MCNAPI ::std::shared_ptr<::AbstractScene> createLibraryTagScreen(
456 ::std::shared_ptr<::LibraryCollection> collection,
457 ::std::string const& libraryTitle,
458 ::std::string const& libraryIcon,
459 ::std::string const& libraryPageDescription
460 );
461
462 MCNAPI ::std::shared_ptr<::AbstractScene> createLibraryWorldScreen(
463 ::std::shared_ptr<::LibraryCollection> collection,
464 ::std::string libraryTitle,
465 ::std::string libraryIcon,
466 ::std::string libraryPageDescription,
467 ::std::string const& categoryTitle
468 );
469
470 MCNAPI ::std::shared_ptr<::AbstractScene> createLocalWorldPickerScreen(
471 ::std::string const& realmID,
472 int slotIndex,
473 ::std::function<void(::UploadState, ::Realms::World)> callbackAfterUpload
474 );
475
476 MCNAPI ::std::shared_ptr<::MainMenuScreenModel> createMainMenuScreenModel();
477
478 MCNAPI ::std::shared_ptr<::AbstractScene>
479 createMakeInfiniteScreen(::LevelSummary const& editedLevel, ::StorageVersion storageVersion);
480
481 MCNAPI ::std::shared_ptr<::AbstractScene> createManifestValidationScreen(
482 ::PackManifestFactory& manifestFactory,
483 ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> const& keyProvider,
484 ::ResourceLocation const& resourceLocation,
485 ::Core::Path const& originalFilePath,
486 bool packInUserDataPath,
487 ::std::shared_ptr<::PackContentItem const> item
488 );
489
490 MCNAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassPDPScreen(
491 ::MarketplacePassTabIndex tabIndex,
492 ::sidebar::navigationLayout::Type sidebarLayoutType
493 );
494
495 MCNAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassPurchaseAmazonDeviceWarningScreen();
496
497 MCNAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassPurchaseWarningScreen();
498
499 MCNAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassUpsellScreen();
500
501 MCNAPI ::std::shared_ptr<::AbstractScene> createMarketplacePassWelcomeScreen();
502
503 MCNAPI ::std::shared_ptr<::AbstractScene> createMigrationErrorScreen();
504
505 MCNAPI ::std::shared_ptr<::AbstractScene> createMobEffectsScreen();
506
507 MCAPI ::std::shared_ptr<::AbstractScene> createModalProgressScreen(
508 ::std::string const& uniqueEventName,
509 ::std::unique_ptr<::ProgressHandler> progressHandler,
510 bool loadAssets,
511 bool forceRenderBelow,
512 ::std::string const& screenNameOverride,
513 bool isCancellable,
514 float backgroundFillAlpha
515 );
516
517 MCNAPI ::std::shared_ptr<::AbstractScene> createModalScreen(::ModalScreenData const& modalScreenData);
518
519 MCNAPI ::std::shared_ptr<::AbstractScene> createNetworkProgressScreen(
520 ::std::string const& uniqueEventName,
521 ::std::unique_ptr<::ProgressHandler> connectHandler,
522 bool allowSmallDownloads,
523 bool sendProgressTelem,
524 ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility
525 );
526
527 MCNAPI ::std::shared_ptr<::AbstractScene> createNetworkProgressScreen(
528 ::std::string const& uniqueEventName,
529 ::std::deque<::std::unique_ptr<::ProgressHandler>>&& connectHandlers,
530 bool allowSmallDownloads,
531 bool sendProgressTelem,
532 ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility
533 );
534
535 MCNAPI ::std::shared_ptr<::AbstractScene> createNoInvitesOrJoiningScreen();
536
537 MCNAPI ::std::shared_ptr<::AbstractScene> createNoLicenseScreen();
538
539 MCNAPI ::std::shared_ptr<::AbstractScene> createNoWifiWarningScreen();
540
541 MCNAPI ::std::shared_ptr<::AbstractScene> createNotSignedIntoNintendoScreen(::std::string const& messageOverride);
542
543 MCNAPI ::std::shared_ptr<::AbstractScene>
544 createNpcInteractScreen(::Player& player, ::std::shared_ptr<::INpcDialogueData> data);
545
546 MCNAPI ::std::shared_ptr<::AbstractScene> createOSWriteThrottleDialogScreen(
547 ::std::chrono::duration<double, ::std::ratio<1, 1>> totalWait,
548 ::std::shared_ptr<bool> dialogStillAlive
549 );
550
551 MCNAPI ::std::shared_ptr<::AbstractScene> createOnlineSafetyDialogScreen(::OnlineSafetyProgressHandler& handler);
552
553 MCNAPI ::std::shared_ptr<::AbstractScene> createOptionsScreen(
554 ::LevelSummary const& levelSummary,
555 ::SettingsTabIndex startingTabIndex,
556 bool navToMenuOnExit,
557 bool maintainOldFocus,
558 ::std::string const& initialPackId,
559 bool fullscreen,
560 bool legacySyncOnly
561 );
562
563 MCNAPI ::std::shared_ptr<::AbstractScene> createPackSettingsScreen(::PackSettingsInfo packSettingsInfo);
564
565 MCNAPI ::std::shared_ptr<::AbstractScene> createPauseScreen(bool overlaySocialDrawerOnce);
566
567 MCNAPI ::std::shared_ptr<::AbstractScene> createPermissionsScreen(::ActorUniqueID defaultPlayerId);
568
569 MCNAPI ::std::shared_ptr<::AbstractScene>
570 createPlatformNetworkConnectConfirmationScreen(::std::function<void(bool)> callback);
571
572 MCNAPI ::std::shared_ptr<::AbstractScene>
573 createPlatformSplitScreenConnectConfirmationScreen(::std::function<void(bool)> callback);
574
575 MCNAPI ::std::shared_ptr<::AbstractScene>
576 createPlatformStoreConnectConfirmationScreen(::std::function<void(bool)> callback);
577
578 MCNAPI ::std::shared_ptr<::PlayScreenModel> createPlayScreenModel();
579
580 MCNAPI ::std::shared_ptr<::AbstractScene> createPortfolioScreen();
581
582 MCNAPI ::std::shared_ptr<::AbstractScene> createProgressScreen(
583 ::std::string const& uniqueEventName,
584 ::std::unique_ptr<::ProgressHandler> progressHandler,
585 bool loadAssets,
586 bool sendProgressTelem,
587 ::std::string const& overrideScreen
588 );
589
590 MCNAPI ::std::shared_ptr<::AbstractScene> createProgressScreen(
591 ::std::string const& uniqueEventName,
592 ::std::deque<::std::unique_ptr<::ProgressHandler>>&& progressHandlerList,
593 bool loadAssets,
594 bool sendProgressTelem,
595 ::std::string const& overrideScreen
596 );
597
598 MCNAPI ::std::shared_ptr<::AbstractScene> createProgressScreen(
599 ::std::string const& uniqueEventName,
600 ::std::deque<::std::unique_ptr<::ProgressHandler>> progressHandlerList,
601 bool loadAssets,
602 bool sendProgressTelem,
603 bool useRandomProgressMessage,
604 bool allowSmallDownloads,
605 ::ProgressContentType contentType,
606 ::GameType gameType
607 );
608
609 MCNAPI ::std::shared_ptr<::AbstractScene>
610 createRatingPromptPopup(::std::string const& title, ::std::string const& image, ::std::string const& buttonName);
611
612 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmNetworkProgressScreen(
613 ::std::string const& uniqueEventName,
614 ::std::unique_ptr<::ProgressHandler> connectHandler
615 );
616
617 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsAllowListScreen(
618 ::Realms::World const& world,
619 ::std::function<void()> followUpActionAfterCreation,
620 bool forceNewWorld
621 );
622
623 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsCreateScreen(::RealmsCreateParams const& screenDetails);
624
625 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsInviteLinkSettingScreen(
626 ::Realms::World const& world,
627 ::Realms::InviteLink const& link,
628 ::SettingsTabIndex initialTab
629 );
630
631 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsInviteLinksScreen(::Realms::World const& world);
632
633 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsJoinProgressScreen(
634 ::std::string const& uniqueEventName,
635 ::std::unique_ptr<::ProgressHandler> connectHandler,
636 ::std::unique_ptr<::ProgressHandler> progressHandler,
637 bool loadAssets,
638 bool realmsPlusExpired,
639 ::std::function<void()> onlineSafetyCancelledCallback
640 );
641
642 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsManageMembersScreen(::Realms::World const& world);
643
644 MCNAPI ::std::shared_ptr<::AbstractScene>
645 createRealmsManageScreen(::Realms::World const& world, ::SettingsTabIndex initialTab);
646
647 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsPackErrorsScreen();
648
649 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsPendingInvitesScreen(bool hasPendingInvites);
650
651 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsPlusPurchaseWarningScreen(::std::function<void()> callback);
652
653 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsSharingLauncherScreen(::std::string const& realmsInvite);
654
655 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsStoriesTransitionScreen(::Realms::World const& world);
656
657 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsWarningScreen();
658
659 MCNAPI ::std::shared_ptr<::AbstractScene> createRealmsWarningScreenWithParams(
660 ::Realms::World const& world,
661 ::std::string const& ip,
662 int port,
663 ::std::string const& serverRegion,
664 int serviceQuality
665 );
666
667 MCNAPI ::std::shared_ptr<::AbstractScene> createSafeZoneScreen();
668
669 MCAPI ::std::shared_ptr<::AbstractScene> createSceneFromUrl(::std::string const& url, ::OreUI::RouteMode mode);
670
671 MCNAPI ::std::shared_ptr<::AbstractScene> createScreenshotScreen();
672
673 MCNAPI ::std::shared_ptr<::AbstractScene> createSelectWorldScreen(
674 ::std::function<
676 callback
677 );
678
679 MCNAPI ::std::shared_ptr<::AbstractScene> createServerForm(uint formId, ::std::string const& formJSON);
680
681 MCNAPI ::std::shared_ptr<::AbstractScene>
683
684 MCNAPI ::std::shared_ptr<::AbstractScene>
685 createSignInErrorScreen(::std::string errorMessage, ::std::function<void()> onDismiss);
686
687 MCNAPI ::std::shared_ptr<::AbstractScene>
688 createSignScreen(::BlockPos const& pos, ::BlockActorType blockActorType, bool isFrontSide);
689
690 MCNAPI ::std::shared_ptr<::AbstractScene> createStorageMigrationProgressScreen(
692 );
693
694 MCNAPI ::std::shared_ptr<::AbstractScene> createStorageSpaceWarningScreen(::std::string const& message);
695
696 MCNAPI ::std::shared_ptr<::AbstractScene> createStoreFeaturesDisabledScreen(::std::string const& messageOverride);
697
698 MCNAPI ::std::shared_ptr<::AbstractScene>
699 createStoreInventoryScreen(::InventoryTabIndex tabIndex, ::std::optional<::StoreDataDrivenScreenParams> paramsOpt);
700
701 MCNAPI ::std::shared_ptr<::AbstractScene>
702 createSubmitFeedbackScreen(::FeedbackType feedbackType, ::std::string const& identifier, int feedbackTextLimit);
703
704 MCNAPI ::std::shared_ptr<::AbstractScene> createSunsettingScreen(::std::string& title);
705
706 MCNAPI ::std::shared_ptr<::AbstractScene> createTTSEnabledWarningScreen(::TTSEnabledStatus status);
707
708 MCNAPI ::std::shared_ptr<::AbstractScene> createTTSErrorScreen();
709
710 MCNAPI ::std::shared_ptr<::AbstractScene> createToastScreen();
711
712 MCNAPI ::std::shared_ptr<::AbstractScene> createTokenFAQScreen();
713
714 MCNAPI ::std::shared_ptr<::AbstractScene> createTokenPopupScreen();
715
716 MCNAPI ::std::shared_ptr<::AbstractScene> createTrade2Screen(::Player&, ::ActorUniqueID const& uniqueID);
717
718 MCNAPI ::std::shared_ptr<::AbstractScene> createTradeScreen(::Player&, ::ActorUniqueID const& uniqueID);
719
720 MCAPI ::std::shared_ptr<::UIScene>
721 createUIScene(::std::string const& screenName, ::std::shared_ptr<::ScreenController> controller);
722
723 MCNAPI ::std::shared_ptr<::AbstractScene>
724 createUpdateWorldHeightScreen(::std::function<void(bool)> startWorldCallback);
725
726 MCNAPI ::std::shared_ptr<::AbstractScene> createUpsellScreen(bool isNewWorld, bool timeExpired);
727
728 MCNAPI ::std::shared_ptr<::AbstractScene> createUserManagementModalScreen(
729 ::UserManagementModalScreenData const& screenData,
730 ::std::function<void(bool)> callback
731 );
732
733 MCNAPI ::std::shared_ptr<::AbstractScene> createVersionUpdateScreen(::UpdateVersionScreenContext context);
734
735 MCNAPI ::std::shared_ptr<::AbstractScene> createWin10TrialConversionScreen();
736
737 MCNAPI ::std::shared_ptr<::AbstractScene>
738 createWorldConversionCompleteScreen(::std::string const& levelId, ::std::function<void()> cancelCallback);
739
740 MCNAPI ::std::shared_ptr<::AbstractScene> createWorldRecoveryScreen(::std::function<void()> successCallback);
741
742 MCNAPI ::std::shared_ptr<::AbstractScene> createWorldSeedCatalogScreen(
743 ::std::function<void(::std::string const&, ::std::string const&, ::Core::Path const&)> closeCallback
744 );
745
746 MCNAPI ::std::shared_ptr<::AbstractScene> createWorldTemplateScreen(bool hideTopBar);
747
748 MCNAPI ::std::shared_ptr<::AbstractScene> createXblConsoleSignInScreen(::std::string const& code);
749
750 MCNAPI ::std::shared_ptr<::AbstractScene> createXblImmediateSignInScreen(
751 ::std::string const& signInSource,
752 ::std::function<void()> callBackAfterSignIn,
753 ::std::function<void()> callBackAfterCancel
754 );
755
756 MCNAPI ::std::shared_ptr<::AbstractScene> createXblImmediateSignInScreen(
757 ::std::string const& signInSource,
758 ::std::string const& redirectToRoute,
759 bool replacePreviousRouteAfterSignIn
760 );
761
762 MCNAPI ::Json::Value generateGlobalVars(::std::string const& screenName, ::ScreenController& controller);
763
765
767 ::std::string const& registeredName,
768 ::std::string const& resourceName,
769 ::std::function<::std::shared_ptr<
770 ::UIScene>(::SceneFactory&, ::std::string const&, ::Player&, ::BlockPos const&, ::ActorUniqueID)>
771 creationFunc
772 );
773
775
776 MCNAPI void setUseClientInstanceStack(bool useClientInstanceStack);
777
779 // NOLINTEND
780
781public:
782 // constructor thunks
783 // NOLINTBEGIN
784 MCNAPI void* $ctor(
785 ::std::unique_ptr<::ISceneFactoryImpl> impl,
786 ::IMinecraftGame& minecraft,
787 ::ILayoutServiceProvider& layoutServiceProvider,
788 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance> const& client,
789 ::OreUI::SceneProvider& sceneProvider
790 );
791 // NOLINTEND
792
793public:
794 // destructor thunk
795 // NOLINTBEGIN
796 MCNAPI void $dtor();
797 // NOLINTEND
798
799public:
800 // virtual function thunks
801 // NOLINTBEGIN
802 MCNAPI ::std::shared_ptr<::AbstractScene> $createDevConsole();
803
804 MCNAPI ::std::shared_ptr<::AbstractScene> $createTabbedUpsellScreen(::TabbedUpsellScreenDefaultTab tab);
805
806 MCNAPI ::std::shared_ptr<::AbstractScene> $createStoreDataDrivenScreen(
807 ::StoreDataDrivenScreenParams const& params,
808 bool const forceDisableProgressScreen,
809 ::std::function<void()> initializedCallback
810 );
811
812 MCNAPI ::std::shared_ptr<::AbstractScene> $createStartMenuScreen(bool shouldSendEvent);
813 // NOLINTEND
814};
Definition AbstractScene.h:5
Definition BaseScreen.h:5
Definition NonOwnerPointer.h:9
Definition StorageMigrationService.h:21
Definition AsyncPromise.h:8
Definition BlockActor.h:30
Definition BlockPos.h:14
Definition CachedScenes.h:5
Definition Path.h:10
Definition DlcId.h:5
Definition IClientInstance.h:5
Definition IContentKeyProvider.h:13
Definition IContentManager.h:5
Definition ILayoutServiceProvider.h:5
Definition IMinecraftGame.h:5
Definition ISceneFactoryImpl.h:5
Definition ISceneFactory.h:5
Definition IUIDefRepository.h:5
Definition Value.h:16
Definition LayoutManager.h:5
Definition LibraryCollection.h:5
Definition LibraryItem.h:5
Definition MainMenuScreenModel.h:5
Definition MinecraftScreenModel.h:5
Definition OnlineSafetyProgressHandler.h:5
Definition SceneProvider.h:7
Definition PackManifestFactory.h:21
Definition PlayScreenModel.h:5
Definition Player.h:131
Definition ProgressHandler.h:5
Definition RealmsCreateParams.h:5
Definition ResourceLocation.h:15
Definition SceneFactoryProxy.h:5
Definition SceneFactory.h:5
MCAPI ::std::shared_ptr<::AbstractScene > createMarketplacePassUpsellScreen()
MCAPI void resetSceneStackForOutOfGameUse()
MCAPI ::std::shared_ptr<::AbstractScene > createHowToPlayScreen(::HowToPlayTopicIndex startingTopicIndex)
MCAPI ::std::shared_ptr<::AbstractScene > createImmersiveReader(::std::string readerText)
MCAPI ::std::shared_ptr<::AbstractScene > createLocalWorldPickerScreen(::std::string const &realmID, int slotIndex, ::std::function< void(::UploadState, ::Realms::World)> callbackAfterUpload)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsJoinProgressScreen(::std::string const &uniqueEventName, ::std::unique_ptr<::ProgressHandler > connectHandler, ::std::unique_ptr<::ProgressHandler > progressHandler, bool loadAssets, bool realmsPlusExpired, ::std::function< void()> onlineSafetyCancelledCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createLibraryItemScreen(::std::shared_ptr<::LibraryItem > item, ::std::unordered_map<::std::string, ::std::string > additionalOptions)
MCAPI ::std::shared_ptr<::AbstractScene > createTrade2Screen(::Player &, ::ActorUniqueID const &uniqueID)
MCAPI ::std::shared_ptr<::AbstractScene > createMarketplacePassPDPScreen(::MarketplacePassTabIndex tabIndex, ::sidebar::navigationLayout::Type sidebarLayoutType)
MCAPI ::std::shared_ptr<::AbstractScene > createGameplayScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createGlobalPauseScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createStoreInventoryScreen(::InventoryTabIndex tabIndex, ::std::optional<::StoreDataDrivenScreenParams > paramsOpt)
MCAPI ::std::shared_ptr<::AbstractScene > createInGameSceneFromUrl(::std::string const &url, ::OreUI::RouteMode mode)
MCAPI ::std::shared_ptr<::PlayScreenModel > createPlayScreenModel()
MCAPI ::std::shared_ptr<::AbstractScene > createNetworkProgressScreen(::std::string const &uniqueEventName, ::std::unique_ptr<::ProgressHandler > connectHandler, bool allowSmallDownloads, bool sendProgressTelem, ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility)
MCAPI void precacheGameplayScreens()
MCAPI ::std::shared_ptr<::AbstractScene > createPlatformNetworkConnectConfirmationScreen(::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createModalScreen(::ModalScreenData const &modalScreenData)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsPackErrorsScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsManageMembersScreen(::Realms::World const &world)
MCAPI ::std::shared_ptr<::AbstractScene > createBookScreen(int bookSlot, bool editable, int page, ::BlockActor *lectern)
MCAPI ::std::shared_ptr<::AbstractScene > createScreenshotScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createOSWriteThrottleDialogScreen(::std::chrono::duration< double, ::std::ratio< 1, 1 > > totalWait, ::std::shared_ptr< bool > dialogStillAlive)
MCAPI ::std::shared_ptr<::AbstractScene > createEncryptionWarningScreen(::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createGammaCalibrationScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createDisabledSkinScreen(bool twoButtonWithCallback, ::std::function< void()> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createLibraryScreen(::std::shared_ptr<::LibraryCollection > collection)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsPendingInvitesScreen(bool hasPendingInvites)
MCAPI void _preCacheScreen(::Json::Value const &globalVars, ::std::string const &screenName)
MCAPI ::std::shared_ptr<::AbstractScene > createProgressScreen(::std::string const &uniqueEventName, ::std::deque<::std::unique_ptr<::ProgressHandler > > progressHandlerList, bool loadAssets, bool sendProgressTelem, bool useRandomProgressMessage, bool allowSmallDownloads, ::ProgressContentType contentType, ::GameType gameType)
MCAPI ::std::shared_ptr<::AbstractScene > createSignScreen(::BlockPos const &pos, ::BlockActorType blockActorType, bool isFrontSide)
MCAPI ::std::shared_ptr<::AbstractScene > createNoWifiWarningScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createLibraryModalScreen(::LibraryModalScreenType type, ::std::function< void(bool)> callback, ::std::vector<::std::pair<::std::string, ::std::string > > eventProperties)
MCAPI ::std::shared_ptr<::AbstractScene > createEditWorldScreen(::LevelSummary const &levelSummary, ::std::string const &packId, ::std::function< void()> onOpenCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createDeleteProgressScreen(::std::string const &uniqueEventName, ::IContentManager &contentManager, ::std::vector<::std::shared_ptr<::ContentItem const > > &&itemsToDelete)
MCAPI ::std::shared_ptr<::AbstractScene > createInGameScreen(::std::string const &name, ::Player &player, ::BlockPos const &pos, ::ActorUniqueID uniqueId)
MCAPI ::std::shared_ptr<::AbstractScene > createSelectWorldScreen(::std::function< void(::SelectWorldResult, ::optional_ref<::LevelSummary const >, ::optional_ref<::Realms::World const >)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createXblImmediateSignInScreen(::std::string const &signInSource, ::std::string const &redirectToRoute, bool replacePreviousRouteAfterSignIn)
MCAPI ::std::shared_ptr<::AbstractScene > createWorldTemplateScreen(bool hideTopBar)
MCAPI ::std::shared_ptr<::AbstractScene > createTTSErrorScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createAdhocScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createNoLicenseScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsCreateScreen(::RealmsCreateParams const &screenDetails)
MCAPI ::std::shared_ptr<::AbstractScene > createUserManagementModalScreen(::UserManagementModalScreenData const &screenData, ::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createEmoteWheelScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createRatingPromptPopup(::std::string const &title, ::std::string const &image, ::std::string const &buttonName)
MCAPI void setUseClientInstanceStack(bool useClientInstanceStack)
MCAPI ::std::shared_ptr<::AbstractScene > createLeaveLevelScreen(::std::string const &uniqueEventName, ::std::deque<::std::unique_ptr<::ProgressHandler > > progressHandlerList, bool loadAssets)
MCAPI ::std::shared_ptr<::AbstractScene > createBetaFeedbackQrScreen(::std::string const &feedbackUrl)
MCAPI ::std::shared_ptr<::AbstractScene > createInventoryScreen(::CraftingType craftingType)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsPlusPurchaseWarningScreen(::std::function< void()> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createMarketplacePassPurchaseAmazonDeviceWarningScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createStorageSpaceWarningScreen(::std::string const &message)
MCAPI ::std::shared_ptr<::AbstractScene > createFileDownloadProgressScreen(::std::string const &realmID, int slotIndex, ::std::string const &realmName, ::std::string const &realmVersion, ::std::string const &realmVersionName, ::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createCellularDataWarningScreen(::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createPlatformSplitScreenConnectConfirmationScreen(::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsInviteLinkSettingScreen(::Realms::World const &world, ::Realms::InviteLink const &link, ::SettingsTabIndex initialTab)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsInviteLinksScreen(::Realms::World const &world)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsWarningScreenWithParams(::Realms::World const &world, ::std::string const &ip, int port, ::std::string const &serverRegion, int serviceQuality)
MCAPI ::std::shared_ptr<::AbstractScene > createSignInErrorScreen(::std::string errorMessage, ::std::function< void()> onDismiss)
MCAPI ::std::shared_ptr<::AbstractScene > $createDevConsole()
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsWarningScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createActiveDirectoryAuthenticationScreen(bool displaySignIn, ::LastClickedSource lastClickedSource)
MCAPI ::std::shared_ptr<::AbstractScene > createDeleteAccountScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createCreditsScreen(::CreditsType contentType, ::std::function< void()> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createConsoleScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createPackSettingsScreen(::PackSettingsInfo packSettingsInfo)
MCAPI ::std::shared_ptr<::AbstractScene > createTTSEnabledWarningScreen(::TTSEnabledStatus status)
MCAPI ::std::shared_ptr<::AbstractScene > $createStartMenuScreen(bool shouldSendEvent)
MCAPI ::std::shared_ptr<::AbstractScene > createStoreFeaturesDisabledScreen(::std::string const &messageOverride)
MCAPI ::std::shared_ptr<::AbstractScene > createFeedbackPromptPopup(::std::string const &title, ::std::string const &image, ::std::string const &buttonName)
MCAPI ::std::shared_ptr<::AbstractScene > createDimensionChangeProgressScreen(bool localServer, ::DimensionType targetDimensionID)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsManageScreen(::Realms::World const &world, ::SettingsTabIndex initialTab)
MCAPI ::std::shared_ptr<::AbstractScene > createVersionUpdateScreen(::UpdateVersionScreenContext context)
MCAPI::Json::Value _createSafeZoneSizeVar(float safeZoneScaleFactor, float screenPositionOffset, bool horizontal, bool isToporLeft) const
MCAPI ::std::shared_ptr<::AbstractScene > createWorldRecoveryScreen(::std::function< void()> successCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createPermissionsScreen(::ActorUniqueID defaultPlayerId)
MCAPI ::std::shared_ptr<::AbstractScene > createCannotUseNetworkFeaturesScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createLegacyWorldTemplateLoadingScreen(::std::string const &manifestId)
MCAPI ::std::shared_ptr<::AbstractScene > createInviteScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createMigrationErrorScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createAddEditExternalServerScreen(int id)
MCAPI ::std::shared_ptr<::AbstractScene > createAcceptDeclineInvitationScreen(::std::string const &title, ::std::string const &subtitle, ::std::function< void(bool, bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createBundlePurchaseWarningScreen(::IStoreCatalogItem const &catalogItem, ::OfferCollectionComponent const &bundleCollection, ::std::function< void()> onPurchaseCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createLegacyCreateWorldScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createDeathScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createLibraryTagScreen(::std::shared_ptr<::LibraryCollection > collection, ::std::string const &libraryTitle, ::std::string const &libraryIcon, ::std::string const &libraryPageDescription)
MCAPI ::std::shared_ptr<::AbstractScene > $createTabbedUpsellScreen(::TabbedUpsellScreenDefaultTab tab)
MCAPI ::std::shared_ptr<::AbstractScene > createConnectGamepadScreen(::GameControllerErrorType controllerError, ::std::function< void()> onCompleteCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createChatScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createAutoSaveInfoScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createProgressScreen(::std::string const &uniqueEventName, ::std::deque<::std::unique_ptr<::ProgressHandler > > &&progressHandlerList, bool loadAssets, bool sendProgressTelem, ::std::string const &overrideScreen)
MCAPI ::std::shared_ptr<::AbstractScene > createIPSafetyDialogScreen(int externalServerId)
MCAPI::Json::Value generateGlobalVars(::std::string const &screenName, ::ScreenController &controller)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsAllowListScreen(::Realms::World const &world, ::std::function< void()> followUpActionAfterCreation, bool forceNewWorld)
MCAPI ::std::shared_ptr<::AbstractScene > createServerForm(uint formId, ::std::string const &formJSON)
MCAPI void unregisterInGameScreens()
MCAPI ::std::shared_ptr<::AbstractScene > createMarketplacePassPurchaseWarningScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createHudCrosshairOverlayScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createSubmitFeedbackScreen(::FeedbackType feedbackType, ::std::string const &identifier, int feedbackTextLimit)
MCAPI ::std::shared_ptr<::AbstractScene > createOnlineSafetyDialogScreen(::OnlineSafetyProgressHandler &handler)
MCAPI ::std::shared_ptr<::AbstractScene > createWin10TrialConversionScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createAdhocInProgressScreen(bool enableAdhoc)
MCAPI ::std::shared_ptr<::AbstractScene > createDlcProgressScreen(::std::vector<::DlcId > const &dlcIds, ::std::function< void(bool, bool)> callback, bool showCloseButton, bool processingUpdates, bool requireCancelToExit)
MCAPI ::std::shared_ptr<::AbstractScene > createDeeplinkConfirmationScreen(::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createEduWorldTemplatesScreen()
MCAPI SceneFactory(::std::unique_ptr<::ISceneFactoryImpl > impl, ::IMinecraftGame &minecraft, ::ILayoutServiceProvider &layoutServiceProvider, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &client, ::OreUI::SceneProvider &sceneProvider)
MCAPI ::std::shared_ptr<::AbstractScene > createOptionsScreen(::LevelSummary const &levelSummary, ::SettingsTabIndex startingTabIndex, bool navToMenuOnExit, bool maintainOldFocus, ::std::string const &initialPackId, bool fullscreen, bool legacySyncOnly)
MCAPI ::std::shared_ptr<::AbstractScene > createStorageMigrationProgressScreen(::Bedrock::NonOwnerPointer<::Bedrock::StorageMigration::StorageMigrationService > const &migrationService)
MCAPI ::std::shared_ptr<::AbstractScene > createProgressScreen(::std::string const &uniqueEventName, ::std::unique_ptr<::ProgressHandler > progressHandler, bool loadAssets, bool sendProgressTelem, ::std::string const &overrideScreen)
MCAPI ::std::shared_ptr<::AbstractScene > createEduPlayScreen(::std::string initialCode)
MCAPI ::std::shared_ptr<::AbstractScene > createSafeZoneScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createEduServersScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createPortfolioScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createXblConsoleSignInScreen(::std::string const &code)
MCAPI ::std::shared_ptr<::AbstractScene > createDisconnectScreen(::std::string const &titleMessage, ::std::string const &displayMessage, ::std::string const &screenNameOverride, ::std::string const &telemetryOverride)
MCAPI ::std::shared_ptr<::AbstractScene > createDebugScreen()
MCAPI void $dtor()
MCAPI ::std::shared_ptr<::AbstractScene > createPlatformStoreConnectConfirmationScreen(::std::function< void(bool)> callback)
MCAPI ::std::shared_ptr<::MainMenuScreenModel > createMainMenuScreenModel()
MCAPI ::std::shared_ptr<::AbstractScene > $createStoreDataDrivenScreen(::StoreDataDrivenScreenParams const &params, bool const forceDisableProgressScreen, ::std::function< void()> initializedCallback)
MCAPI::Json::Value _calculateSafeZoneSize(float safeZoneScaleFactor, float screenPositionOffset, bool horizontal, bool isToporLeft) const
MCAPI ::std::shared_ptr<::AbstractScene > createNotSignedIntoNintendoScreen(::std::string const &messageOverride)
MCAPI ::std::shared_ptr<::AbstractScene > createLegacyCreateWorldFromTemplateScreen(::LevelSummary const &levelSummary)
MCAPI void registerInGameScreen(::std::string const &registeredName, ::std::string const &resourceName, ::std::function<::std::shared_ptr< ::UIScene >(::SceneFactory &, ::std::string const &, ::Player &, ::BlockPos const &, ::ActorUniqueID)> creationFunc)
MCAPI ::std::shared_ptr<::AbstractScene > createGamepadDisconnectScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createRealmNetworkProgressScreen(::std::string const &uniqueEventName, ::std::unique_ptr<::ProgressHandler > connectHandler)
MCAPI ::std::shared_ptr<::AbstractScene > createTokenFAQScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createCubeMapScreen(bool flushable)
MCAPI ::std::shared_ptr<::AbstractScene > createEncyclopediaScreen(::EncyclopediaTopicIndex startingTopicIndex)
MCAPI ::std::shared_ptr<::AbstractScene > createCodeScreen(::OpenCodeMethod openMethod)
MCAPI ::std::shared_ptr<::AbstractScene > createWorldConversionCompleteScreen(::std::string const &levelId, ::std::function< void()> cancelCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createTradeScreen(::Player &, ::ActorUniqueID const &uniqueID)
MCAPI ::std::shared_ptr<::AbstractScene > createMakeInfiniteScreen(::LevelSummary const &editedLevel, ::StorageVersion storageVersion)
MCAPI ::std::shared_ptr<::AbstractScene > createWorldSeedCatalogScreen(::std::function< void(::std::string const &, ::std::string const &, ::Core::Path const &)> closeCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createMobEffectsScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createNpcInteractScreen(::Player &player, ::std::shared_ptr<::INpcDialogueData > data)
MCAPI ::std::shared_ptr<::AbstractScene > createNetworkProgressScreen(::std::string const &uniqueEventName, ::std::deque<::std::unique_ptr<::ProgressHandler > > &&connectHandlers, bool allowSmallDownloads, bool sendProgressTelem, ::OnlineSafetyDialogVisibility onlineSafetyDialogVisibility)
MCAPI ::std::shared_ptr<::AbstractScene > createToastScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createExternalLinkDialogScreen(::std::string const &title, ::std::string const &externalLink, ::std::string const &message, ::std::string const &goToPageText, ::std::string const &secondButtonText, ::std::function< void()> const &callback)
MCAPI ::std::shared_ptr<::AbstractScene > createServerTrustModalScreen(::std::string serverAddress, ::Bedrock::Threading::AsyncPromise< bool > resultPromise)
MCAPI ::std::shared_ptr<::AbstractScene > createLibrarySearchScreen(::std::shared_ptr<::LibraryCollection > collection, ::std::string const &libraryTitle, ::std::string const &libraryIcon)
MCAPI ::std::shared_ptr<::AbstractScene > createLibraryWorldScreen(::std::shared_ptr<::LibraryCollection > collection, ::std::string libraryTitle, ::std::string libraryIcon, ::std::string libraryPageDescription, ::std::string const &categoryTitle)
MCAPI ::std::shared_ptr<::AbstractScene > createFileUploadProgressScreen(::std::string const &realmID, ::std::string const &fileID, int slotIndex, bool needArchiving, ::Core::FileUploadType fileUploadType, ::std::function< void(::UploadState, ::Realms::World)> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createXblImmediateSignInScreen(::std::string const &signInSource, ::std::function< void()> callBackAfterSignIn, ::std::function< void()> callBackAfterCancel)
MCAPI ::std::shared_ptr<::AbstractScene > createImportExportProgressScreen(::std::string const &titleText, ::std::string const &uniqueEventName, ::std::string const &messageText)
MCAPI ::std::shared_ptr<::AbstractScene > createUpdateWorldHeightScreen(::std::function< void(bool)> startWorldCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createInBedScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createLessonCompleteScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createContentLogHistoryScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createMarketplacePassWelcomeScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createPauseScreen(bool overlaySocialDrawerOnce)
MCAPI void * $ctor(::std::unique_ptr<::ISceneFactoryImpl > impl, ::IMinecraftGame &minecraft, ::ILayoutServiceProvider &layoutServiceProvider, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance > const &client, ::OreUI::SceneProvider &sceneProvider)
MCAPI ::std::shared_ptr<::AbstractScene > createDayOneExperienceScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createSunsettingScreen(::std::string &title)
MCAPI ::std::shared_ptr<::AbstractScene > createGameInputErrorScreen(::std::function< void()> callback)
MCAPI ::std::shared_ptr<::AbstractScene > createCustomTemplatesScreen(::std::vector<::WorldTemplateInfo > const &customTemplates)
MCAPI ::std::shared_ptr<::AbstractScene > createEduLibraryCategoryScreen(::std::string const &title, ::std::string const &icon, ::std::string const &description, ::std::string const &screenshotRatio, int columnCount, ::std::vector<::EduLibraryCategory > const &categories, bool firstPage)
MCAPI ::std::shared_ptr<::AbstractScene > createChooseRealmScreen(::std::function< void(::Realms::World)> callback, ::SlotSelectedAction action, ::std::function< void()> onCancelCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createApplyResourcePacksScreen(::std::function< void(::MinecraftScreenModel &)> applyPacks)
MCAPI ::std::shared_ptr<::AbstractScene > createActiveDirectoryModal(::ActiveDirectoryModalArgs const &args)
MCAPI ::std::shared_ptr<::AbstractScene > _createPlayScreenImpl(::PlayScreenDefaultTab tab, ::std::string const &dirtyLevelId, ::std::function< void()> initializedCallback)
MCAPI ::std::shared_ptr<::AbstractScene > createEduWorldsScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsStoriesTransitionScreen(::Realms::World const &world)
MCAPI ::std::shared_ptr<::AbstractScene > createNoInvitesOrJoiningScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createUpsellScreen(bool isNewWorld, bool timeExpired)
MCAPI ::std::shared_ptr<::AbstractScene > createDayOneExperienceIntroPopup()
MCAPI ::std::shared_ptr<::AbstractScene > createManifestValidationScreen(::PackManifestFactory &manifestFactory, ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > const &keyProvider, ::ResourceLocation const &resourceLocation, ::Core::Path const &originalFilePath, bool packInUserDataPath, ::std::shared_ptr<::PackContentItem const > item)
MCAPI ::std::shared_ptr<::AbstractScene > createTokenPopupScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createChalkboardScreen(::BlockPos const &pos, bool lockVisible)
MCAPI ::std::shared_ptr<::AbstractScene > createRealmsSharingLauncherScreen(::std::string const &realmsInvite)
MCAPI ::std::shared_ptr<::AbstractScene > createHudScreen()
MCAPI ::std::shared_ptr<::AbstractScene > createLateJoinPreGameScreen(::std::function< void()> const &userReadyCallback, bool hasXBLBroadcast)
Definition ScreenController.h:5
Definition TaskGroup.h:85
Definition UIControlFactory.h:5
Definition UIControl.h:5
Definition UIScene.h:5
Definition UISoundPlayer.h:5
Definition VisualTree.h:5
Definition optional_ref.h:10
Definition ActiveDirectoryModalArgs.h:5
Definition ActorUniqueID.h:5
Definition ContentItem.h:5
Definition DimensionType.h:5
Definition EDULibraryCategory.h:5
Definition INpcDialogueData.h:12
Definition LevelSummary.h:30
Definition ModalScreenData.h:5
Definition PackContentItem.h:5
Definition PackSettingsInfo.h:5
Definition World.h:7
Definition SceneFactory.h:13
Definition StoreDataDrivenScreenParams.h:5
Definition UserManagementModalScreenData.h:5
Definition WorldTemplateInfo.h:12
Definition code.h:5
Definition context.h:5