Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MinecraftScreenModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/game/MinecraftGameFeatures.h"
7#include "mc/client/game/WebviewInterfaceType.h"
8#include "mc/client/gui/SceneType.h"
9#include "mc/client/gui/SettingsTabIndex.h"
10#include "mc/client/gui/screens/SelectWorldResult.h"
11#include "mc/client/gui/screens/controllers/CreditsType.h"
12#include "mc/client/gui/screens/models/IMinecraftScreenModel.h"
13#include "mc/client/gui/screens/models/PlatformStoreIconModel.h"
14#include "mc/client/input/ButtonIndiciesEnum.h"
15#include "mc/client/input/IconSize.h"
16#include "mc/client/input/TriggerIndiciesEnum.h"
17#include "mc/client/network/clubs/GenericStatus.h"
18#include "mc/client/network/realms/FailureReason.h"
19#include "mc/client/network/realms/GenericStatus.h"
20#include "mc/client/network/realms/RealmsAPI.h"
21#include "mc/client/persona/defaults/DefaultSkinType.h"
22#include "mc/client/realms/PlayerRoleActions.h"
23#include "mc/client/services/download/IDlcBatcher.h"
24#include "mc/client/social/MultiplayerServiceIdentifier.h"
25#include "mc/client/social/UserPlatformConnectionResult.h"
26#include "mc/client/store/commerce/PurchaseResult.h"
27#include "mc/client/store/iap/StorePreviewVersion.h"
28#include "mc/common/SubClientId.h"
29#include "mc/deps/application/ClipboardFeatureFlags.h"
30#include "mc/deps/code_builder/CodeBuilderPerformance.h"
31#include "mc/deps/core/file/PathBuffer.h"
32#include "mc/deps/core/http/StatusCode.h"
33#include "mc/deps/core/platform/BuildPlatform.h"
34#include "mc/deps/core/threading/Async.h"
35#include "mc/deps/core/utility/NonOwnerPointer.h"
36#include "mc/deps/core/utility/optional_ref.h"
37#include "mc/deps/core/utility/pub_sub/Connector.h"
38#include "mc/events/IMinecraftEventing.h"
39#include "mc/events/UserGeneratedUriSource.h"
40#include "mc/identity/IdentitySignInTrigger.h"
41#include "mc/network/packet/ModalFormCancelReason.h"
42#include "mc/network/packet/ResourcePackResponse.h"
43#include "mc/server/commands/PlayerPermissionLevel.h"
44#include "mc/util/ProfanityFilterContext.h"
45#include "mc/world/ContainerID.h"
46#include "mc/world/actor/player/LoadingState.h"
47#include "mc/world/level/FileArchiver.h"
48#include "mc/world/level/GameType.h"
49
50// auto generated forward declare list
51// clang-format off
52class AbstractScene;
54class Actor;
56class ContentIdentity;
57class ContentTierInfo;
59class DlcId;
61class FileDataRequest;
64class IClientInstance;
65class IContentManager;
66class IDlcBatchModel;
70class IMinecraftGame;
72class ISceneStack;
74class LevelData;
75class LevelSettings;
77class PackManifest;
81class PlayerListEntry;
82class ProgressHandler;
83class PropertyBag;
85class SceneFactory;
86class SkinHandle;
88class StoreCatalogRepository;
89class TaskGroup;
90class TransactionContext;
92class WireframeQueue;
93struct ActorUniqueID;
94struct ContentItem;
97struct EduPurchaseDetails;
99struct LevelSummary;
101struct PDFOptions;
102struct PackIdVersion;
103struct Purchase;
104struct StoreContentSources;
106struct SubscriptionOffer;
107namespace Bedrock::Http { class Status; }
108namespace Clubs { struct ClubModel; }
109namespace Core { class Path; }
110namespace EduCloud { struct IEduCloudSaveSystem; }
111namespace Identity { struct SignOutResult; }
112namespace Invites { struct Invite; }
113namespace Invites { struct InviteId; }
114namespace Json { class Value; }
115namespace Realms { class InvitesService; }
116namespace Realms { struct ConfigInfo; }
117namespace Realms { struct InviteLink; }
118namespace Realms { struct Player; }
119namespace Realms { struct RealmId; }
120namespace Realms { struct ServerRegion; }
121namespace Realms { struct World; }
122namespace Realms { struct WorldBackupList; }
123namespace Realms::Service { class IRealmsInviteLinksDomain; }
124namespace Social { class FriendList; }
125namespace Social { class GameConnectionInfo; }
126namespace Social { class IUserManager; }
127namespace Social { struct MultiIdentitySigninResult; }
128namespace Social { struct PermissionCheckResult; }
129namespace Social { struct PlatformUserProfileData; }
130namespace Social { struct UserLinkedAccountsInfo; }
131namespace Social { struct XUID; }
132namespace Social { struct XboxLiveUserProfileData; }
133namespace edu::auth { struct CredentialsObserver; }
134namespace mce { class UUID; }
135// clang-format on
136
138 public ::IDlcBatcher,
139 public ::std::enable_shared_from_this<::MinecraftScreenModel> {
140public:
141 // MinecraftScreenModel inner types define
142 enum class FriendsDrawerLocation : int {
143 MainMenu = 0,
144 InGameMenu = 1,
145 };
146
147 using Context = ::MinecraftScreenModelContext;
148
149public:
150 // member variables
151 // NOLINTBEGIN
152 ::ll::TypedStorage<8, 8, ::IMinecraftGame&> mMinecraft;
153 ::ll::TypedStorage<8, 8, ::ILayoutServiceProvider&> mLayoutServiceProvider;
154 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IAdvancedGraphicsOptions>> mAdvancedGraphicsOptions;
155 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
156 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::ISceneStack>> mSceneStack;
157 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::AbstractScene>> mLoadingScene;
158 ::ll::TypedStorage<8, 8, ::SceneFactory&> mSceneFactory;
159 ::ll::TypedStorage<1, 1, bool> mIsDirty;
160 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientInstanceModel>> mClientModel;
161 ::ll::TypedStorage<4, 4, ::LoadingState> mResourcePackConfirmationLoadingState;
162 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SkinPackCollectionModel>> mSkinPackCollectionModel;
163 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SkinPackCollectionModel>> mPurchasableSkinPackCollectionModel;
164 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SkinPackCollectionModel>> mOwnedSkinPackCollectionModel;
165 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::SkinPackCollectionModel>> mRealmsPlusSkinPackCollectionModel;
166 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mAsyncTaskGroup;
167 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PlatformUpsellDialog>> mPlatformUpsellDialog;
168 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IDlcBatcher>> mDlcBatcher;
169 ::ll::TypedStorage<8, 16, ::Bedrock::Threading::Async<void>> mStartServerResult;
170 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::IScreenCapabilities>> mCapabilities;
171 ::ll::TypedStorage<8, 16, ::PlatformStoreIconModel> mPlatformStoreIconModel;
172 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::TaskGroup>> mStorageCheckTaskGroup;
173 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Social::FriendList>> mFriendList;
174 ::ll::TypedStorage<4, 4, uint> mSceneId;
175 ::ll::TypedStorage<1, 1, bool> mPlayerCanceledJoinGame;
176 ::ll::TypedStorage<1, 1, bool> mCurrentlyLoadingScene;
177 // NOLINTEND
178
179public:
180 // prevent constructor by default
181 MinecraftScreenModel& operator=(MinecraftScreenModel const&);
182 MinecraftScreenModel(MinecraftScreenModel const&);
183 MinecraftScreenModel();
184
185public:
186 // virtual functions
187 // NOLINTBEGIN
188 virtual ~MinecraftScreenModel() /*override*/;
189
190 virtual void prepareToNavigateToGamePlayScreen() /*override*/;
191
192 virtual void navigateToGamePlayScreen() /*override*/;
193
194 virtual bool tryNavigateToProfileScreen() /*override*/;
195
196 virtual bool tryNavigateToSafeZoneScreenOnFirstSignin() /*override*/;
197
198 virtual void navigateToStoreDataDrivenScreen(
199 ::StoreDataDrivenScreenParams const& params,
200 bool forceDisableProgressScreen
201 ) /*override*/;
202
203 virtual bool leaveScreen(::std::string expectedScreenName, bool onlyThis) /*override*/;
204
205 virtual void popScreensBackTo(::ui::SceneType const sceneType) /*override*/;
206
207 virtual bool isLeaveGameDone() const /*override*/;
208
209 virtual void requestLeaveGame(bool switchScreen, bool sync) /*override*/;
210
211 virtual void destroyGame() /*override*/;
212
213 virtual bool isInGame() const /*override*/;
214
215 virtual bool isSelectedSkinInitialized() const;
216
217 virtual ::SubClientId getSubClientId() const /*override*/;
218
219 virtual bool platformTTSExists() const;
220
221 virtual ::IDlcBatchModel& getDlcBatchModel(::std::vector<::DlcId> const& dlcIds) /*override*/;
222
223 virtual ::IDlcBatchModel& getDlcBatchModel(::std::vector<::std::string> const& productIds) /*override*/;
224
225 virtual ::IDlcBatchModel& getDlcBatchModel(::std::vector<::PackIdVersion> const& packIds) /*override*/;
226
227 virtual ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> getStoreCatalogRepository() const;
228
229 virtual float getStoreNetworkFailureTimeout() const;
230
231 virtual bool isAdhocEnabled() const;
232
233 virtual bool isUserReady() const /*override*/;
234
235 virtual bool isDirty() const;
236
237 virtual ::ResourcePackManager& getResourcePackManager() const /*override*/;
238
239 virtual ::SkinHandle const& getSelectedSkinHandle() const;
240
241 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> getUserManager() /*override*/;
242
243 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> const getUserManager() const /*override*/;
244
245 virtual ::std::string const& getLastPoppedScreenName() const;
246
247 virtual ::INetworkGameConnector& getNetworkGameConnector() /*override*/;
248 // NOLINTEND
249
250public:
251 // member functions
252 // NOLINTBEGIN
253 MCNAPI explicit MinecraftScreenModel(::MinecraftScreenModelContext context);
254
255 MCNAPI bool _isPremium(::PackManifest const& manifest) const;
256
257 MCNAPI bool _isPremiumLocked(::PackManifest const& manifest) const;
258
259 MCNAPI bool _isRealmsPlus(::PackManifest const& manifest) const;
260
261 MCNAPI ::Bedrock::Threading::Async<void> _queueForMainThread(::std::function<void()>&& callback);
262
263 MCNAPI void
264 _sendResourcePackClientResponse(::ResourcePackResponse response, ::std::set<::std::string>* downloadingPacks);
265
267 ::std::string const& levelId,
268 ::std::string const& levelName,
269 ::ContentIdentity const& contentIdentity,
270 ::LevelSettings const& settings
271 );
272
274 ::Invites::InviteId invite,
275 ::std::function<void(::Realms::GenericStatus, ::Realms::FailureReason)> callback
276 );
277
278 MCNAPI void acceptRealmsLink(
279 ::std::string realmInvite,
280 ::std::function<void(::Realms::GenericStatus, ::Realms::FailureReason, ::Realms::World)> callback
281 );
282
283 MCNAPI void acknowledgePartyDestinationCookie(bool accepted);
284
286 ::Realms::RealmId worldId,
287 ::std::function<void(::Realms::GenericStatus, ::Realms::RealmId)> callback
288 );
289
290 MCNAPI void
291 addDownloadCallback(::std::weak_ptr<bool> existenceTracker, ::std::function<void(::DownloadStateObject&)> callback);
292
293 MCNAPI void addEduCredentialsObserver(::edu::auth::CredentialsObserver& observer);
294
295 MCNAPI void addEduDeeplinkObserver(::EduDeeplinkObserver& observer) const;
296
297 MCNAPI bool addExternalServer(::std::string const& name, ::std::string const& address, int port);
298
300 ::Realms::RealmId worldId,
301 ::std::string const& currentUserXuid,
302 ::std::string const& xuidToBlock,
303 ::std::function<void(::Realms::GenericStatus)> callback
304 );
305
306 MCNAPI bool allowBetaXblSignIn() const;
307
308 MCNAPI bool arePersonaAppearancesLoading() const;
309
310 MCNAPI bool canEditPermissionsEdu(::ActorUniqueID const& id);
311
312 MCNAPI bool canLaunchUri(::std::string const& uri);
313
314 MCNAPI bool canManageSubscriptionForStoreId(::std::string const& storeId) const;
315
316 MCNAPI bool canUserDoActionForCurrentRealm(::Realms::PlayerRoleActions action) const;
317
318 MCNAPI bool canUserDoRealmRoleAction(::Realms::World const& realmWorld, ::Realms::PlayerRoleActions action) const;
319
320 MCNAPI void cancelEduServicePackDownload(::std::string const& cancelReason) const;
321
323
324 MCNAPI void checkPremiumPlatformAccessAsync(::std::function<void(bool)> callback);
325
326 MCNAPI void checkRealmsPaymentService(::std::function<void(bool)> callback);
327
329
331
333
334 MCNAPI void closeRealmsWorld(
335 ::Realms::RealmId worldId,
336 ::std::function<void(::Realms::GenericStatus)> callback,
337 ::std::function<void(int)> retryCallback
338 );
339
340 MCNAPI void clubNameVetting(
341 ::std::string const& name,
342 ::std::function<void(::Realms::GenericStatus, ::Realms::FailureReason)> callback
343 );
344
345 MCNAPI void completeServerForm(uint formId, ::ModalFormCancelReason cancelReason);
346
347 MCNAPI void completeServerForm(uint formId, ::Json::Value response);
348
350 ::ResourcePackResponse response,
351 bool downloadOptionalResourcePacks,
352 bool forceServerPacksEnabled
353 );
354
356 ::std::function<void(::Social::UserPlatformConnectionResult)> callback,
357 bool isUserInitiated
358 );
359
361
362 MCNAPI ::std::string copyWorld(::std::string const& worldId);
363
365 ::LevelSummary const& levelSummary,
366 ::LevelSettings const& levelSettings,
367 ::Realms::World world,
368 ::std::function<void(::Realms::World)> callback
369 );
370
372 ::std::string const& levelId,
373 ::std::string levelName,
374 ::LevelSettings const& settings,
375 ::Realms::World world,
376 ::std::function<void(::Realms::World)> callback
377 );
378
380
381 MCNAPI void deleteAllContentLogs() const;
382
384
386
387 MCNAPI void deleteRealm(::Realms::RealmId worldId, ::std::function<void(::Realms::GenericStatus)> callback);
388
389 MCNAPI void devConsoleExecuteCommand(::std::string const& command);
390
391 MCNAPI void displayPremiumUpsellDialogAsync(::std::function<void(bool)> callback);
392
394
395 MCNAPI bool
396 editExternalServer(int id, ::std::string const& name, ::std::string const& address, int port, bool updateTimeStamp);
397
398 MCNAPI void
399 fetchRealmsWorlds(::std::function<void(::Realms::GenericStatus, ::std::vector<::Realms::World>)> callback);
400
401 MCNAPI void fetchScreenshots(::std::vector<::Core::PathBuffer<::std::string>>& results);
402
404 ::ProfanityFilterContext stringContext,
405 ::std::string const& str,
406 bool allowFilterOverride
407 ) const;
408
409 MCNAPI bool findProfanityInString(::ProfanityFilterContext stringContext, ::std::string const& str) const;
410
412
413 MCNAPI void fireEventAdhocNetworkEnabled() const;
414
415 MCNAPI void fireEventInventoryOpened(bool workbench);
416
418 ::std::string const& screenName,
419 ::std::unordered_map<::std::string, ::std::string> const& additionalProperties
420 );
421
423 ::PackManifest const& manifest,
424 ::std::string serializedPackSettings,
425 int subpackIndex,
426 ::std::string const& subpackName,
427 int subpackCount
428 );
429
430 MCNAPI void fireSignOutEdu(::std::string const& action, ::std::string const& error) const;
431
432 MCNAPI void fireSwitchAccountEdu() const;
433
435
436 MCNAPI bool
437 fulfillPriorEduPurchase(::std::weak_ptr<::Purchase> purchase, ::std::unique_ptr<::TransactionContext> context);
438
439 MCNAPI ::std::shared_ptr<::FilePickerSettings>
440 generateFilePickerSettingsForAlbum(::PDFOptions const& options, ::std::string const& defaultOutName);
441
443
445 ::std::string const& levelId,
446 ::std::string const& levelName,
447 ::FileArchiver::ExportType type
448 );
449
451
452 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity const> getActiveDirectoryIdentity();
453
454 MCNAPI uint64 getActiveDownloadOrImportCount() const;
455
456 MCNAPI void getAllInviteLinks(
457 ::Realms::RealmId worldId,
458 ::std::function<void(::Realms::GenericStatus, ::std::vector<::Realms::InviteLink>)> callback
459 );
460
461 MCNAPI bool getBlankLineDismissesChat() const;
462
463 MCNAPI ::std::string getBuildDateISOString() const;
464
465 MCNAPI ::BuildPlatform getBuildPlatform() const;
466
467 MCNAPI ::std::string getButtonTexture(::TriggerIndiciesEnum trigger);
468
469 MCNAPI ::std::string getButtonTexture(::ButtonIndiciesEnum button, ::IconSize iconSize, bool checkButtonSwap);
470
471 MCNAPI ::ClipboardFeatureFlags getClipboardFeatures() const;
472
473 MCNAPI void getClubProfile(
474 ::std::string const& clubId,
475 ::std::function<void(::Clubs::ClubModel, ::Clubs::GenericStatus)> callback
476 );
477
478 MCNAPI void
479 getClubUnreadCount(::std::string const& clubId, ::std::function<void(int, ::Clubs::GenericStatus)> callback);
480
482
483 MCNAPI ::std::vector<::ContentLogMessage> const& getContentLogMessages() const;
484
486
487 MCNAPI ::Realms::World& getCurrentRealm();
488
489 MCNAPI ::std::string getCurrentXUID() const;
490
491 MCNAPI ::SkinHandle getCustomSkinHandle(::persona::DefaultSkinType skinType) const;
492
493 MCNAPI ::std::vector<::std::string> const& getDevConsoleScreenMessages();
494
495 MCNAPI ::std::string getDevelopmentVersionString() const;
496
498
500
501 MCNAPI ::std::string getDisplayName() const;
502
503 MCNAPI ::Bedrock::NonOwnerPointer<::EduCloud::IEduCloudSaveSystem> getEduCloudSaveSystem() const;
504
506
507 MCNAPI ::std::string getEduOfferPrice();
508
509 MCNAPI float getEduServicePackProgress() const;
510
512
513 MCNAPI ::std::tuple<::std::string, ::std::string, int> getExternalServerInfo(int id);
514
515 MCNAPI ::std::optional<::Social::GameConnectionInfo> getGameConnectionInfo();
516
518
519 MCNAPI ::std::string getIpAddress() const;
520
521 MCNAPI bool getIsWaitingForSession() const;
522
523 MCNAPI ::std::string const& getLastContentLogMessage() const;
524
525 MCNAPI ::std::string const& getLastDevConsoleMessage();
526
527 MCNAPI ::LevelData const* getLevelData() const;
528
530
531 MCNAPI ::Bedrock::Threading::Async<::std::vector<::Social::UserLinkedAccountsInfo>>
532 getLinkedAccountsFromPSNs(::std::vector<::std::string> const& platformIds) const;
533
534 MCNAPI ::Bedrock::Threading::Async<::std::vector<::Social::UserLinkedAccountsInfo>>
535 getLinkedAccountsFromXUIDs(::std::vector<::Social::XUID> const& xuids) const;
536
537 MCAPI float getLoadingProgress();
538
539 MCNAPI ::mce::UUID getLocalPlayerUUID();
540
541 MCNAPI ::std::string const getMarketplaceDisabledReason() const;
542
543 MCNAPI ::std::string getMarketplacePassPrice(::std::string const& productSku, ::std::string const& caymanId) const;
544
546
547 MCNAPI uint getMaxSimRadiusInChunks() const;
548
549 MCNAPI ::std::string getMinecraftAccountID() const;
550
551 MCNAPI ::std::string getNetworkInfoStringInGame() const;
552
553 MCNAPI bool getNewJukeboxPopupItemText(::std::string& newText, bool& isCreative);
554
555 MCNAPI bool getNewPopupItemText(::std::string& newText, bool& isCreative);
556
557 MCNAPI ::std::optional<::SubscriptionOffer> getNextAvailableSubscriptionInfo() const;
558
559 MCNAPI ::Bedrock::PubSub::Connector<
560 void(::PlayerListEntry const&, ::std::unordered_map<::mce::UUID, ::PlayerListEntry> const&)>&
562
563 MCNAPI ::std::shared_ptr<::WebviewInterface> getOrCreateWebviewInterface(::WebviewInterfaceType interfaceType);
564
565 MCNAPI ::std::string getPlatformAppropriateSubscriptionLocString(::std::string locString, bool isForRealms) const;
566
567 MCNAPI void
568 getPlatformFriendProfiles(::std::function<void(::std::vector<::Social::PlatformUserProfileData> const&)> callback);
569
571 ::std::string const& platformId,
572 ::std::function<void(::Social::PlatformUserProfileData&)> callback
573 );
574
575 MCNAPI ::GameType getPlayerGameType() const;
576
577 MCNAPI ::std::string getPlayerName() const;
578
579 MCNAPI short getPointerX() const;
580
581 MCNAPI short getPointerY() const;
582
583 MCNAPI void
584 getPreferredRegions(::std::function<void(::Realms::GenericStatus, ::std::vector<::Realms::ServerRegion>)> callback);
585
586 MCNAPI ::std::string getPriceDisclaimerText() const;
587
588 MCNAPI ::std::pair<::std::string, bool> const getPrivilegesBlockedString(
589 ::Social::PermissionCheckResult const& reason,
590 ::std::string const& needXBLGold,
591 ::std::string const& specificPrivilege,
592 ::std::string const& platformRestriction,
593 ::std::string const& noInternetConnection,
594 ::std::string const& unknownError
595 ) const;
596
597 MCNAPI void getProfiles(
598 ::std::vector<::std::string> const& xuids,
599 ::std::function<void(::std::vector<::Social::XboxLiveUserProfileData const*> const&)> batchedCollectionCallback
600 );
601
603 ::Realms::RealmId worldId,
604 int slotIndex,
605 ::std::function<void(::Realms::GenericStatus, ::Realms::WorldBackupList)> callback
606 );
607
609 ::Realms::RealmId worldId,
610 ::std::function<void(::Realms::GenericStatus, ::std::vector<::std::string>)> callback
611 );
612
614 ::Realms::RealmId worldId,
615 ::std::function<void(::Realms::GenericStatus, ::Realms::ConfigInfo)> callback
616 );
617
618 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Realms::Service::IRealmsInviteLinksDomain> getRealmsInviteLinksDomain();
619
620 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Realms::InvitesService> getRealmsInvitesService();
621
622 MCNAPI void getRealmsMembers(
623 ::Realms::RealmId worldId,
624 ::std::function<void(::Realms::GenericStatus, ::std::vector<::Realms::Player>)> callback
625 );
626
627 MCNAPI void
628 getRealmsOnlinePlayers(::std::function<void(::Realms::GenericStatus, ::std::vector<::Realms::World>)> callback);
629
630 MCNAPI void getRealmsWorld(
631 ::Realms::RealmId worldId,
632 ::std::function<void(::Realms::GenericStatus, ::Realms::World)> callback,
633 bool userWaiting
634 );
635
636 MCNAPI ::Realms::World getRealmsWorldContextWorld() const;
637
638 MCNAPI float getResourcePackDownloadProgress(::std::string& message) const;
639
640 MCNAPI ::std::string getScreenName() const;
641
642 MCNAPI ::std::string getScreenTelemetry() const;
643
644 MCNAPI ::std::string const& getServerSettingsData();
645
646 MCNAPI uint getServerSettingsId();
647
648 MCNAPI ::std::string getSessionConfigKnownPageKeyValue(::std::string const& pageId) const;
649
650 MCNAPI bool getSimPaused() const;
651
652 MCNAPI ::std::string getSplitscreenJoinText() const;
653
654 MCNAPI ::StoreContentSources getStoreContentSources() const;
655
656 MCNAPI ::std::string getStoreDocumentId() const;
657
659
660 MCNAPI bool getStoreHasRealmsProducts() const;
661
662 MCNAPI ::std::string getStoreId() const;
663
664 MCNAPI ::std::optional<::SubscriptionOffer> getSubscriptionFullPriceInfo() const;
665
666 MCNAPI ::std::string getTermsOfUseHyperlink() const;
667
668 MCNAPI bool getTipText(::std::string& text);
669
670 MCNAPI uint64 getTotalHardwareThreadsCount() const;
671
672 MCNAPI bool getUnfulfilledEduPurchase(::EduPurchaseDetails& details);
673
674 MCNAPI void getUserMemberOfWorldsCount(::std::function<void(::Realms::GenericStatus, bool)> callback);
675
676 MCNAPI ::Social::XboxLiveUserProfileData const& getUserProfileDataByXuid(::std::string const& xuid);
677
678 MCNAPI ::std::string getVersionString() const;
679
680 MCNAPI ::std::shared_ptr<::WebviewInterface> getWebviewInterface(::WebviewInterfaceType interfaceType);
681
682 MCNAPI void getWorldFromLink(
683 ::std::string realmInvite,
684 ::std::function<void(::Realms::GenericStatus, ::Json::Value const&&, ::Realms::World)> callback
685 );
686
687 MCNAPI ::LoadingState getWorldLoadingState() const;
688
689 MCNAPI ::std::vector<::Social::XboxLiveUserProfileData const*> const& getXboxLiveFriends() const;
690
691 MCNAPI ::std::vector<::std::string> getXuidsInLobby() const;
692
693 MCNAPI ::PurchaseResult goToExternalPlatformOffer(
694 ::std::string const& offerId,
695 ::std::function<void(bool)> finishedExternalCoinPurchase,
696 ::std::function<void(bool, int)> boughtEnoughCoinsCallback
697 );
698
699 MCNAPI bool hasInteractButton() const;
700
701 MCNAPI bool hasLocalDeviceEntitlements() const;
702
703 MCNAPI bool hasPlatformIcons() const;
704
705 MCNAPI bool hasPlatformInvites() const;
706
707 MCNAPI bool hasPlatformProfileCards() const;
708
710 ::Realms::RealmId worldId,
711 ::std::string const& name,
712 ::std::string const& description,
713 ::std::function<void(::Realms::GenericStatus, ::Realms::FailureReason)> callback
714 );
715
716 MCNAPI void invitePlayers(::std::vector<::std::string> const& uids, ::Social::MultiplayerServiceIdentifier service);
717
718 MCNAPI bool isBanned() const;
719
720 MCNAPI bool const isCodeBuilderEnabled() const;
721
722 MCNAPI bool isCreative() const;
723
724 MCNAPI bool isCrossPlatformPlayEnabled() const;
725
726 MCNAPI bool isDesktop() const;
727
728 MCNAPI bool isDeviceBeingSunset() const;
729
730 MCNAPI bool isDeviceSunset() const;
731
732 MCNAPI bool isEditorModeEnabled() const;
733
734 MCNAPI bool isEditorPlayer() const;
735
736 MCNAPI bool isEduDemo();
737
738 MCNAPI bool isEduMode() const;
739
740 MCNAPI bool isFeatureEnabled(::MinecraftGameFeatures feature) const;
741
742 MCNAPI bool isFriendsDrawerEnabled(::MinecraftScreenModel::FriendsDrawerLocation location) const;
743
744 MCNAPI bool isGameModeEnabled(::GameType game) const;
745
746 MCNAPI bool isHotbarOnlyTouch() const;
747
748 MCNAPI bool isInternetAvailable() const;
749
750 MCNAPI bool isInviteEnabled(::Social::MultiplayerServiceIdentifier serviceIdentifier) const;
751
752 MCNAPI bool isLANAllowed() const;
753
754 MCNAPI bool isLANAvailable() const;
755
756 MCNAPI bool isLeftHanded() const;
757
759
760 MCNAPI bool isMultiplayerFeatureAllowed() const;
761
762 MCNAPI bool isMuteChat();
763
764 MCNAPI bool isNetworkAllowed() const;
765
766 MCNAPI bool isNetworkAvailable() const;
767
768 MCNAPI bool isOnSceneStack(::std::string_view screenName);
769
770 MCNAPI bool isPlatformConsole() const;
771
772 MCNAPI bool isPlatformInviteEnabled() const;
773
774 MCNAPI bool isPlatformNX() const;
775
776 MCNAPI bool isPlatformSony() const;
777
778 MCNAPI bool isPlatformThirdPartyConsole() const;
779
781
782 MCNAPI bool isPremiumOwnedMissing(::PackIdVersion const& id, ::ContentIdentity const& contentIdentity) const;
783
785
787
788 MCNAPI bool isRealmLevel() const;
789
790 MCNAPI bool isRealmOwner() const;
791
792 MCNAPI bool isRealmsEnabled() const;
793
794 MCNAPI bool isResourceLoadingFinished() const;
795
796 MCNAPI bool isRiding() const;
797
798 MCNAPI bool isServiceMultiplayerEnabled(::Social::MultiplayerServiceIdentifier serviceID) const;
799
800 MCNAPI bool isServiceMultiplayerSupported(::Social::MultiplayerServiceIdentifier serviceID);
801
802 MCNAPI bool isSessionInfoValid(::Social::MultiplayerServiceIdentifier serviceID) const;
803
804 MCNAPI bool isSignInInProgress() const;
805
806 MCNAPI bool isSignedInToAdhoc() const;
807
808 MCNAPI bool isSignedInToNSO() const;
809
810 MCNAPI bool isSignedInToPSN() const;
811
812 MCNAPI bool isSignedInToPlayfab() const;
813
814 MCNAPI bool isSignedInToXBL() const;
815
816 MCNAPI bool isSwitchTrialsEnabled(bool isForRealms) const;
817
818 MCNAPI bool isUILoadingDone() const;
819
820 MCNAPI bool isUITTSEnabled() const;
821
822 MCNAPI bool isUserConnectedToPlatform() const;
823
824 MCNAPI bool isUsingUnifiedJoinRealmFlow() const;
825
826 MCNAPI bool isValidRealmName(::std::string name);
827
829
830 MCNAPI void joinRealmsWorld(
831 ::Realms::World world,
832 ::std::function<void(::Social::GameConnectionInfo const&, bool)> successCallback,
833 ::std::function<void(::Realms::GenericStatus, ::RealmsAPI::JoinStatus, ::Realms::FailureReason)> failCallback,
834 ::std::function<void(int)> retryCallback,
835 ::IMinecraftEventing::RealmConnectionFlow realmConnectionFlow,
836 ::std::function<void(::IMinecraftEventing::RealmConnectionFlow)> broadcastConnectionEventRealmsRequestFunction,
837 ::std::function<void(::IMinecraftEventing::RealmConnectionFlow, ::Bedrock::Http::StatusCode)>
838 broadcastConnectionEventRealmsResponseFunction
839 );
840
841 MCNAPI void launchEduUri(::std::string const& baseUrl);
842
844
846
848
849 MCNAPI void launchUri(::std::string const& uri);
850
851 MCNAPI void launchUserGeneratedUri(::std::string const& uri, ::UserGeneratedUriSource source, bool recordEvent);
852
853 MCNAPI void leaveRealmsWorld(::Realms::RealmId worldId, ::std::function<void(::Realms::GenericStatus)> callback);
854
855 MCNAPI void
856 listRealmsInvites(::std::function<void(::Realms::GenericStatus, ::std::vector<::Invites::Invite>)> callback);
857
859
860 MCNAPI void makeBackupOfLevel(::LevelSummary const& editedLevel);
861
863
864 MCNAPI bool multiplayerRequiresUGCEnabled() const;
865
867
868 MCNAPI void navigateToCreditsScreen(::CreditsType contentType, ::std::function<void()> callback);
869
871 ::std::string const& uniqueEventName,
872 ::IContentManager& contentManager,
873 ::std::vector<::std::shared_ptr<::ContentItem const>> itemsToDelete
874 );
875
876 MCNAPI void navigateToDevConsole();
877
878 MCNAPI void navigateToDisabledSkinScreen(bool twoButtonWithCallback, ::std::function<void()> callback);
879
881
882 MCNAPI void navigateToFeedScreen(::Realms::World const& world);
883
885
887
889 ::std::string const& uniqueEventName,
890 ::std::unique_ptr<::ProgressHandler> progressHandler,
891 bool forceRenderBelow,
892 ::std::string const& screenNameOverride,
893 bool isCancellable
894 );
895
897 ::SettingsTabIndex startingTabIndex,
898 bool navToMenuOnExit,
899 bool maintainOldFocus,
900 ::std::string const& initialPackId
901 );
902
903 MCNAPI void navigateToPlatformNetworkConnectConfirmationScreen(::std::function<void(bool)> callback);
904
905 MCNAPI void navigateToPlatformSplitScreenConnectConfirmationScreen(::std::function<void(bool)> callback);
906
907 MCNAPI void navigateToPlatformStoreConnectConfirmationScreen(::std::function<void(bool)> callback);
908
909 MCNAPI void navigateToRealmsHubScreen(::Realms::World const& world);
910
911 MCNAPI void navigateToRealmsManageMembersScreen(::Realms::World const& world);
912
914
915 MCNAPI void navigateToRealmsStoriesShareLinkModal(::Realms::World const& world);
916
918 ::std::function<
919 void(::SelectWorldResult, ::optional_ref<::LevelSummary const>, ::optional_ref<::Realms::World const>)>
920 callback
921 );
922
923 MCNAPI void navigateToSignInErrorScreen(::std::string errorMessage, ::std::function<void()> onDismiss);
924
925 MCNAPI void navigateToStoreHomeScreen(::std::string const& title);
926
928
929 MCNAPI void navigateToUpdateWorldHeightScreen(::std::function<void(bool)> startWorldCallback);
930
931 MCNAPI void navigateToWorldRecoveryScreen(::std::function<void()> successCallback);
932
934
936
938
939 MCNAPI void openBannedModal();
940
941 MCNAPI void openRealmsWorld(
942 ::Realms::RealmId worldId,
943 ::std::function<void(::Realms::GenericStatus)> callback,
944 ::std::function<void(int)> retryCallback
945 );
946
948
949 MCNAPI void pickFile(::std::shared_ptr<::FilePickerSettings> settings) const;
950
952
953 MCNAPI bool purchaseEduLicense(::std::unique_ptr<::TransactionContext> context);
954
955 MCNAPI void purchasePreview(::StorePreviewVersion previewVersion) const;
956
957 MCNAPI void quit(::std::string const& src, ::std::string const& reason);
958
959 MCNAPI void rebindKeys();
960
962
963 MCNAPI void
964 refreshCurrentRealmWorldInfo(::std::function<void(::Realms::GenericStatus, ::Realms::World const&)> callback);
965
966 MCNAPI void registerServicesManagerSetupCallback(::std::function<void()> callbackToRegister);
967
968 MCNAPI void rejectRealmsInvite(::Invites::InviteId invite, ::std::function<void(::Realms::GenericStatus)> callback);
969
970 MCNAPI void removeExternalServer(int id);
971
973 ::Realms::RealmId worldId,
974 ::std::string const& xuid,
975 ::std::function<void(::Realms::GenericStatus)> callback
976 );
977
978 MCNAPI ::std::shared_ptr<::FileDataRequest> requestImageFromUrl(
979 ::std::string const& imageUrl,
980 ::std::function<void(::Bedrock::Http::Status, ::Core::Path const&, uint64)> callback
981 );
982
984
985 MCNAPI bool requiresXBLSigninToPlay() const;
986
988
989 MCNAPI void resetRealmsWorld(
990 ::Realms::RealmId worldId,
991 ::std::function<void(::Realms::GenericStatus)> callback,
992 ::std::function<void(int)> retryCallback
993 );
994
996
998
999 MCNAPI void saveEduReceipt(::std::string const& receipt, ::std::function<void(bool)> const& callback);
1000
1001 MCNAPI void saveLevelData(::std::string const& levelId, ::LevelData const& data);
1002
1004
1005 MCNAPI void selectSlot(int slot, ::ContainerID containerId);
1006
1007 MCNAPI void sendDevConsoleMessage(::std::string const& message);
1008
1010
1011 MCNAPI void sendSettingsCommandPacket(::std::string const& command, bool supressOutput);
1012
1014
1015 MCNAPI bool serverPermissionOpenChat() const;
1016
1018
1020
1022
1024
1025 MCNAPI void setActiveSlot(
1026 ::Realms::RealmId worldId,
1027 int slotIndex,
1028 ::std::function<void(::Realms::GenericStatus, ::Realms::FailureReason)> callback
1029 );
1030
1031 MCNAPI void setClubProfile(::Clubs::ClubModel const& model, ::std::function<void(::Clubs::GenericStatus)> callback);
1032
1034 ::Realms::RealmId worldId,
1035 ::PlayerPermissionLevel const& permission,
1036 ::std::function<void(::Realms::GenericStatus)> callback
1037 );
1038
1039 MCNAPI void setIsCheckoutInProgress(bool isCheckoutInProgress);
1040
1041 MCNAPI void setIsInGameBrowsing(bool isInGameBrowsing);
1042
1043 MCNAPI void setLanguage();
1044
1045 MCNAPI void setLastSelectedSlot(int slot, ::ContainerID containerId);
1046
1047 MCNAPI void setNumberOfOwnedRealms(int number);
1048
1050 ::Realms::World world,
1051 int difficulty,
1052 bool allowCheats,
1053 ::std::function<void(::Realms::GenericStatus, ::Realms::FailureReason)> callback
1054 );
1055
1056 MCNAPI void setShareData(::std::string shareTitle, ::std::string shareText, ::std::string shareUri);
1057
1058 MCNAPI void setSimPaused(bool paused);
1059
1060 MCNAPI void setTextBoxBackend(::std::string const& str);
1061
1063 ::Realms::RealmId worldId,
1064 bool const& texturePacksRequired,
1065 ::std::function<void(::Realms::GenericStatus, ::Realms::FailureReason)> callback
1066 );
1067
1068 MCNAPI void setTrialABTest(::PropertyBag* abTests);
1069
1071 ::Realms::RealmId worldId,
1072 ::std::string const& xuid,
1073 ::PlayerPermissionLevel const& permission,
1074 ::std::function<void(::Realms::GenericStatus)> callback
1075 );
1076
1078
1080
1082
1083 MCNAPI void showFriendFinder(::std::function<void()> callback);
1084
1085 MCNAPI void showPlatformEmptyStoreDialog(::std::function<void(bool)>&& callback);
1086
1087 MCNAPI void showShareUI();
1088
1089 MCNAPI bool showSignInButton() const;
1090
1091 MCNAPI void signIn(
1092 ::std::function<void()> connectionCompleteCallback,
1093 ::Social::IdentitySignInTrigger signInTrigger,
1094 ::std::string const& signInSource,
1095 ::std::function<void(::Social::MultiIdentitySigninResult)> signInCompleteCallback
1096 );
1097
1098 MCNAPI void signOut(::std::function<void(::Identity::SignOutResult)> callback);
1099
1100 MCNAPI void silentSignin(
1101 ::Social::IdentitySignInTrigger signInTrigger,
1102 ::std::string const& signInSource,
1103 ::std::function<void(::Social::MultiIdentitySigninResult)> callback
1104 );
1105
1107
1108 MCNAPI void startExternalNetworkWorld(::std::string const& serverName, ::std::string const& ipAddress, int port);
1109
1110 MCNAPI void startLocalServerAsync(::LevelSummary const& levelSummary, ::LevelSettings const& levelSettings);
1111
1112 MCAPI void
1113 startLocalServerAsync(::std::string const& levelId, ::std::string levelName, ::LevelSettings const& settings);
1114
1115 MCNAPI void stopWebviewInterface(::WebviewInterfaceType interfaceType);
1116
1117 MCNAPI bool supports3DExport() const;
1118
1119 MCNAPI bool supports3rdPartyServers() const;
1120
1121 MCNAPI bool supportsGamepad() const;
1122
1123 MCNAPI bool supportsKeyboardMouse() const;
1124
1125 MCNAPI bool supportsMSAA() const;
1126
1127 MCNAPI bool supportsShare();
1128
1129 MCNAPI bool supportsTouch() const;
1130
1131 MCNAPI ::Bedrock::Threading::Async<::Core::PathBuffer<::std::string>> takeScreenshotForUploading();
1132
1134
1135 MCNAPI void triggerNpcUpdateTelemetry(::Actor& npcOwner);
1136
1138 ::std::string const& signInSource,
1139 ::std::function<void()> callBackAfterSignIn,
1140 ::std::function<void()> callBackAfterCancel
1141 );
1142
1143 MCNAPI bool updateEduServicePackSystem() const;
1144
1146 ::Realms::RealmId worldId,
1147 ::std::string const& currentUserXuid,
1148 ::std::map<::std::string, ::RealmsAPI::InviteAction> xuidList,
1149 ::std::function<void(::Realms::GenericStatus, ::Realms::World)> callback
1150 );
1151
1153 ::Realms::RealmId worldId,
1154 ::std::string const& versionRef,
1155 ::std::function<void(::Realms::GenericStatus, ::std::string)> callback
1156 );
1157
1159
1160 MCNAPI bool wasSessionCreated(::Social::MultiplayerServiceIdentifier serviceID) const;
1161 // NOLINTEND
1162
1163public:
1164 // static variables
1165 // NOLINTBEGIN
1166 MCNAPI static uint& mSceneInstanceCounter();
1167 // NOLINTEND
1168
1169public:
1170 // constructor thunks
1171 // NOLINTBEGIN
1173 // NOLINTEND
1174
1175public:
1176 // destructor thunk
1177 // NOLINTBEGIN
1178 MCNAPI void $dtor();
1179 // NOLINTEND
1180
1181public:
1182 // virtual function thunks
1183 // NOLINTBEGIN
1185
1187
1189
1191
1192 MCNAPI void
1193 $navigateToStoreDataDrivenScreen(::StoreDataDrivenScreenParams const& params, bool forceDisableProgressScreen);
1194
1195 MCNAPI bool $leaveScreen(::std::string expectedScreenName, bool onlyThis);
1196
1197 MCNAPI void $popScreensBackTo(::ui::SceneType const sceneType);
1198
1199 MCNAPI bool $isLeaveGameDone() const;
1200
1201 MCNAPI void $requestLeaveGame(bool switchScreen, bool sync);
1202
1203 MCNAPI void $destroyGame();
1204
1205 MCNAPI bool $isInGame() const;
1206
1207 MCNAPI bool $isSelectedSkinInitialized() const;
1208
1209 MCNAPI ::SubClientId $getSubClientId() const;
1210
1211 MCNAPI bool $platformTTSExists() const;
1212
1213 MCNAPI ::IDlcBatchModel& $getDlcBatchModel(::std::vector<::DlcId> const& dlcIds);
1214
1215 MCNAPI ::IDlcBatchModel& $getDlcBatchModel(::std::vector<::std::string> const& productIds);
1216
1217 MCNAPI ::IDlcBatchModel& $getDlcBatchModel(::std::vector<::PackIdVersion> const& packIds);
1218
1219 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> $getStoreCatalogRepository() const;
1220
1222
1223 MCNAPI bool $isAdhocEnabled() const;
1224
1225 MCNAPI bool $isUserReady() const;
1226
1227 MCNAPI bool $isDirty() const;
1228
1230
1231 MCNAPI ::SkinHandle const& $getSelectedSkinHandle() const;
1232
1233 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> $getUserManager();
1234
1235 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> const $getUserManager() const;
1236
1237 MCNAPI ::std::string const& $getLastPoppedScreenName() const;
1238
1240 // NOLINTEND
1241};
Definition AbstractScene.h:5
Definition ActiveDirectoryIdentity.h:27
Definition Actor.h:116
Definition Status.h:7
Definition ClientInstanceModel.h:5
Definition CodeBuilderPerformance.h:10
Definition Connector.h:19
Definition ContentIdentity.h:8
Definition ContentTierInfo.h:12
Definition Path.h:10
Definition DimensionHeightRange.h:5
Definition DlcId.h:5
Definition EduDeeplinkObserver.h:5
Definition FileArchiver.h:35
Definition FileDataRequest.h:5
Definition FilePickerSettings.h:5
Definition IAdvancedGraphicsOptions.h:10
Definition IClientInstance.h:5
Definition IContentManager.h:5
Definition IDlcBatchModel.h:5
Definition IDlcBatcher.h:5
Definition IEDUDiscoveryService.h:5
Definition IGameConnectionListener.h:5
Definition ILayoutServiceProvider.h:5
Definition IMinecraftEventing.h:152
Definition IMinecraftGame.h:5
Definition IMinecraftScreenModel.h:5
Definition INetworkGameConnector.h:5
Definition ISceneStack.h:5
Definition IScreenCapabilities.h:8
Definition Value.h:16
Definition LevelData.h:57
Definition LevelSettings.h:39
Definition MinecraftCommands.h:33
Definition MinecraftScreenModel.h:5
MCAPI ::std::optional<::Social::GameConnectionInfo > getGameConnectionInfo()
MCAPI bool getNewPopupItemText(::std::string &newText, bool &isCreative)
MCAPI void deleteAllLocalScreenshots()
MCAPI void fireCodeBuilderCachePerformanceEvent(::CodeBuilderPerformance::Stage stage)
MCAPI void deleteAllDiagnosticsAndProfilerCaptures() const
MCAPI bool const isCodeBuilderEnabled() const
MCAPI void navigateToCreditsScreen(::CreditsType contentType, ::std::function< void()> callback)
MCAPI void navigateToEduHomeScreen()
MCAPI uint getMaxSimRadiusInChunks() const
MCAPI::PlayerAchievementData const & getAchievementData() const
MCAPI ::std::unique_ptr<::PlatformMultiplayerRestrictions > createPlatformMultiplayerRestrictions()
MCAPI void getRealmsMembers(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus, ::std::vector<::Realms::Player >)> callback)
MCAPI void _startLocalServerAsync(::std::string const &levelId, ::std::string const &levelName, ::ContentIdentity const &contentIdentity, ::LevelSettings const &settings)
MCAPI bool doesUserHavePremiumPlatformAccess() const
MCAPI bool shouldShowFailRealmsPurchaseFulfillmentToggle() const
MCAPI void createAndUploadWorldToRealm(::LevelSummary const &levelSummary, ::LevelSettings const &levelSettings, ::Realms::World world, ::std::function< void(::Realms::World)> callback)
MCAPI::LevelData const * getLevelData() const
MCAPI bool hasPlatformIcons() const
static MCAPI uint & mSceneInstanceCounter()
MCAPI::INetworkGameConnector & $getNetworkGameConnector()
MCAPI void getRealmsWorld(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus, ::Realms::World)> callback, bool userWaiting)
MCAPI uint getMaxPlatformInvitablePlayers() const
MCAPI void setUserPermissionRealms(::Realms::RealmId worldId, ::std::string const &xuid, ::PlayerPermissionLevel const &permission, ::std::function< void(::Realms::GenericStatus)> callback)
MCAPI ::std::optional<::SubscriptionOffer > getNextAvailableSubscriptionInfo() const
MCAPI bool $leaveScreen(::std::string expectedScreenName, bool onlyThis)
MCAPI void setTexturePacksRequired(::Realms::RealmId worldId, bool const &texturePacksRequired, ::std::function< void(::Realms::GenericStatus, ::Realms::FailureReason)> callback)
MCAPI void setIsCheckoutInProgress(bool isCheckoutInProgress)
MCAPI ::std::vector<::std::string > getXuidsInLobby() const
MCAPI::EducationLevelSettings const * getEducationLevelSettings() const
MCAPI::std::string getPlatformAppropriateSubscriptionLocString(::std::string locString, bool isForRealms) const
MCAPI void showFriendFinder(::std::function< void()> callback)
MCAPI ::Bedrock::Threading::Async<::std::vector<::Social::UserLinkedAccountsInfo > > getLinkedAccountsFromPSNs(::std::vector<::std::string > const &platformIds) const
MCAPI::std::string getTermsOfUseHyperlink() const
MCAPI::IDlcBatchModel & $getDlcBatchModel(::std::vector<::DlcId > const &dlcIds)
MCAPI::MinecraftCommands & getCommands()
MCAPI void sendTrialWelcomeMessage()
MCAPI bool isRiding() const
MCAPI ::std::pair<::std::string, bool > const getPrivilegesBlockedString(::Social::PermissionCheckResult const &reason, ::std::string const &needXBLGold, ::std::string const &specificPrivilege, ::std::string const &platformRestriction, ::std::string const &noInternetConnection, ::std::string const &unknownError) const
MCAPI bool isOnSceneStack(::std::string_view screenName)
MCAPI::WireframeQueue * getDimensionWireframeQueue()
MCAPI void startExternalNetworkWorld(::std::string const &serverName, ::std::string const &ipAddress, int port)
MCAPI void navigateToModalProgressScreen(::std::string const &uniqueEventName, ::std::unique_ptr<::ProgressHandler > progressHandler, bool forceRenderBelow, ::std::string const &screenNameOverride, bool isCancellable)
MCAPI bool isHotbarOnlyTouch() const
MCAPI bool getUnfulfilledEduPurchase(::EduPurchaseDetails &details)
MCAPI void getAllInviteLinks(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus, ::std::vector<::Realms::InviteLink >)> callback)
MCAPI ::Bedrock::Threading::Async<::Core::PathBuffer<::std::string > > takeScreenshotForUploading()
MCAPI bool fulfillPriorEduPurchase(::std::weak_ptr<::Purchase > purchase, ::std::unique_ptr<::TransactionContext > context)
MCAPI::SubClientId $getSubClientId() const
MCAPI void triggerNpcUpdateTelemetry(::Actor &npcOwner)
MCAPI void confirmResourcePackDownload(::ResourcePackResponse response, bool downloadOptionalResourcePacks, bool forceServerPacksEnabled)
MCAPI bool canEditPermissionsEdu(::ActorUniqueID const &id)
MCAPI bool isServiceMultiplayerSupported(::Social::MultiplayerServiceIdentifier serviceID)
MCAPI void completeServerForm(uint formId, ::ModalFormCancelReason cancelReason)
MCAPI void showPlatformEmptyStoreDialog(::std::function< void(bool)> &&callback)
MCAPI void getRealmsBlocklist(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus, ::std::vector<::std::string >)> callback)
MCAPI::std::string filterProfanityFromString(::ProfanityFilterContext stringContext, ::std::string const &str, bool allowFilterOverride) const
MCAPI void navigateToSignInErrorScreen(::std::string errorMessage, ::std::function< void()> onDismiss)
MCAPI void openRealmsWorld(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus)> callback, ::std::function< void(int)> retryCallback)
MCAPI bool isUserConnectedToPlatform() const
MCAPI void selectSlot(int slot, ::ContainerID containerId)
MCAPI void sendSettingsCommandPacket(::std::string const &command, bool supressOutput)
MCAPI void resetRealmsWorldContext()
MCAPI void printResourceLoadManagerRunningTasks() const
MCAPI bool supportsKeyboardMouse() const
MCAPI void sendPurchaseReceiptsToServer()
MCAPI void navigateToRealmsHubScreen(::Realms::World const &world)
MCAPI::SkinHandle const & $getSelectedSkinHandle() const
MCAPI bool isDeviceBeingSunset() const
MCAPI bool needPlatformConnectionForSplitScreenMultiplayer() const
MCAPI bool canManageSubscriptionForStoreId(::std::string const &storeId) const
MCAPI::PurchaseResult goToExternalPlatformOffer(::std::string const &offerId, ::std::function< void(bool)> finishedExternalCoinPurchase, ::std::function< void(bool, int)> boughtEnoughCoinsCallback)
MCAPI::std::string const & $getLastPoppedScreenName() const
MCAPI void acknowledgePartyDestinationCookie(bool accepted)
MCAPI void launchEduUri(::std::string const &baseUrl)
MCAPI bool _isRealmsPlus(::PackManifest const &manifest) const
MCAPI void purchasePreview(::StorePreviewVersion previewVersion) const
MCAPI void checkConnectionEvents()
MCAPI void navigateToOptionsScreen(::SettingsTabIndex startingTabIndex, bool navToMenuOnExit, bool maintainOldFocus, ::std::string const &initialPackId)
MCAPI bool allowBetaXblSignIn() const
MCAPI void setClubProfile(::Clubs::ClubModel const &model, ::std::function< void(::Clubs::GenericStatus)> callback)
MCAPI bool getStoreHasMarketplacePassProducts() const
MCAPI bool tryNavigateToXblImmediateSignInScreen_DEPRECATED(::std::string const &signInSource, ::std::function< void()> callBackAfterSignIn, ::std::function< void()> callBackAfterCancel)
MCAPI::std::string const & getServerSettingsData()
MCAPI bool isRealmOwner() const
MCAPI void navigateToRealmsManageMembersScreen(::Realms::World const &world)
MCAPI void _sendResourcePackClientResponse(::ResourcePackResponse response, ::std::set<::std::string > *downloadingPacks)
MCAPI bool getBlankLineDismissesChat() const
MCAPI::SkinHandle getCustomSkinHandle(::persona::DefaultSkinType skinType) const
MCAPI void clearDevConsoleScreenMessages()
MCAPI void getClubProfile(::std::string const &clubId, ::std::function< void(::Clubs::ClubModel, ::Clubs::GenericStatus)> callback)
MCAPI bool isLevelLoadingProgressScreen()
MCAPI void navigateToDeleteProgressScreen(::std::string const &uniqueEventName, ::IContentManager &contentManager, ::std::vector<::std::shared_ptr<::ContentItem const > > itemsToDelete)
MCAPI::LoadingState getWorldLoadingState() const
MCAPI bool isEduMode() const
MCAPI void * $ctor(::MinecraftScreenModelContext context)
MCAPI bool openingExternalResourceSuspendsApp() const
MCAPI void getRealmsConfigDetails(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus, ::Realms::ConfigInfo)> callback)
MCAPI bool purchaseEduLicense(::std::unique_ptr<::TransactionContext > context)
MCAPI::std::string getStoreDocumentId() const
MCAPI bool isSignInInProgress() const
MCAPI void checkRealmsPaymentService(::std::function< void(bool)> callback)
MCAPI void updateRealmsAllowList(::Realms::RealmId worldId, ::std::string const &currentUserXuid, ::std::map<::std::string, ::RealmsAPI::InviteAction > xuidList, ::std::function< void(::Realms::GenericStatus, ::Realms::World)> callback)
MCAPI void invitePlayers(::std::vector<::std::string > const &uids, ::Social::MultiplayerServiceIdentifier service)
MCAPI bool isSessionInfoValid(::Social::MultiplayerServiceIdentifier serviceID) const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::ActiveDirectoryIdentity const > getActiveDirectoryIdentity()
MCAPI bool $isInGame() const
MCAPI bool _isPremiumLocked(::PackManifest const &manifest) const
MCAPI void loadStoreDataDrivenScreenFromSidebar(::StoreDataDrivenScreenParams &params)
MCAPI void navigateToPlatformSplitScreenConnectConfirmationScreen(::std::function< void(bool)> callback)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Realms::Service::IRealmsInviteLinksDomain > getRealmsInviteLinksDomain()
MCAPI::std::string getDevelopmentVersionString() const
MCAPI ::std::tuple<::std::string, ::std::string, int > getExternalServerInfo(int id)
MCAPI void rebuildPlayScreenMenuStack()
MCAPI bool shouldShowVersionUpdateScreen()
MCAPI void navigateToPlatformNetworkConnectConfirmationScreen(::std::function< void(bool)> callback)
MCAPI bool isPlatformSony() const
MCAPI bool needPlatformConnectionForMultiplayer() const
MCAPI void resetRealmsWorld(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus)> callback, ::std::function< void(int)> retryCallback)
MCAPI void clearEditorPlaytestRoundtripInfo() const
MCAPI bool isPlatformThirdPartyConsole() const
MCAPI bool isLANAllowed() const
MCAPI void setDefaultPermissionsRealms(::Realms::RealmId worldId, ::PlayerPermissionLevel const &permission, ::std::function< void(::Realms::GenericStatus)> callback)
MCAPI bool isPlatformConsole() const
MCAPI void setRealmsWorldInfo(::Realms::World world, int difficulty, bool allowCheats, ::std::function< void(::Realms::GenericStatus, ::Realms::FailureReason)> callback)
MCAPI::std::string getBuildDateISOString() const
MCAPI::Social::XboxLiveUserProfileData const & getUserProfileDataByXuid(::std::string const &xuid)
MCAPI bool isUILoadingDone() const
MCAPI void navigateToControlCustomizationScreen()
MCAPI void startActiveDirectoryEduDemo()
MCAPI void acceptRealmsLink(::std::string realmInvite, ::std::function< void(::Realms::GenericStatus, ::Realms::FailureReason, ::Realms::World)> callback)
MCAPI void $navigateToGamePlayScreen()
MCAPI bool isRealmsEnabled() const
MCAPI bool isPremiumPlatformAccessRequired() const
MCAPI bool $isDirty() const
MCAPI bool isBanned() const
MCAPI void closeRealmsWorld(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus)> callback, ::std::function< void(int)> retryCallback)
MCAPI void initializeRealmsWorld(::Realms::RealmId worldId, ::std::string const &name, ::std::string const &description, ::std::function< void(::Realms::GenericStatus, ::Realms::FailureReason)> callback)
MCAPI void navigateToDisabledSkinScreen(bool twoButtonWithCallback, ::std::function< void()> callback)
MCAPI bool $tryNavigateToSafeZoneScreenOnFirstSignin()
MCAPI void addEduDeeplinkObserver(::EduDeeplinkObserver &observer) const
MCAPI bool hasLocalDeviceEntitlements() const
MCAPI void joinEduDiscoveredWorld()
MCAPI void rejectRealmsInvite(::Invites::InviteId invite, ::std::function< void(::Realms::GenericStatus)> callback)
MCAPI::std::string getMinecraftAccountID() const
MCAPI bool launchManageSubscriptions()
MCAPI bool isLeftHanded() const
MCAPI ::std::shared_ptr<::WebviewInterface > getOrCreateWebviewInterface(::WebviewInterfaceType interfaceType)
MCAPI::std::string getPlayerName() const
MCAPI::ResourcePackManager & $getResourcePackManager() const
MCAPI void getWorldFromLink(::std::string realmInvite, ::std::function< void(::Realms::GenericStatus, ::Json::Value const &&, ::Realms::World)> callback)
MCAPI ::std::shared_ptr<::FileDataRequest > requestImageFromUrl(::std::string const &imageUrl, ::std::function< void(::Bedrock::Http::Status, ::Core::Path const &, uint64)> callback)
MCAPI::Realms::World & getCurrentRealm()
MCAPI::std::string getMarketplacePassPrice(::std::string const &productSku, ::std::string const &caymanId) const
MCAPI void getPreferredRegions(::std::function< void(::Realms::GenericStatus, ::std::vector<::Realms::ServerRegion >)> callback)
MCAPI bool isDeviceSunset() const
MCAPI bool isSignedInToPlayfab() const
MCAPI void deleteAllContentLogs() const
MCAPI void checkPremiumPlatformAccessAsync(::std::function< void(bool)> callback)
MCAPI void pickFile(::std::shared_ptr<::FilePickerSettings > settings) const
MCAPI void navigateToUpdateWorldHeightScreen(::std::function< void(bool)> startWorldCallback)
MCAPI void fireEventScreenChanged(::std::string const &screenName, ::std::unordered_map<::std::string, ::std::string > const &additionalProperties)
MCAPI void clearContentLogMessages()
MCAPI bool isPremiumPlatformAccessRequiredForMatchmaking() const
MCAPI bool isFriendsDrawerEnabled(::MinecraftScreenModel::FriendsDrawerLocation location) const
MCAPI bool hasPlatformInvites() const
MCAPI void leaveRealmsWorld(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus)> callback)
MCAPI void navigateToRealmsStoriesShareLinkModal(::Realms::World const &world)
MCAPI void removeExternalServer(int id)
MCAPI void addToRealmsBlocklist(::Realms::RealmId worldId, ::std::string const &currentUserXuid, ::std::string const &xuidToBlock, ::std::function< void(::Realms::GenericStatus)> callback)
MCAPI::std::string getScreenName() const
MCAPI bool getSimPaused() const
MCAPI bool isRealmLevel() const
MCAPI bool getIsWaitingForSession() const
MCAPI::GameType getPlayerGameType() const
MCAPI void fireEventInventoryOpened(bool workbench)
MCAPI bool isPlatformInviteEnabled() const
MCAPI bool wasSessionCreated(::Social::MultiplayerServiceIdentifier serviceID) const
MCAPI void $dtor()
MCAPI void getUserMemberOfWorldsCount(::std::function< void(::Realms::GenericStatus, bool)> callback)
MCAPI short getPointerY() const
MCAPI::std::string getEduOfferPrice()
MCAPI bool getTipText(::std::string &text)
MCAPI::StoreContentSources getStoreContentSources() const
MCAPI void deleteRealm(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus)> callback)
MCAPI bool updateEduServicePackSystem() const
MCAPI bool $platformTTSExists() const
MCAPI void resetActiveDirectoryAuthenticationState()
MCAPI bool launchStoreForClientUpdates()
MCAPI void addEduCredentialsObserver(::edu::auth::CredentialsObserver &observer)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Realms::InvitesService > getRealmsInvitesService()
MCAPI void cancelEduServicePackDownload(::std::string const &cancelReason) const
MCAPI bool $isAdhocEnabled() const
MCAPI bool hasPlatformProfileCards() const
MCAPI::std::string const getMarketplaceDisabledReason() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager > $getUserManager()
MCAPI void getProfiles(::std::vector<::std::string > const &xuids, ::std::function< void(::std::vector<::Social::XboxLiveUserProfileData const * > const &)> batchedCollectionCallback)
MCAPI bool isGameModeEnabled(::GameType game) const
MCAPI ::Bedrock::NonOwnerPointer<::EduCloud::IEduCloudSaveSystem > getEduCloudSaveSystem() const
MCAPI bool isSignedInToAdhoc() const
MCAPI void navigateToSelectWorldPopup(::std::function< void(::SelectWorldResult, ::optional_ref<::LevelSummary const >, ::optional_ref<::Realms::World const >)> callback)
MCAPI bool isMuteChat()
MCAPI void setActiveDirectoryAuthenticationStateComplete()
MCAPI::ClipboardFeatureFlags getClipboardFeatures() const
MCAPI bool usePlatformProfilePicturesOnly() const
MCAPI::IEduDiscoveryService & getEduDiscoveryService()
MCAPI void rebindKeys()
MCAPI::std::string copyWorld(::std::string const &worldId)
MCAPI bool addExternalServer(::std::string const &name, ::std::string const &address, int port)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository > $getStoreCatalogRepository() const
MCAPI void saveEduReceipt(::std::string const &receipt, ::std::function< void(bool)> const &callback)
MCAPI bool $isUserReady() const
MCAPI bool supportsGamepad() const
MCAPI bool arePersonaAppearancesLoading() const
MCAPI bool isSignedInToNSO() const
MCAPI void setTextBoxBackend(::std::string const &str)
MCAPI void fireSignOutEdu(::std::string const &action, ::std::string const &error) const
MCAPI void removeFromRealmsBlocklist(::Realms::RealmId worldId, ::std::string const &xuid, ::std::function< void(::Realms::GenericStatus)> callback)
MCAPI void flushQueuedDevConsoleMessages()
MCAPI::std::string getCurrentXUID() const
MCAPI bool isNetworkAllowed() const
MCAPI ::std::optional<::SubscriptionOffer > getSubscriptionFullPriceInfo() const
MCAPI::ContentTierInfo getContentTierInfo() const
MCAPI void firePackSettingsEvent(::PackManifest const &manifest, ::std::string serializedPackSettings, int subpackIndex, ::std::string const &subpackName, int subpackCount)
MCAPI void getRealmWorldBackupList(::Realms::RealmId worldId, int slotIndex, ::std::function< void(::Realms::GenericStatus, ::Realms::WorldBackupList)> callback)
MCAPI bool getNewJukeboxPopupItemText(::std::string &newText, bool &isCreative)
MCAPI void registerServicesManagerSetupCallback(::std::function< void()> callbackToRegister)
MCAPI void listRealmsInvites(::std::function< void(::Realms::GenericStatus, ::std::vector<::Invites::Invite >)> callback)
MCAPI bool isPlayFabNsaLinkingFeatureEnabled() const
MCAPI void travelToPartyDestination()
MCAPI void scheduleCheckUserStorageAsync()
MCAPI void startLocalServerAsync(::LevelSummary const &levelSummary, ::LevelSettings const &levelSettings)
MCAPI bool getStoreHasRealmsProducts() const
MCAPI void navigateToWorldRecoveryScreen(::std::function< void()> successCallback)
MCAPI void signOut(::std::function< void(::Identity::SignOutResult)> callback)
MCAPI bool serverPermissionOpenChat() const
MCAPI void setShareData(::std::string shareTitle, ::std::string shareText, ::std::string shareUri)
MCAPI void navigateToInviteScreen()
MCAPI ::Bedrock::Threading::Async<::std::vector<::Social::UserLinkedAccountsInfo > > getLinkedAccountsFromXUIDs(::std::vector<::Social::XUID > const &xuids) const
MCAPI bool showSignInButton() const
MCAPI bool isSignedInToPSN() const
MCAPI bool supportsTouch() const
MCAPI bool canLaunchUri(::std::string const &uri)
MCAPI::std::string getNetworkInfoStringInGame() const
MCAPI void joinRealmsWorld(::Realms::World world, ::std::function< void(::Social::GameConnectionInfo const &, bool)> successCallback, ::std::function< void(::Realms::GenericStatus, ::RealmsAPI::JoinStatus, ::Realms::FailureReason)> failCallback, ::std::function< void(int)> retryCallback, ::IMinecraftEventing::RealmConnectionFlow realmConnectionFlow, ::std::function< void(::IMinecraftEventing::RealmConnectionFlow)> broadcastConnectionEventRealmsRequestFunction, ::std::function< void(::IMinecraftEventing::RealmConnectionFlow, ::Bedrock::Http::StatusCode)> broadcastConnectionEventRealmsResponseFunction)
MCAPI::BuildPlatform getBuildPlatform() const
MCAPI void navigateToFeedScreen(::Realms::World const &world)
MCAPI void getPlatformProfile(::std::string const &platformId, ::std::function< void(::Social::PlatformUserProfileData &)> callback)
MCAPI bool $tryNavigateToProfileScreen()
MCAPI void setActiveDirectoryDemoVersion()
MCAPI bool hasInteractButton() const
MCAPI void fetchScreenshots(::std::vector<::Core::PathBuffer<::std::string > > &results)
MCAPI void launchUri(::std::string const &uri)
MCAPI ::std::shared_ptr<::FilePickerSettings > generateFilePickerSettingsForExport()
MCAPI void getClubUnreadCount(::std::string const &clubId, ::std::function< void(int, ::Clubs::GenericStatus)> callback)
MCAPI uint getServerSettingsId()
MCAPI bool isLANAvailable() const
MCAPI void setActiveDirectoryAuthenticationOfferPurchase()
MCAPI short getPointerX() const
MCAPI bool canUserDoActionForCurrentRealm(::Realms::PlayerRoleActions action) const
MCAPI void fireEventAdhocNetworkEnabled() const
MCAPI bool isCreative() const
MCAPI bool isDesktop() const
MCAPI bool canUserDoRealmRoleAction(::Realms::World const &realmWorld, ::Realms::PlayerRoleActions action) const
MCAPI bool isResourceLoadingFinished() const
MCAPI bool isServiceMultiplayerEnabled(::Social::MultiplayerServiceIdentifier serviceID) const
MCAPI void navigateToRealmsPlanPicker()
MCAPI ::Bedrock::PubSub::Connector< void(::PlayerListEntry const &, ::std::unordered_map<::mce::UUID, ::PlayerListEntry > const &)> & getOnPlayerListEntryRemovedConnector() const
MCAPI bool isMultiplayerFeatureAllowed() const
MCAPI bool multiplayerRequiresUGCEnabled() const
MCAPI void acceptRealmsInvite(::Invites::InviteId invite, ::std::function< void(::Realms::GenericStatus, ::Realms::FailureReason)> callback)
MCAPI void setNumberOfOwnedRealms(int number)
MCAPI bool isEduDemo()
MCAPI void navigateToPlatformStoreConnectConfirmationScreen(::std::function< void(bool)> callback)
MCAPI ::std::vector<::std::string > const & getDevConsoleScreenMessages()
MCAPI void displayPremiumUpsellDialogAsync(::std::function< void(bool)> callback)
MCAPI void launchFeedbackHelpUri()
MCAPI bool requiresNetworkOutageMessaging() const
MCAPI::std::string getStoreId() const
MCAPI bool needPlatformConnectionBeforeXBLSignIn() const
MCAPI::std::string const & getLastContentLogMessage() const
MCAPI bool requiresXBLSigninToPlay() const
MCAPI void setActiveSlot(::Realms::RealmId worldId, int slotIndex, ::std::function< void(::Realms::GenericStatus, ::Realms::FailureReason)> callback)
MCAPI bool supports3rdPartyServers() const
MCAPI ::std::vector<::Social::XboxLiveUserProfileData const * > const & getXboxLiveFriends() const
MCAPI::mce::UUID getLocalPlayerUUID()
MCAPI bool isPremiumOwnedMissing(::PackIdVersion const &id, ::ContentIdentity const &contentIdentity) const
MCAPI void updateRealmsConfig(::Realms::RealmId worldId, ::std::string const &versionRef, ::std::function< void(::Realms::GenericStatus, ::std::string)> callback)
MCAPI float getEduServicePackProgress() const
MCAPI void setLastSelectedSlot(int slot, ::ContainerID containerId)
MCAPI bool shouldShowThirdPartyDisconnected() const
MCAPI void setSimPaused(bool paused)
MCAPI void setIsInGameBrowsing(bool isInGameBrowsing)
MCAPI::std::string getVersionString() const
MCAPI void openBannedModal()
MCAPI bool isUITTSEnabled() const
MCAPI ::Bedrock::Threading::Async< void > _queueForMainThread(::std::function< void()> &&callback)
MCAPI void navigateToStoreRatingScreen()
MCAPI bool isSwitchTrialsEnabled(bool isForRealms) const
MCAPI void silentSignin(::Social::IdentitySignInTrigger signInTrigger, ::std::string const &signInSource, ::std::function< void(::Social::MultiIdentitySigninResult)> callback)
MCAPI void makeBackupOfLevel(::LevelSummary const &editedLevel)
MCAPI::std::string const & getLastDevConsoleMessage()
MCAPI void showShareUI()
MCAPI void clubNameVetting(::std::string const &name, ::std::function< void(::Realms::GenericStatus, ::Realms::FailureReason)> callback)
MCAPI void navigateToStoreHomeScreen(::std::string const &title)
MCAPI void activateNewPreviewRealm(::Realms::RealmId worldId, ::std::function< void(::Realms::GenericStatus, ::Realms::RealmId)> callback)
MCAPI ::std::shared_ptr<::FilePickerSettings > generateFilePickerSettingsForAlbum(::PDFOptions const &options, ::std::string const &defaultOutName)
MCAPI bool findProfanityInString(::ProfanityFilterContext stringContext, ::std::string const &str) const
MCAPI void $requestLeaveGame(bool switchScreen, bool sync)
MCAPI::std::string getSplitscreenJoinText() const
MCAPI void $navigateToStoreDataDrivenScreen(::StoreDataDrivenScreenParams const &params, bool forceDisableProgressScreen)
MCAPI void $popScreensBackTo(::ui::SceneType const sceneType)
MCAPI void navigateToDevConsole()
MCAPI::DimensionHeightRange getDimensionHeightRange() const
MCAPI bool _isPremium(::PackManifest const &manifest) const
MCAPI bool multiplayerLostConnectionToSignalingService() const
MCAPI bool isValidRealmName(::std::string name)
MCAPI bool isEditorPlayer() const
MCAPI::std::string getDisplayName() const
MCAPI bool supports3DExport() const
MCAPI void fetchRealmsWorlds(::std::function< void(::Realms::GenericStatus, ::std::vector<::Realms::World >)> callback)
MCAPI bool continueResourcePackDownloadAfterCDNFailure()
MCAPI void sendDevConsoleMessage(::std::string const &message)
MCAPI::std::string getScreenTelemetry() const
MCAPI void connectToPlatformNetwork(::std::function< void(::Social::UserPlatformConnectionResult)> callback, bool isUserInitiated)
MCAPI bool supportsShare()
MCAPI void resetResourceLoadManagerRepeatedHitCount()
MCAPI void stopWebviewInterface(::WebviewInterfaceType interfaceType)
MCAPI bool isInviteEnabled(::Social::MultiplayerServiceIdentifier serviceIdentifier) const
MCAPI bool isEditorModeEnabled() const
MCAPI bool isInternetAvailable() const
MCAPI bool $isLeaveGameDone() const
MCAPI void saveLevelData(::std::string const &levelId, ::LevelData const &data)
MCAPI bool isUsingUnifiedJoinRealmFlow() const
MCAPI void $prepareToNavigateToGamePlayScreen()
MCAPI void fireSwitchAccountEdu() const
MCAPI void refreshCurrentRealmWorldInfo(::std::function< void(::Realms::GenericStatus, ::Realms::World const &)> callback)
MCAPI::Realms::World getRealmsWorldContextWorld() const
MCAPI uint64 getActiveDownloadOrImportCount() const
MCAPI bool isCrossPlatformPlayEnabled() const
MCAPI ::std::shared_ptr<::WebviewInterface > getWebviewInterface(::WebviewInterfaceType interfaceType)
MCAPI bool isSignedInToXBL() const
MCAPI void getRealmsOnlinePlayers(::std::function< void(::Realms::GenericStatus, ::std::vector<::Realms::World >)> callback)
MCAPI bool supportsMSAA() const
MCAPI float $getStoreNetworkFailureTimeout() const
MCAPI void setLanguage()
MCAPI::std::string getButtonTexture(::TriggerIndiciesEnum trigger)
MCAPI float getResourcePackDownloadProgress(::std::string &message) const
MCAPI::std::string getPriceDisclaimerText() const
MCAPI::IGameConnectionListener const & getGameConnectionListener()
MCAPI ::std::vector<::ContentLogMessage > const & getContentLogMessages() const
MCAPI void addDownloadCallback(::std::weak_ptr< bool > existenceTracker, ::std::function< void(::DownloadStateObject &)> callback)
MCAPI void $destroyGame()
MCAPI void setActiveDirectoryEulaAccepted()
MCAPI::std::string getIpAddress() const
MCAPI bool isFeatureEnabled(::MinecraftGameFeatures feature) const
MCAPI bool isPlatformNX() const
MCAPI void navigateToFeedbackPopup()
MCAPI void devConsoleExecuteCommand(::std::string const &command)
MCAPI bool editExternalServer(int id, ::std::string const &name, ::std::string const &address, int port, bool updateTimeStamp)
MCAPI bool isNetworkAvailable() const
MCAPI::std::string getSessionConfigKnownPageKeyValue(::std::string const &pageId) const
MCAPI void quit(::std::string const &src, ::std::string const &reason)
MCAPI uint64 getTotalHardwareThreadsCount() const
MCAPI void setTrialABTest(::PropertyBag *abTests)
MCAPI void signIn(::std::function< void()> connectionCompleteCallback, ::Social::IdentitySignInTrigger signInTrigger, ::std::string const &signInSource, ::std::function< void(::Social::MultiIdentitySigninResult)> signInCompleteCallback)
MCAPI void getPlatformFriendProfiles(::std::function< void(::std::vector<::Social::PlatformUserProfileData > const &)> callback)
MCAPI bool $isSelectedSkinInitialized() const
MCAPI void launchUserGeneratedUri(::std::string const &uri, ::UserGeneratedUriSource source, bool recordEvent)
Definition PackManifest.h:39
Definition Path.h:16
Definition PlatformMultiplayerRestrictions.h:5
Definition PlatformUpsellDialog.h:5
Definition PlayerAchievementData.h:5
Definition PlayerListEntry.h:17
Definition Player.h:131
Definition ProgressHandler.h:5
Definition PropertyBag.h:8
Definition RealmsAPI.h:5
Definition InvitesService.h:7
Definition IRealmsInviteLinksDomain.h:7
Definition ResourcePackManager.h:29
Definition SceneFactory.h:5
Definition SkinHandle.h:5
Definition SkinPackCollectionModel.h:5
Definition FriendList.h:7
Definition GameConnectionInfo.h:24
Definition IUserManager.h:7
Definition TaskGroup.h:85
Definition WebviewInterface.h:5
Definition WireframeQueue.h:5
Definition UUID.h:8
Definition optional_ref.h:10
STL namespace.
Definition ActorUniqueID.h:5
Definition ClubModel.h:7
Definition ContentItem.h:5
Definition ContentLogMessage.h:5
Definition DownloadStateObject.h:5
Definition IEduCloudSaveSystem.h:7
Definition EducationLevelSettings.h:17
Definition SignOutResult.h:7
Definition InviteId.h:7
Definition Invite.h:7
Definition LevelSummary.h:30
Definition MinecraftScreenModelContext.h:5
Definition PDFOptions.h:5
Definition PackIdVersion.h:10
Definition ConfigInfo.h:7
Definition Player.h:7
Definition RealmId.h:7
Definition ServerRegion.h:7
Definition WorldBackupList.h:7
Definition World.h:7
Definition MultiIdentitySigninResult.h:7
Definition PermissionCheckResult.h:7
Definition PlatformUserProfileData.h:7
Definition UserLinkedAccountsInfo.h:7
Definition XUID.h:10
Definition XboxLiveUserProfileData.h:7
Definition StoreDataDrivenScreenParams.h:5
Definition context.h:5
Definition CredentialsObserver.h:7