3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/options/AutoUpdateMode.h"
7#include "mc/client/options/DebugHudOptions.h"
8#include "mc/client/options/IOptions.h"
9#include "mc/client/options/RealmsEnvironment.h"
10#include "mc/client/options/SplitScreenDirection.h"
11#include "mc/client/options/XboxSandboxEnvironment.h"
12#include "mc/client/store/DisplayLoggedErrorType.h"
13#include "mc/deps/input/InputMode.h"
14#include "mc/input/NewInteractionModel.h"
15#include "mc/network/DevConnectionQuality.h"
16#include "mc/options/GraphicsMode.h"
17#include "mc/options/TargetRenderAPI.h"
18#include "mc/options/UIProfile.h"
19#include "mc/options/option_types/OptionID.h"
20#include "mc/platform/diagnostics/bedrock_log/LogCategory.h"
31 ::ll::TypedStorage<8, 6216, ::std::array<::std::unique_ptr<::Option>, 777>> mOptions;
32 ::ll::TypedStorage<8, 16, ::std::weak_ptr<::IOptions>> mPerMachineOptionsSource;
33 ::ll::TypedStorage<1, 1, bool> mIsDevOptionsDirty;
39 virtual ~BaseOptions() ;
41 virtual ::std::shared_ptr<::IOptions> sharedFromThis() ;
43 virtual ::std::shared_ptr<::IOptions const> sharedFromThis() const ;
45 virtual
bool isValidOption(::OptionID optionId) const ;
47 virtual ::gsl::not_null<::Option*> get(::OptionID optionId) ;
49 virtual ::gsl::not_null<::Option const*> get(::OptionID optionId) const ;
51 virtual ::std::optional<::Option*> getIfValid(::OptionID optionId) ;
53 virtual ::std::optional<::Option const*> getIfValid(::OptionID optionId) const ;
55 virtual ::std::array<::std::unique_ptr<::Option>, 777> const& getAllRegisteredOptions() ;
57 virtual
void forEachOption(::std::function<
void(::Option*)> callback) ;
59 virtual
bool consumeDevOptionsDirty() ;
61 virtual
void dumpOptionsToLogFile() const ;
63 virtual ::Option& _registerOption(::std::unique_ptr<::Option> option) ;
65 virtual
void updateInputMode(::InputMode inputMode) ;
67 virtual
void setMainVolume(
float volume) ;
69 virtual
float getMainVolume() const ;
71 virtual
void setMusicVolume(
float volume) ;
73 virtual
float getMusicVolume() const ;
75 virtual
void setSoundVolume(
float volume) ;
77 virtual
float getSoundVolume() const ;
79 virtual
void setTTSVolume(
float volume) ;
81 virtual
float getTTSVolume() const ;
83 virtual
float getChatMessageDuration() const ;
85 virtual
float getToastNotificationDuration() const ;
87 virtual
void setSensitivity(
float sensitivity, ::InputMode inputMode) ;
89 virtual
float getSensitivity(::InputMode inputMode) const ;
91 virtual
void setSpyglassDamping(
float value, ::InputMode inputMode) ;
93 virtual
float getSpyglassDamping(::InputMode inputMode) const ;
95 virtual
void setDwellBeforeDrag(
float value) ;
97 virtual
float getDwellBeforeDrag() const ;
99 virtual
void setStackSplittingTrigger(
float value) ;
101 virtual
float getStackSplittingTrigger() const ;
103 virtual
float getGameSensitivity(::InputMode inputmode) const ;
105 virtual
bool getInvertYMouse(::InputMode inputMode) const ;
107 virtual
float getParticleViewDistance() const ;
109 virtual
bool getBobView() const ;
111 virtual
float getDamageBobStrength() const ;
113 virtual
bool getCameraShake() const ;
115 virtual
bool getHideEndFlash() const ;
117 virtual
bool getIsDitheringEnabledBlocks() const ;
119 virtual
bool getIsDitheringEnabledMobs() const ;
121 virtual
void setResetPlayerAlignment(
bool reset) ;
123 virtual
bool getResetPlayerAlignment() const ;
125 virtual ::GraphicsMode getGraphicsMode() const ;
127 virtual ::TargetRenderAPI getTargetRenderAPI() const ;
129 virtual
bool getTransparentLeaves() const ;
131 virtual
bool getFancyBubbles() const ;
133 virtual
bool getSmoothLighting() const ;
135 virtual
bool getGuiAccessibilityScaling() const ;
137 virtual
bool getUseMouseForDigging() const ;
139 virtual
bool isLeftHanded() const ;
141 virtual
bool isHotbarOnlyTouch() const ;
143 virtual
bool getDestroyVibration(::InputMode inputMode) const ;
145 virtual
bool getSplitVibration(::InputMode inputMode) const ;
147 virtual
bool getAutoJump(::InputMode inputMode) const ;
149 virtual
void setFullscreen(
bool fullscreen) ;
151 virtual
bool getFullscreen() const ;
153 virtual
void toggleFullscreen() ;
155 virtual
void setDifficulty(
int difficulty) ;
157 virtual
void setHideGUI(
bool hideGUI) ;
159 virtual
bool getHideHud() const ;
161 virtual
bool getHideHand() const ;
163 virtual
void setHideToolTips(
bool hideToolTips) ;
165 virtual
bool getHideToolTips() const ;
167 virtual
void setHidePaperDoll(
bool hidePaperDoll) ;
169 virtual
bool getHidePaperDoll() const ;
171 virtual
void setIngamePlayerNames(
bool useNameTag) ;
173 virtual
bool getIngamePlayerNames() const ;
175 virtual
void setSplitscreenIngamePlayerNames(
bool useNameTag) ;
177 virtual
bool getSplitscreenIngamePlayerNames() const ;
179 virtual
void setInterfaceOpacity(
float opacity) ;
181 virtual
float getInterfaceOpacity() const ;
183 virtual
void setSplitscreenInterfaceOpacity(
float opacity) ;
185 virtual
float getSplitscreenInterfaceOpacity() const ;
187 virtual
void setShowAutoSaveIcon(
bool ShowAutoSaveIcon) ;
189 virtual
bool getShowAutoSaveIcon() const ;
191 virtual
void setSplitscreenDirection(
int splitScreenDirection) ;
193 virtual ::SplitScreenDirection getSplitscreenDirection() const ;
195 virtual
void setHideScreens(
bool hideScreens) ;
197 virtual
bool getHideScreens() const ;
199 virtual
void setHideItemInHand(
bool hideItemInHand) ;
201 virtual
bool getHideItemInHand() const ;
203 virtual
bool getScreenAnimations() const ;
205 virtual ::UIProfile getUIProfile() const ;
207 virtual
void setForceUseUnsortedPolys(
bool renderUnsorted) ;
209 virtual
bool getForceUseUnsortedPolys() const ;
211 virtual
void setRenderDebug(::DebugHudOptions renderDebug) ;
213 virtual ::DebugHudOptions getRenderDebug() const ;
215 virtual
bool getRemoteImguiEnabled() const ;
217 virtual
void setRemoteImguiEnabled(
bool remoteImguiEnabled) ;
219 virtual
float getGamma() const ;
221 virtual
void setMSAA(
int msaa) ;
223 virtual
void setTexelAA(
bool texelAA) ;
225 virtual
void setFixedCamera(
bool fixedCamera) ;
227 virtual
bool getFixedCamera() const ;
229 virtual
void setSkinId(::std::
string const& skinId) ;
231 virtual ::std::
string const& getSkinId() const ;
233 virtual
void setLastCustomSkinId(::std::
string const& lastCustomSkinId) ;
235 virtual ::std::
string const& getLastCustomSkinId() const ;
237 virtual
bool getFovToggle() const ;
239 virtual
void setServerVisible(
bool serverVisible) ;
241 virtual
bool getServerVisible() const ;
243 virtual
void setSplitControls(
bool splitControls) ;
245 virtual
bool getSplitControls() const ;
247 virtual
bool getSwapJumpAndSneak() const ;
249 virtual
bool getFancySkies() const ;
251 virtual
void setRenderClouds(
bool renderClouds) ;
253 virtual
bool getRenderClouds() const ;
255 virtual
bool getDevAutoLoadLevel() const ;
257 virtual
bool getDevAssertionsDebugBreak() const ;
259 virtual
bool getDevAssertionsShowDialog() const ;
261 virtual
bool getDevShowDisplayLoggedError() const ;
263 virtual
bool getDevShowDisplayLoggedError(::DisplayLoggedErrorType errortype) const ;
265 virtual
void setDevShowDevConsoleButton(
bool dev_showDevConsoleButton) ;
267 virtual
bool getDevShowDevConsoleButton() const ;
269 virtual
bool getDevIgnoreUserInput() const ;
271 virtual
bool getDevDisplayTreatmentPanel() const ;
273 virtual
void setDevDisplayTreatmentPanel(
bool dev_displayTreatmentPanel) ;
275 virtual
void setDevShowMinecraftTCUIReplacement(
bool dev_showMinecraftTCUIReplacement) ;
277 virtual
bool getDevShowMinecraftTCUIReplacement() const ;
279 virtual
bool getDevCreateRealmWithoutPurchase() const ;
281 virtual
bool getDevDisableConnectedStoragePush() const ;
283 virtual
bool getDevDisableConnectedStoragePull() const ;
285 virtual
void setDevFindMobs(
bool dev_findMobs) ;
287 virtual
bool getDevFindMobs() const ;
289 virtual
void setDevRenderBoundingBoxes(
bool dev_renderBoundingBoxes) ;
291 virtual
bool getDevRenderBoundingBoxes() const ;
293 virtual
void setDevRenderPaths(
bool dev_renderPaths) ;
295 virtual
bool getDevRenderPaths() const ;
297 virtual
void setDevRenderMobInfoState(
bool dev_renderMobInfoState) ;
299 virtual
bool getDevRenderMobInfoState() const ;
301 virtual
void setDevRenderGoalState(
bool dev_renderGoalState) ;
303 virtual
bool getDevRenderGoalState() const ;
305 virtual
void setDevRenderSchedulerInfo(
bool dev_renderSchedulerState) ;
307 virtual
bool getDevRenderSchedulerInfo() const ;
309 virtual
void setDevRenderCoordinateSystems(
bool dev_renderCoords) ;
311 virtual
bool getDevRenderCoordinateSystems() const ;
313 virtual
bool getDevResetClientId() const ;
315 virtual
void setDevLogFlushImmediate(
bool dev_FlushLogOnWrite) ;
317 virtual
bool getDevLogFlushImmediate() const ;
319 virtual
void setDevLogTimestamp(
bool dev_timestamp) ;
321 virtual
bool getDevLogTimestamp() const ;
323 virtual
void setDevLogTrace(
bool dev_trace) ;
325 virtual
bool getDevLogTrace() const ;
327 virtual
void setDevLogArea(
bool dev_logArea) ;
329 virtual
bool getDevLogArea() const ;
331 virtual
void setDevLogPriority(
bool dev_logPriority) ;
333 virtual
bool getDevLogPriority() const ;
335 virtual
void setDevLogThread(
bool dev_logThread) ;
337 virtual
bool getDevLogThread() const ;
339 virtual
void setDevLogAppend(
bool dev_append) ;
341 virtual
bool getDevLogAppend() const ;
343 virtual
void setDevLogProcessId(
bool enable) ;
345 virtual
bool getDevLogProcessId() const ;
347 virtual
void setDevLogThreadId(
bool enable) ;
349 virtual
bool getDevLogThreadId() const ;
351 virtual
void setDevLogMessageId(
bool enable) ;
353 virtual
bool getDevLogMessageId() const ;
355 virtual
void setDevLogSilentLogging(
bool silent) ;
357 virtual
bool getDevLogSilentLogging() const ;
359 virtual
void setDevLogPriorityFilter(::std::
string const& devFilter) ;
361 virtual ::std::
string const& getDevLogPriorityFilter() const ;
363 virtual
void setDevLogAreaFilter(::std::
string const& devFilter) ;
365 virtual ::std::
string const& getDevLogAreaFilter() const ;
367 virtual
void setDevGameEventRetentionTicks(ushort retentionTicks) ;
369 virtual ushort getDevGameEventRetentionTicks() const ;
371 virtual
void setDevDeepDarkDebugRender(
bool render) ;
373 virtual
bool getDevDeepDarkDebugRender() const ;
375 virtual
bool isLogCategoryEnabled(::BedrockLog::LogCategory category) const ;
377 virtual
bool getDevEnableProfilerOutput() ;
379 virtual
bool getDevAddUsersSilently() const ;
381 virtual
int getDevBenchmarkModeTime() ;
383 virtual
bool getDevDisableClientBlobCache() const ;
385 virtual
bool getDevClientBlobCacheOnLocalServer() const ;
387 virtual
void setLogFlushDelay(
int delay_time) ;
389 virtual
int getLogFlushDelay() ;
391 virtual
int getAutomationParallelSlices() const ;
393 virtual
int getAutomationParallelCurrentSlice() const ;
395 virtual
bool getIsAutomationRun() const ;
397 virtual
bool getShouldQuitAppAfterTesting() const ;
399 virtual
bool shouldUploadTestArtifacts() const ;
401 virtual
bool hasAutomationTestRunTimedOut() const ;
403 virtual
bool hasAutomationTestRunReachedCrashLimit() const ;
405 virtual
bool shouldAppendDebugLogTimestamp() const ;
407 virtual ::std::
string getAutomationServerIp() const ;
409 virtual ::std::
string getAutomationServerPort() const ;
411 virtual ::std::
string getAutomationArtifactUploadSas() const ;
413 virtual ::std::
string getAutomationArtifactUploadUrl() const ;
415 virtual ::std::
string getAutomationRelativeBlobpath() const ;
417 virtual ::std::
string getAutomationFunctionalTestTags() const ;
419 virtual ::std::
string getAutomationServerTestTags() const ;
421 virtual ::std::
string getAutomationUnitTestTags() const ;
423 virtual ::std::
string getAutomationFunctionalBrokenTestTags() const ;
425 virtual ::std::
string getAutomationServerBrokenTestTags() const ;
427 virtual ::std::
string getAutomationUnitBrokenTestTags() const ;
429 virtual ::std::
string getAutomationTestBuildID() const ;
431 virtual ::std::
string getAutomationUploadToken() const ;
433 virtual ::std::
string getAutomationEnabledFeatures() const ;
435 virtual ::std::
string getAutomationEnabledExperiments() const ;
437 virtual
bool getAutomationShouldGroupServerTests() const ;
439 virtual
bool getAutomationUnrandomTestsEnabled() const ;
441 virtual
bool getAutomationRunEntireServerTestGroup() const ;
443 virtual
bool getAutomationRunServerTestAfterEachTest() const ;
445 virtual ::std::
string const& getTestBranchName() const ;
447 virtual
bool getFunctionalTestBlockInput() const ;
449 virtual
bool shouldBlockUserInput() const ;
451 virtual
bool hasSetSafeZone() const ;
453 virtual
bool getAutomationDisableTreatmentPackDownloads() const ;
455 virtual
bool getAutomationProfilerCaptureEnabled() const ;
457 virtual
bool getAutomationProfilerFlipEnabled() const ;
459 virtual
int getAutomationRepeatCount() const ;
461 virtual
int getAutomationSoakTestRunDurationMinutes() const ;
463 virtual
bool getAutomationRerunFailuresOnly() const ;
465 virtual
int getAutomationUnitPerTestcaseTimeout() const ;
467 virtual
int getAutomationFunctionalPerTestcaseTimeout() const ;
469 virtual
int getAutomationServerPerTestcaseTimeout() const ;
471 virtual
void setAutomationFunctionalBrokenTestTags(::std::
string const& tags) ;
473 virtual
void setAutomationUnitBrokenTestTags(::std::
string const& tags) ;
475 virtual
void setAutomationUploadToken(::std::
string const& token) ;
477 virtual
bool getDevAchievmentsAlwaysEnabled() ;
479 virtual
bool shouldServerTestsLogWorlds() const ;
481 virtual
bool shouldServerTestsAssertOnLevelDiff() const ;
483 virtual ::std::
string getAutomationMultiplayerSessionName() const ;
485 virtual
int getAutomationMultiplayerDeviceIndex() const ;
487 virtual ::std::vector<::std::
string> getAutomationMultiplayerUserAccounts() const ;
489 virtual ::DevConnectionQuality getDevConnectionQuality() const ;
491 virtual
int getDevRenderAttachPos() const ;
493 virtual
void setMultiPlayerGame(
bool multiPlayerGame) ;
495 virtual
bool getMultiPlayerGame() const ;
497 virtual
void setXboxLiveVisible(
bool xboxLiveVisible) ;
499 virtual
bool wasLoggedInLastSession() ;
501 virtual
void setHasEverLoggedIntoXbl(
bool hasEverLoggedIntoXbl) ;
503 virtual
bool getHasEverLoggedIntoXbl() const ;
505 virtual
void setHasShownFirstLaunchWelcomeModal(
bool hasShownModal) ;
507 virtual
bool getHasShownFirstLaunchWelcomeModal() const ;
509 virtual
void setHasShownFirstSocialWelcomeModal(
bool hasShownModal) ;
511 virtual
bool getHasShownFirstSocialWelcomeModal() const ;
513 virtual
void setDoNotShowFriendsListFTUE(
bool hasShownModal) ;
515 virtual
bool getDoNotShowFriendsListFTUE() const ;
517 virtual
void setHasShownBannedModalAtStartup(
bool hasShownModal) ;
519 virtual
bool getHasShownBannedModalAtStartup() const ;
521 virtual
void setAcknowledgedAutoSave(
bool acknowledgedAutoSave) ;
523 virtual
bool getAcknowledgedAutoSave() const ;
525 virtual
void setRealmsInviteShowFriendsOption(
bool showFriendInvitesOnly) ;
527 virtual
bool getRealmsInviteShowFriendsOption() const ;
529 virtual
void setNumberOfOwnedRealms(
int numberOfOwnedRealms) ;
531 virtual
int getNumberOfOwnedRealms() const ;
533 virtual
void setNumberOfFriendsRealms(
int numberOfOwnedRealms) ;
535 virtual
int getNumberOfFriendsRealms() const ;
537 virtual
void setCreateRealmUpsellCount(
int value) ;
539 virtual
int getCreateRealmUpsellCount() const ;
541 virtual
void setSaveAndQuitCount(
int value) ;
543 virtual
int getSaveAndQuitCount() const ;
545 virtual
void setIsRatingsPromptShown(
bool value) ;
547 virtual
bool getIsRatingsPromptShown() const ;
549 virtual
void setShowRealmsTrialButtonFromPlayScreen(
bool value) ;
551 virtual
bool getShowRealmsTrialButtonFromPlayScreen() const ;
553 virtual ::AutoUpdateMode getAutoUpdateMode() const ;
555 virtual
void setCanUseCellularData(
bool useNetworkData) ;
557 virtual
bool getCanUseCellularData() const ;
559 virtual
int getPlayerViewPerspective() const ;
561 virtual
void setRequireWebsocketEncryption(
bool require) ;
563 virtual
bool getRequireWebsocketEncryption() const ;
565 virtual
void setWebsocketsEnabled(
bool enabled) ;
567 virtual
bool getWebsocketsEnabled() const ;
569 virtual
void setUseIPv6Only(
bool useIPv6Only) ;
571 virtual
bool getUseIPv6Only() const ;
573 virtual
void setUseRetailXboxSandbox(
bool const retail) ;
575 virtual
bool getUseRetailXboxSandbox() const ;
577 virtual
void setXboxLiveSandbox(::XboxSandboxEnvironment environment) ;
579 virtual ::std::
string const& getXboxLiveSandbox() const ;
581 virtual
void setRealmsEnvironment(::RealmsEnvironment realmsEnvironment) ;
583 virtual ::RealmsEnvironment getRealmsEnvironment() const ;
585 virtual
void setRealmsEndpoint(::std::
string const& realmsEndpoint) ;
587 virtual ::std::
string const& getRealmsEndpoint() const ;
589 virtual ::std::
string const& getRealmsV2Endpoint() const ;
591 virtual
void setRealmsEndpointPayment(::std::
string const& realmsEndpointPayment) ;
593 virtual ::std::
string const& getRealmsEndpointPayment() const ;
595 virtual
void setRealmsRelyingParty(::std::
string const& realmsRelyingParty) ;
597 virtual ::std::
string const& getRealmsRelyingParty() const ;
599 virtual
void setRealmsRelyingPartyPayment(::std::
string const& realmsRelyingPartyPayment) ;
601 virtual ::std::
string const& getRealmsRelyingPartyPayment() const ;
603 virtual
void setStoreHasPurchasedCoins(
bool value) ;
605 virtual
bool getStoreHasPurchasedCoins() const ;
607 virtual
void setShowUnfulfilledPurchaseModal(
bool value) ;
609 virtual
bool getShowUnfulfilledPurchaseModal() const ;
611 virtual
void setSwitchCoinDebug(
bool value) ;
613 virtual
bool getSwitchCoinDebug() const ;
615 virtual
void setEduHasLoggedIn(
bool hasEduLoggedIn) ;
617 virtual
bool getEduHasLoggedIn() const ;
619 virtual
void setShownPlatformNetworkConnectConfirmation(
bool value) ;
621 virtual
bool getShownPlatformNetworkConnectConfirmation() const ;
623 virtual
void setShownPlatformPremiumUpsell(
bool value) ;
625 virtual
bool getShownPlatformPremiumUpsell() const ;
627 virtual
void setAppLaunchedCount(
int value) ;
629 virtual
int getAppLaunchedCount() const ;
631 virtual
void setEcoMode(
bool value) ;
633 virtual
bool getEcoMode() const ;
635 virtual
void setEduCloudBackupToggle(
bool cloudBackup) ;
637 virtual
bool getEduCloudBackupToggle() const ;
639 virtual
void setUseFontOverrides(
bool value) ;
641 virtual
bool getUseFontOverrides() const ;
643 virtual ::NewInteractionModel getEffectiveTouchScheme() const ;
649 MCAPI ::Option* _getOptionAndAssertIfNotPresent(::OptionID optionId) const;
661 MCFOLD ::std::shared_ptr<::IOptions> $sharedFromThis();
663 MCFOLD ::std::shared_ptr<::IOptions const> $sharedFromThis() const;
665 MCFOLD
bool $isValidOption(::OptionID optionId) const;
667 MCFOLD ::gsl::not_null<::Option*> $get(::OptionID optionId);
669 MCFOLD ::gsl::not_null<::Option const*> $get(::OptionID optionId) const;
671 MCFOLD ::std::optional<::Option*> $getIfValid(::OptionID optionId);
673 MCFOLD ::std::optional<::Option const*> $getIfValid(::OptionID optionId) const;
675 MCFOLD ::std::array<::std::unique_ptr<::Option>, 777> const& $getAllRegisteredOptions();
677 MCFOLD
void $forEachOption(::std::function<
void(::Option*)> callback);
679 MCAPI
bool $consumeDevOptionsDirty();
681 MCFOLD
void $dumpOptionsToLogFile() const;
683 MCAPI ::Option& $_registerOption(::std::unique_ptr<::Option> option);
685 MCAPI
void $updateInputMode(::InputMode inputMode);
687 MCAPI
void $setMainVolume(
float volume);
689 MCAPI
float $getMainVolume() const;
691 MCAPI
void $setMusicVolume(
float volume);
693 MCAPI
float $getMusicVolume() const;
695 MCAPI
void $setSoundVolume(
float volume);
697 MCAPI
float $getSoundVolume() const;
699 MCAPI
void $setTTSVolume(
float volume);
701 MCAPI
float $getTTSVolume() const;
703 MCAPI
float $getChatMessageDuration() const;
705 MCAPI
float $getToastNotificationDuration() const;
707 MCAPI
void $setSensitivity(
float sensitivity, ::InputMode inputMode);
709 MCAPI
float $getSensitivity(::InputMode inputMode) const;
711 MCAPI
void $setSpyglassDamping(
float value, ::InputMode inputMode);
713 MCAPI
float $getSpyglassDamping(::InputMode inputMode) const;
715 MCAPI
void $setDwellBeforeDrag(
float value);
717 MCAPI
float $getDwellBeforeDrag() const;
719 MCAPI
void $setStackSplittingTrigger(
float value);
721 MCAPI
float $getStackSplittingTrigger() const;
723 MCAPI
float $getGameSensitivity(::InputMode inputmode) const;
725 MCAPI
bool $getInvertYMouse(::InputMode inputMode) const;
727 MCAPI
float $getParticleViewDistance() const;
729 MCAPI
bool $getBobView() const;
731 MCAPI
float $getDamageBobStrength() const;
733 MCAPI
bool $getCameraShake() const;
735 MCAPI
bool $getHideEndFlash() const;
737 MCAPI
bool $getIsDitheringEnabledBlocks() const;
739 MCAPI
bool $getIsDitheringEnabledMobs() const;
741 MCAPI
void $setResetPlayerAlignment(
bool reset);
743 MCAPI
bool $getResetPlayerAlignment() const;
745 MCAPI ::GraphicsMode $getGraphicsMode() const;
747 MCAPI ::TargetRenderAPI $getTargetRenderAPI() const;
749 MCAPI
bool $getTransparentLeaves() const;
751 MCAPI
bool $getFancyBubbles() const;
753 MCAPI
bool $getSmoothLighting() const;
755 MCAPI
bool $getGuiAccessibilityScaling() const;
757 MCFOLD
bool $getUseMouseForDigging() const;
759 MCAPI
bool $isLeftHanded() const;
761 MCAPI
bool $isHotbarOnlyTouch() const;
763 MCAPI
bool $getDestroyVibration(::InputMode inputMode) const;
765 MCAPI
bool $getSplitVibration(::InputMode inputMode) const;
767 MCAPI
bool $getAutoJump(::InputMode inputMode) const;
769 MCAPI
void $setFullscreen(
bool fullscreen);
771 MCAPI
bool $getFullscreen() const;
773 MCAPI
void $toggleFullscreen();
775 MCAPI
void $setDifficulty(
int difficulty);
777 MCAPI
void $setHideGUI(
bool hideGUI);
779 MCAPI
bool $getHideHud() const;
781 MCAPI
bool $getHideHand() const;
783 MCAPI
void $setHideToolTips(
bool hideToolTips);
785 MCAPI
bool $getHideToolTips() const;
787 MCAPI
void $setHidePaperDoll(
bool hidePaperDoll);
789 MCAPI
bool $getHidePaperDoll() const;
791 MCAPI
void $setIngamePlayerNames(
bool useNameTag);
793 MCAPI
bool $getIngamePlayerNames() const;
795 MCAPI
void $setSplitscreenIngamePlayerNames(
bool useNameTag);
797 MCAPI
bool $getSplitscreenIngamePlayerNames() const;
799 MCAPI
void $setInterfaceOpacity(
float opacity);
801 MCAPI
float $getInterfaceOpacity() const;
803 MCAPI
void $setSplitscreenInterfaceOpacity(
float opacity);
805 MCAPI
float $getSplitscreenInterfaceOpacity() const;
807 MCAPI
void $setShowAutoSaveIcon(
bool ShowAutoSaveIcon);
809 MCAPI
bool $getShowAutoSaveIcon() const;
811 MCAPI
void $setSplitscreenDirection(
int splitScreenDirection);
813 MCAPI ::SplitScreenDirection $getSplitscreenDirection() const;
815 MCAPI
void $setHideScreens(
bool hideScreens);
817 MCAPI
bool $getHideScreens() const;
819 MCAPI
void $setHideItemInHand(
bool hideItemInHand);
821 MCAPI
bool $getHideItemInHand() const;
823 MCAPI
bool $getScreenAnimations() const;
825 MCAPI ::UIProfile $getUIProfile() const;
827 MCAPI
void $setForceUseUnsortedPolys(
bool renderUnsorted);
829 MCAPI
bool $getForceUseUnsortedPolys() const;
831 MCAPI
void $setRenderDebug(::DebugHudOptions renderDebug);
833 MCAPI ::DebugHudOptions $getRenderDebug() const;
835 MCFOLD
bool $getRemoteImguiEnabled() const;
837 MCFOLD
void $setRemoteImguiEnabled(
bool remoteImguiEnabled);
839 MCAPI
float $getGamma() const;
841 MCAPI
void $setMSAA(
int msaa);
843 MCAPI
void $setTexelAA(
bool texelAA);
845 MCAPI
void $setFixedCamera(
bool fixedCamera);
847 MCAPI
bool $getFixedCamera() const;
849 MCAPI
void $setSkinId(::std::
string const& skinId);
851 MCAPI ::std::
string const& $getSkinId() const;
853 MCAPI
void $setLastCustomSkinId(::std::
string const& lastCustomSkinId);
855 MCAPI ::std::
string const& $getLastCustomSkinId() const;
857 MCAPI
bool $getFovToggle() const;
859 MCAPI
void $setServerVisible(
bool serverVisible);
861 MCAPI
bool $getServerVisible() const;
863 MCAPI
void $setSplitControls(
bool splitControls);
865 MCAPI
bool $getSplitControls() const;
867 MCAPI
bool $getSwapJumpAndSneak() const;
869 MCAPI
bool $getFancySkies() const;
871 MCAPI
void $setRenderClouds(
bool renderClouds);
873 MCAPI
bool $getRenderClouds() const;
875 MCAPI
bool $getDevAutoLoadLevel() const;
877 MCAPI
bool $getDevAssertionsDebugBreak() const;
879 MCAPI
bool $getDevAssertionsShowDialog() const;
881 MCAPI
bool $getDevShowDisplayLoggedError() const;
883 MCAPI
bool $getDevShowDisplayLoggedError(::DisplayLoggedErrorType errortype) const;
885 MCAPI
void $setDevShowDevConsoleButton(
bool dev_showDevConsoleButton);
887 MCAPI
bool $getDevShowDevConsoleButton() const;
889 MCFOLD
bool $getDevIgnoreUserInput() const;
891 MCAPI
bool $getDevDisplayTreatmentPanel() const;
893 MCAPI
void $setDevDisplayTreatmentPanel(
bool dev_displayTreatmentPanel);
895 MCAPI
void $setDevShowMinecraftTCUIReplacement(
bool dev_showMinecraftTCUIReplacement);
897 MCAPI
bool $getDevShowMinecraftTCUIReplacement() const;
899 MCAPI
bool $getDevCreateRealmWithoutPurchase() const;
901 MCAPI
bool $getDevDisableConnectedStoragePush() const;
903 MCAPI
bool $getDevDisableConnectedStoragePull() const;
905 MCAPI
void $setDevFindMobs(
bool dev_findMobs);
907 MCAPI
bool $getDevFindMobs() const;
909 MCAPI
void $setDevRenderBoundingBoxes(
bool dev_renderBoundingBoxes);
911 MCAPI
bool $getDevRenderBoundingBoxes() const;
913 MCAPI
void $setDevRenderPaths(
bool dev_renderPaths);
915 MCAPI
bool $getDevRenderPaths() const;
917 MCAPI
void $setDevRenderMobInfoState(
bool dev_renderMobInfoState);
919 MCAPI
bool $getDevRenderMobInfoState() const;
921 MCAPI
void $setDevRenderGoalState(
bool dev_renderGoalState);
923 MCAPI
bool $getDevRenderGoalState() const;
925 MCAPI
void $setDevRenderSchedulerInfo(
bool dev_renderSchedulerState);
927 MCAPI
bool $getDevRenderSchedulerInfo() const;
929 MCAPI
void $setDevRenderCoordinateSystems(
bool dev_renderCoords);
931 MCAPI
bool $getDevRenderCoordinateSystems() const;
933 MCAPI
bool $getDevResetClientId() const;
935 MCAPI
void $setDevLogFlushImmediate(
bool dev_FlushLogOnWrite);
937 MCAPI
bool $getDevLogFlushImmediate() const;
939 MCAPI
void $setDevLogTimestamp(
bool dev_timestamp);
941 MCAPI
bool $getDevLogTimestamp() const;
943 MCAPI
void $setDevLogTrace(
bool dev_trace);
945 MCFOLD
bool $getDevLogTrace() const;
947 MCAPI
void $setDevLogArea(
bool dev_logArea);
949 MCAPI
bool $getDevLogArea() const;
951 MCAPI
void $setDevLogPriority(
bool dev_logPriority);
953 MCAPI
bool $getDevLogPriority() const;
955 MCFOLD
void $setDevLogThread(
bool dev_logThread);
957 MCFOLD
bool $getDevLogThread() const;
959 MCAPI
void $setDevLogAppend(
bool dev_append);
961 MCFOLD
bool $getDevLogAppend() const;
963 MCAPI
void $setDevLogProcessId(
bool enable);
965 MCAPI
bool $getDevLogProcessId() const;
967 MCFOLD
void $setDevLogThreadId(
bool enable);
969 MCFOLD
bool $getDevLogThreadId() const;
971 MCAPI
void $setDevLogMessageId(
bool enable);
973 MCAPI
bool $getDevLogMessageId() const;
975 MCAPI
void $setDevLogSilentLogging(
bool silent);
977 MCAPI
bool $getDevLogSilentLogging() const;
979 MCAPI
void $setDevLogPriorityFilter(::std::
string const& devFilter);
981 MCAPI ::std::
string const& $getDevLogPriorityFilter() const;
983 MCAPI
void $setDevLogAreaFilter(::std::
string const& devFilter);
985 MCAPI ::std::
string const& $getDevLogAreaFilter() const;
987 MCAPI
void $setDevGameEventRetentionTicks(ushort retentionTicks);
989 MCAPI ushort $getDevGameEventRetentionTicks() const;
991 MCAPI
void $setDevDeepDarkDebugRender(
bool render);
993 MCAPI
bool $getDevDeepDarkDebugRender() const;
995 MCAPI
bool $isLogCategoryEnabled(::BedrockLog::LogCategory category) const;
997 MCAPI
bool $getDevEnableProfilerOutput();
999 MCAPI
bool $getDevAddUsersSilently() const;
1001 MCAPI
int $getDevBenchmarkModeTime();
1003 MCAPI
bool $getDevDisableClientBlobCache() const;
1005 MCAPI
bool $getDevClientBlobCacheOnLocalServer() const;
1007 MCFOLD
void $setLogFlushDelay(
int delay_time);
1009 MCFOLD
int $getLogFlushDelay();
1011 MCFOLD
int $getAutomationParallelSlices() const;
1013 MCFOLD
int $getAutomationParallelCurrentSlice() const;
1015 MCFOLD
bool $getIsAutomationRun() const;
1017 MCFOLD
bool $getShouldQuitAppAfterTesting() const;
1019 MCFOLD
bool $shouldUploadTestArtifacts() const;
1021 MCFOLD
bool $hasAutomationTestRunTimedOut() const;
1023 MCFOLD
bool $hasAutomationTestRunReachedCrashLimit() const;
1025 MCFOLD
bool $shouldAppendDebugLogTimestamp() const;
1027 MCFOLD ::std::
string $getAutomationServerIp() const;
1029 MCFOLD ::std::
string $getAutomationServerPort() const;
1031 MCFOLD ::std::
string $getAutomationArtifactUploadSas() const;
1033 MCFOLD ::std::
string $getAutomationArtifactUploadUrl() const;
1035 MCFOLD ::std::
string $getAutomationRelativeBlobpath() const;
1037 MCFOLD ::std::
string $getAutomationFunctionalTestTags() const;
1039 MCFOLD ::std::
string $getAutomationServerTestTags() const;
1041 MCFOLD ::std::
string $getAutomationUnitTestTags() const;
1043 MCFOLD ::std::
string $getAutomationFunctionalBrokenTestTags() const;
1045 MCFOLD ::std::
string $getAutomationServerBrokenTestTags() const;
1047 MCFOLD ::std::
string $getAutomationUnitBrokenTestTags() const;
1049 MCFOLD ::std::
string $getAutomationTestBuildID() const;
1051 MCFOLD ::std::
string $getAutomationUploadToken() const;
1053 MCFOLD ::std::
string $getAutomationEnabledFeatures() const;
1055 MCFOLD ::std::
string $getAutomationEnabledExperiments() const;
1057 MCFOLD
bool $getAutomationShouldGroupServerTests() const;
1059 MCFOLD
bool $getAutomationUnrandomTestsEnabled() const;
1061 MCFOLD
bool $getAutomationRunEntireServerTestGroup() const;
1063 MCFOLD
bool $getAutomationRunServerTestAfterEachTest() const;
1065 MCFOLD ::std::
string const& $getTestBranchName() const;
1067 MCFOLD
bool $getFunctionalTestBlockInput() const;
1069 MCFOLD
bool $shouldBlockUserInput() const;
1071 MCAPI
bool $hasSetSafeZone() const;
1073 MCFOLD
bool $getAutomationDisableTreatmentPackDownloads() const;
1075 MCFOLD
bool $getAutomationProfilerCaptureEnabled() const;
1077 MCFOLD
bool $getAutomationProfilerFlipEnabled() const;
1079 MCFOLD
int $getAutomationRepeatCount() const;
1081 MCFOLD
int $getAutomationSoakTestRunDurationMinutes() const;
1083 MCFOLD
bool $getAutomationRerunFailuresOnly() const;
1085 MCFOLD
int $getAutomationUnitPerTestcaseTimeout() const;
1087 MCFOLD
int $getAutomationFunctionalPerTestcaseTimeout() const;
1089 MCFOLD
int $getAutomationServerPerTestcaseTimeout() const;
1091 MCFOLD
void $setAutomationFunctionalBrokenTestTags(::std::
string const& tags);
1093 MCFOLD
void $setAutomationUnitBrokenTestTags(::std::
string const& tags);
1095 MCFOLD
void $setAutomationUploadToken(::std::
string const& token);
1097 MCFOLD
bool $getDevAchievmentsAlwaysEnabled();
1099 MCFOLD
bool $shouldServerTestsLogWorlds() const;
1101 MCFOLD
bool $shouldServerTestsAssertOnLevelDiff() const;
1103 MCFOLD ::std::
string $getAutomationMultiplayerSessionName() const;
1105 MCFOLD
int $getAutomationMultiplayerDeviceIndex() const;
1107 MCFOLD ::std::vector<::std::
string> $getAutomationMultiplayerUserAccounts() const;
1109 MCAPI
int $getDevRenderAttachPos() const;
1111 MCAPI
void $setMultiPlayerGame(
bool multiPlayerGame);
1113 MCAPI
bool $getMultiPlayerGame() const;
1115 MCAPI
void $setXboxLiveVisible(
bool xboxLiveVisible);
1117 MCAPI
bool $wasLoggedInLastSession();
1119 MCAPI
void $setHasEverLoggedIntoXbl(
bool hasEverLoggedIntoXbl);
1121 MCAPI
bool $getHasEverLoggedIntoXbl() const;
1123 MCAPI
void $setHasShownFirstLaunchWelcomeModal(
bool hasShownModal);
1125 MCAPI
bool $getHasShownFirstLaunchWelcomeModal() const;
1127 MCAPI
void $setHasShownFirstSocialWelcomeModal(
bool hasShownModal);
1129 MCAPI
bool $getHasShownFirstSocialWelcomeModal() const;
1131 MCAPI
void $setDoNotShowFriendsListFTUE(
bool hasShownModal);
1133 MCAPI
bool $getDoNotShowFriendsListFTUE() const;
1135 MCAPI
void $setHasShownBannedModalAtStartup(
bool hasShownModal);
1137 MCAPI
bool $getHasShownBannedModalAtStartup() const;
1139 MCAPI
void $setAcknowledgedAutoSave(
bool acknowledgedAutoSave);
1141 MCAPI
bool $getAcknowledgedAutoSave() const;
1143 MCAPI
void $setRealmsInviteShowFriendsOption(
bool showFriendInvitesOnly);
1145 MCAPI
bool $getRealmsInviteShowFriendsOption() const;
1147 MCAPI
void $setNumberOfOwnedRealms(
int numberOfOwnedRealms);
1149 MCAPI
int $getNumberOfOwnedRealms() const;
1151 MCAPI
void $setNumberOfFriendsRealms(
int numberOfOwnedRealms);
1153 MCAPI
int $getNumberOfFriendsRealms() const;
1155 MCAPI
void $setCreateRealmUpsellCount(
int value);
1157 MCAPI
int $getCreateRealmUpsellCount() const;
1159 MCAPI
void $setSaveAndQuitCount(
int value);
1161 MCAPI
int $getSaveAndQuitCount() const;
1163 MCAPI
void $setIsRatingsPromptShown(
bool value);
1165 MCAPI
bool $getIsRatingsPromptShown() const;
1167 MCAPI
void $setShowRealmsTrialButtonFromPlayScreen(
bool value);
1169 MCAPI
bool $getShowRealmsTrialButtonFromPlayScreen() const;
1171 MCAPI ::AutoUpdateMode $getAutoUpdateMode() const;
1173 MCAPI
void $setCanUseCellularData(
bool useNetworkData);
1175 MCAPI
bool $getCanUseCellularData() const;
1177 MCAPI
int $getPlayerViewPerspective() const;
1179 MCAPI
void $setRequireWebsocketEncryption(
bool require);
1181 MCAPI
bool $getRequireWebsocketEncryption() const;
1183 MCAPI
void $setWebsocketsEnabled(
bool enabled);
1185 MCAPI
bool $getWebsocketsEnabled() const;
1187 MCAPI
void $setUseIPv6Only(
bool useIPv6Only);
1189 MCAPI
bool $getUseIPv6Only() const;
1191 MCAPI
void $setUseRetailXboxSandbox(
bool const retail);
1193 MCAPI
bool $getUseRetailXboxSandbox() const;
1195 MCAPI
void $setXboxLiveSandbox(::XboxSandboxEnvironment environment);
1197 MCAPI ::std::
string const& $getXboxLiveSandbox() const;
1199 MCAPI
void $setRealmsEnvironment(::RealmsEnvironment realmsEnvironment);
1201 MCAPI ::RealmsEnvironment $getRealmsEnvironment() const;
1203 MCAPI
void $setRealmsEndpoint(::std::
string const& realmsEndpoint);
1205 MCAPI ::std::
string const& $getRealmsEndpoint() const;
1207 MCAPI ::std::
string const& $getRealmsV2Endpoint() const;
1209 MCAPI
void $setRealmsEndpointPayment(::std::
string const& realmsEndpointPayment);
1211 MCAPI ::std::
string const& $getRealmsEndpointPayment() const;
1213 MCAPI
void $setRealmsRelyingParty(::std::
string const& realmsRelyingParty);
1215 MCAPI ::std::
string const& $getRealmsRelyingParty() const;
1217 MCAPI
void $setRealmsRelyingPartyPayment(::std::
string const& realmsRelyingPartyPayment);
1219 MCAPI ::std::
string const& $getRealmsRelyingPartyPayment() const;
1221 MCAPI
void $setStoreHasPurchasedCoins(
bool value);
1223 MCAPI
bool $getStoreHasPurchasedCoins() const;
1225 MCAPI
void $setShowUnfulfilledPurchaseModal(
bool value);
1227 MCAPI
bool $getShowUnfulfilledPurchaseModal() const;
1229 MCAPI
void $setSwitchCoinDebug(
bool value);
1231 MCAPI
bool $getSwitchCoinDebug() const;
1233 MCAPI
void $setEduHasLoggedIn(
bool hasEduLoggedIn);
1235 MCAPI
bool $getEduHasLoggedIn() const;
1237 MCAPI
void $setShownPlatformNetworkConnectConfirmation(
bool value);
1239 MCAPI
bool $getShownPlatformNetworkConnectConfirmation() const;
1241 MCAPI
void $setShownPlatformPremiumUpsell(
bool value);
1243 MCAPI
bool $getShownPlatformPremiumUpsell() const;
1245 MCAPI
void $setAppLaunchedCount(
int value);
1247 MCAPI
int $getAppLaunchedCount() const;
1249 MCAPI
void $setEcoMode(
bool value);
1251 MCAPI
bool $getEcoMode() const;
1253 MCAPI
void $setEduCloudBackupToggle(
bool cloudBackup);
1255 MCAPI
bool $getEduCloudBackupToggle() const;
1257 MCAPI
void $setUseFontOverrides(
bool value);
1259 MCAPI
bool $getUseFontOverrides() const;
1261 MCAPI ::NewInteractionModel $getEffectiveTouchScheme() const;
Definition BaseOptions.h:5
static MCAPI void ** $vftable()