3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/certificates/identity/PlayerAuthenticationType.h"
7#include "mc/client/game/ClientGameSetupResult.h"
8#include "mc/client/game/ClientInstanceState.h"
9#include "mc/client/game/ControlOptionType.h"
10#include "mc/client/game/DiskStatus.h"
11#include "mc/client/game/IClientInstance.h"
12#include "mc/client/game/IConnectionContextEvents.h"
13#include "mc/client/gui/GameEventNotification.h"
14#include "mc/client/gui/SceneType.h"
15#include "mc/client/gui/StoreNavigationOrigin.h"
16#include "mc/client/gui/screens/controllers/InventoryTabIndex.h"
17#include "mc/client/gui/screens/controllers/MarketplacePassTabIndex.h"
18#include "mc/client/gui/screens/models/PlayScreenDefaultTab.h"
19#include "mc/client/options/SplitScreenDirection.h"
20#include "mc/client/persona/IPersonaClientProvider.h"
21#include "mc/client/social/MultiplayerServiceIdentifier.h"
22#include "mc/client/social/connection/UIReturnTarget.h"
23#include "mc/client/store/StoreErrorCodes.h"
24#include "mc/client/util/ClipboardProxy.h"
25#include "mc/common/SubClientId.h"
26#include "mc/deps/core/file/LevelStorageState.h"
27#include "mc/deps/core/file/PathBuffer.h"
28#include "mc/deps/core/file/StorageAreaStateListener.h"
29#include "mc/deps/core/threading/Async.h"
30#include "mc/deps/core/utility/NonOwnerPointer.h"
31#include "mc/deps/core/utility/UniqueOwnerPointer.h"
32#include "mc/deps/core_graphics/math/Rect.h"
33#include "mc/deps/game_refs/OwnerPtr.h"
34#include "mc/deps/input/InputMode.h"
35#include "mc/deps/input/PointerType.h"
36#include "mc/deps/input/enums/WYSIWYGState.h"
37#include "mc/deps/minecraft_renderer/renderer/TexturePtr.h"
38#include "mc/deps/renderer/MatrixStack.h"
39#include "mc/events/NetworkType.h"
40#include "mc/input/ClientPlayMode.h"
41#include "mc/network/connection/DisconnectFailReason.h"
42#include "mc/options/option_types/OptionID.h"
43#include "mc/platform/brstd/function_ref.h"
44#include "mc/util/ProfanityFilterContext.h"
45#include "mc/world/GameCallbacks.h"
46#include "mc/world/actor/bhave/BehaviorStatus.h"
47#include "mc/world/actor/player/PlayerListener.h"
48#include "mc/world/level/GameType.h"
118class MarketplaceServicesManager;
142class StoreCatalogItem;
143class StoreCatalogRepository;
169namespace Bedrock::Http {
class Status; }
171namespace Core {
class Path; }
175namespace OreUI {
class Router; }
178namespace Realms {
struct World; }
184namespace Social {
class User; }
187namespace mce {
class Camera; }
188namespace mce {
class Texture; }
200 public ::std::enable_shared_from_this<::ClientInstance> {
215 ::ll::TypedStorage<8, 8, ::mce::Texture*> mUITexture;
216 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mUICursorTexture;
224 ::ll::UntypedStorage<8, 8> mUnkff7778;
225 ::ll::UntypedStorage<8, 8> mUnk241918;
226 ::ll::UntypedStorage<1, 1> mUnkb9c8a1;
227 ::ll::UntypedStorage<8, 8> mUnk4fdef3;
228 ::ll::UntypedStorage<8, 64> mUnk4fd828;
229 ::ll::UntypedStorage<8, 64> mUnk738e7f;
230 ::ll::UntypedStorage<8, 64> mUnk525e8f;
235 ClientDestroyBlockState& operator=(ClientDestroyBlockState
const&);
236 ClientDestroyBlockState(ClientDestroyBlockState
const&);
237 ClientDestroyBlockState();
400 virtual void onInitMinecraftGame() ;
402 virtual void onDestroyMinecraftGame() ;
406 virtual void initSceneFactory(
407 ::std::unique_ptr<::SceneFactory> sceneFactory,
408 ::std::unique_ptr<::OreUI::SceneProvider> sceneProvider
411 virtual void setUiRouter(::std::unique_ptr<::OreUI::Router> uiRouter) ;
413 virtual void initGraphics() ;
415 virtual void stop() ;
417 virtual void preShutDown() ;
421 virtual ::std::optional<::Social::GameConnectionInfo> getGameConnectionInfo() ;
423 virtual void onStartJoinGame(
425 ::std::string
const& multiplayerCorrelationId,
426 ::std::string
const& serverName,
427 ::std::string
const& worldName,
428 ::NetworkType networkType,
429 ::Social::MultiplayerServiceIdentifier service,
433 virtual void onStartLocalServer(::std::string
const& worldName) ;
435 virtual void onCancelJoinGame() ;
437 virtual void requestLeaveGameAsync() ;
439 virtual void requestLeaveGame(
bool switchScreen,
bool sync) ;
441 virtual void stopPlayScreen() ;
443 virtual bool isLeaveGameDone() const ;
445 virtual
void setupPlayScreenForLeaveGame() ;
447 virtual
void preCacheOutOfGameViews() ;
449 virtual
void resetPrimaryClient() ;
451 virtual
void resetGameSession() ;
453 virtual
void tick() ;
457 virtual
void preFrameTick() ;
459 virtual
bool update(
bool isInitFinished,
bool allowGameUpdate) ;
461 virtual
void endFrame() ;
463 virtual
float getFrameAlpha() ;
465 virtual
void startSubClientLateJoin(
466 bool hasXBLBroadcast,
471 virtual ::Bedrock::Threading::Async<::ClientGameSetupResult> setupClientGame(
472 bool joiningLocalServer,
481 virtual
void setupPrimaryClientEditorManager() ;
483 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> getLocalEditorPlayer() const ;
485 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorManager> getEditorManager() const ;
487 virtual
bool isPlayerInEditor() const ;
493 virtual ::
Actor* getCameraActor() const ;
495 virtual
void setCameraActor(::
Actor* cameraActor) ;
499 virtual ::
Actor* getCameraTargetActor() const ;
501 virtual
void setCameraTargetActor(::
Actor* cameraTargetActor) ;
510 virtual ::
HitResult const& getLatestHitResult() const ;
512 virtual
bool isLeavingGame() const ;
514 virtual
bool isDestroyingGame() const ;
516 virtual
bool isShuttingDown() const ;
518 virtual
bool useLowFrequencyUIRender() const ;
520 virtual
bool isSplitScreenActive() const ;
522 virtual
bool isExitingLevel() const ;
524 virtual
bool isInBedScreen() const ;
526 virtual
bool isInDeathScreen() const ;
528 virtual
bool isKeyboardEnabled() const ;
530 virtual
bool hasCommands() const ;
532 virtual
int getSplitScreenCount() const ;
534 virtual
bool isShowingLoadingScreen() const ;
536 virtual
bool shouldDisconnectOnAppSuspended() const ;
538 virtual
bool isGamePlayTipsEnabled() const ;
540 virtual
bool isPlatformNX() const ;
542 virtual
bool isLocalSplitscreenWith(::
ActorUniqueID const&
id) const ;
544 virtual
bool isValidCrossPlatformSkin(
bool valueIfNull) const ;
546 virtual
bool isSelectedSkinInitialized() const ;
550 virtual
bool getHandlingControllerDisconnect() ;
552 virtual
void setOpenControllerDisconnectScreen(
bool open) ;
554 virtual ::ClientPlayMode getClientPlayMode() const ;
556 virtual
void setClientPlayMode(::ClientPlayMode const& mode) ;
558 virtual ::
std::function<
void()> getCreditsCallback() ;
560 virtual
void setCreditsCallback(::
std::function<
void()> callback) ;
562 virtual
void setupTransitionForCredits(::
std::function<
void()> callback) ;
564 virtual
void refreshScreenSizeData() ;
566 virtual
void onScreenSizeChanged(
int width,
int height) ;
568 virtual
void onGuiScaleOffsetChanged() ;
570 virtual
void onSafeZoneChanged() ;
572 virtual
bool hasDismissedNewPlayerFlow() const ;
574 virtual
void quit(::
std::
string const& src, ::
std::
string const& reason) ;
580 virtual ::World::WorldSystem& getWorldSystem() const ;
582 virtual
bool isWorldSystemReady() const ;
584 virtual ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient> getAutomationClient() const ;
586 virtual ::Bedrock::NonOwnerPointer<::
EduSystems> getEduSystems() ;
588 virtual ::Bedrock::NonOwnerPointer<::
EduSystems const> getEduSystems() const ;
596 virtual ::
FontHandle getRuneFontHandle() const ;
598 virtual ::
FontHandle getUnicodeFontHandle() const ;
600 virtual ::Bedrock::NotNullNonOwnerPtr<::
GeometryGroup> getGeometryGroup() const ;
602 virtual ::Bedrock::NotNullNonOwnerPtr<::
BlockCullingGroup> getBlockCullingGroup() const ;
604 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> getMultiplayerServiceManager() const
613 virtual ::Bedrock::NotNullNonOwnerPtr<::
IContentKeyProvider const> getKeyProvider() const ;
615 virtual ::
PacksInfoData const& getHostSpecifiedPacks() const ;
621 virtual ::MarketplaceServicesManager& getMarketplaceServicesManager() const ;
625 virtual ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> getStoreCatalogRepository() ;
627 virtual ::
std::shared_ptr<::mce::TextureGroup> getTextureGroup() const ;
629 virtual ::Bedrock::NotNullNonOwnerPtr<::mce::TextureGroup> getStoreCacheTextures() const ;
631 virtual ::Bedrock::NotNullNonOwnerPtr<::
MinecraftGraphics> getMinecraftGraphics() const ;
633 virtual ::Bedrock::NotNullNonOwnerPtr<::
IUIRepository> getUIRepository() const ;
635 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> getUserManager() const ;
637 virtual ::Bedrock::NotNullNonOwnerPtr<::
TrialManager> getTrialManager() const ;
639 virtual
bool wantToQuit() const ;
641 virtual
bool isPrimaryLevelCrossPlatformMultiplayer() const ;
643 virtual
bool isPrimaryLevelMultiplayer() const ;
645 virtual
bool isAdhocEnabled() const ;
649 virtual
bool isMarketplaceDisabled() const ;
651 virtual ::
std::pair<::StoreErrorCodes, ::
std::
string> const getMarketplaceDisabledReasonWithErrorCode() const
654 virtual
void linkToOffer(::
std::
string const& productId,
bool allowWhileInGame) ;
656 virtual
void linkToPage(::
std::
string const& pageId) ;
658 virtual
void linkTo3PServerOffers(::
std::
string const& pageId, ::
std::
string const& creatorName) ;
660 virtual
void navigateToMarketplaceInventoryScreen(::InventoryTabIndex tabIndex) ;
662 virtual
void navigateToStoreHomeScreen() ;
664 virtual
void navigateToCoinPurchaseScreen(
int neededCoins, ::
std::function<
void(
bool,
int)> callback) ;
666 virtual
void navigateToPurchaseOfferScreen(::StoreCatalogItem& item, ::StoreNavigationOrigin) ;
668 virtual
void navigateToDressingRoomOfferScreen(::
std::
string const& offerId) ;
670 virtual
bool navigateToProfileScreen(::
std::
string const&,
bool const preventProgressScreen) ;
672 virtual
void navigateToServersScreen(
bool const calledFromHyperlink) ;
674 virtual
void navigateToHowToPlayScreen(::
std::
string const& startTopic) ;
676 virtual
void navigateToMarketplacePassPDPScreen(::MarketplacePassTabIndex tabIndex) ;
678 virtual
void navigateToRealmsStoriesTransitionScreen(::Realms::World const& world) ;
680 virtual
void tryPushLeaveGameScreen() ;
682 virtual
void tryStartDayOneExperience() ;
684 virtual
bool isReadyToRender() const ;
686 virtual
void onDimensionChangedEvent() ;
688 virtual
void onGameEventNotification(::ui::GameEventNotification notification) ;
690 virtual ::
std::
string getTopScreenName() const ;
692 virtual
void setLeaveGameInProgressAsReadyToContinue() ;
694 virtual
void stopDestroying() ;
696 virtual
void onClientCreatedLevel(
703 virtual
void createPlayerAuthentication() ;
705 virtual
void createPlayerAuthentication(uint64 clientRandomId) ;
707 virtual ::
std::
string getPlatformId() const ;
709 virtual ::
std::
string getPlatformOnlineId() const ;
711 virtual
bool useController() const ;
713 virtual
bool useTouchscreen() const ;
715 virtual
bool getMouseGrabbed() const ;
717 virtual
bool currentInputModeIsMouseAndKeyboard() const ;
719 virtual
bool allowPicking() const ;
721 virtual
bool isShowingMenu() const ;
723 virtual
bool isShowingPauseScreen() const ;
725 virtual
bool isShowingProgressScreen() const ;
727 virtual
bool isShowingWorldProgressScreen() const ;
729 virtual
bool isShowingRealmsProgressScreen() const ;
731 virtual
bool isShowingDeathScreen() const ;
733 virtual
bool isShowingServerForm() const ;
735 virtual
bool isScreenReplaceable() const ;
737 virtual
bool isInWorldAndNotShowingAnyMenuScreens() const ;
739 virtual
bool isWorldActive() const ;
741 virtual
bool isInRealm() ;
743 virtual
bool readyForShutdown() const ;
745 virtual
bool isPrimaryClient() const ;
747 virtual
bool isEduMode() const ;
749 virtual
bool isGamepadCursorEnabled() const ;
751 virtual
bool isInControlCustomization() const ;
753 virtual ::Bedrock::NotNullNonOwnerPtr<::
Minecraft> getServerData() ;
755 virtual ::Bedrock::NotNullNonOwnerPtr<::
Minecraft const> getServerData() const ;
761 virtual
bool hasLevel() const ;
763 virtual
bool isPreGame() const ;
765 virtual
bool isInMultiplayerGame() const ;
767 virtual
bool isMultiPlayerClient() const ;
779 virtual ::
std::shared_ptr<::Social::User> const& getUser() const ;
781 virtual ::
std::shared_ptr<::Settings::IRegistry> getSettingsRegistry() ;
783 virtual ::
Option const& getShowLearningPromptsOption() const ;
785 virtual ::
Option& getShowControlTipsOption() ;
787 virtual ::
Option& getShowControlTipsOverrideOption() ;
789 virtual
double getControlTipsTimeElapsed() const ;
791 virtual
void setControlTipsTimeElapsedStart() ;
799 virtual ::Bedrock::NonOwnerPointer<::
CameraRegistry> getCameraRegistry() ;
801 virtual ::Bedrock::NonOwnerPointer<::
CameraRegistry const> getCameraRegistry() const ;
803 virtual ::Bedrock::NonOwnerPointer<::
EntitySystems> getCameraSystems() ;
809 virtual ::mce::ViewportInfo const& getViewportInfo() const ;
811 virtual
void setViewportInfo(::mce::ViewportInfo const& viewportInfo) ;
813 virtual ::
Vec2 getNormalizedViewportSize() const ;
815 virtual
void updateChunkRadius() ;
817 virtual
void setUITexture(::mce::Texture* tex) ;
819 virtual ::mce::Texture* getUITexture() ;
821 virtual
void setLevelTexture(::mce::Texture* tex) ;
823 virtual ::mce::Texture* getLevelTexture() ;
825 virtual
void setUICursorTexture(::mce::TexturePtr tex) ;
827 virtual ::mce::TexturePtr getUICursorTexture() const ;
829 virtual ::mce::Camera& getCamera() ;
835 virtual
void clearGraphicsCache() ;
838 getNormalizedUICursorTransform(::
MatrixStack::MatrixStackRef& matrix,
float cursorHalfSizeTexels) ;
840 virtual
bool shouldRenderUICursor() const ;
842 virtual
bool getRenderPlayerModel() const ;
846 virtual
float getGuiScale() const ;
848 virtual ::
Option const& getGuiScaleOption() const ;
850 virtual
int getGuiScaleOffset() const ;
852 virtual
void setGuiScaleOffset(
int guiScale) ;
854 virtual
void renderImGui(::
ScreenContext& screenContext,
bool drawMenuBar) ;
856 virtual ::Bedrock::NotNullNonOwnerPtr<::
GuiData> getGuiData() ;
858 virtual ::Bedrock::NotNullNonOwnerPtr<::
GuiData const> getGuiData() const ;
862 virtual ::
PixelCalc const& getDpadScale() const ;
864 virtual ::Bedrock::NotNullNonOwnerPtr<::
DateManager const> getDateManager() const ;
866 virtual
void addOverrideHoursToDateTime(uint const hoursToAdd) ;
870 virtual ::
ClipboardProxy<::ApplicationSignal::ClipboardCopy, ::ApplicationSignal::ClipboardPasteRequest>&
871 getClipboardManager() ;
883 virtual ::OreUI::SceneProvider& getSceneProvider() const ;
885 virtual ::ui::ScreenTechStackSelector& getScreenTechStackSelector() ;
887 virtual ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack const> getClientSceneStack() const ;
889 virtual ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack> getClientSceneStack() ;
891 virtual ::OreUI::Router& getClientUIRouter() const ;
893 virtual ::
ISceneStack& getMainSceneStackInterface() ;
895 virtual ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack> getMainSceneStack() ;
897 virtual ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack const> getMainSceneStack() const ;
899 virtual ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack const> getCurrentSceneStack() const ;
901 virtual ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack> getCurrentSceneStack() ;
903 virtual ::OreUI::Router& getCurrentUIRouter() ;
905 virtual ::OreUI::Router const& getCurrentUIRouter() const ;
907 virtual ::OreUI::ITelemetry& getOreUITelemetry() ;
909 virtual ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack> prepareSceneFor(
910 ::ui::SceneType const sceneTypeToFind,
916 virtual ::
std::
string getScreenName() const ;
918 virtual ::
std::
string getScreenTelemetry() const ;
920 virtual ::ui::SceneType getTopSceneType() const ;
924 virtual ::
std::
string emoticonifyText(::
std::
string const& text) const ;
926 virtual ::
std::
string emoticonifyText(::
std::
string const& text,
bool isGameTip) ;
928 virtual
void onMobEffectsChange() ;
930 virtual
void setUISize(
int w,
int h) ;
932 virtual
void forEachVisibleScreen(::brstd::function_ref<
void(::
AbstractScene&)> callback) ;
934 virtual
void forEachScreen(::brstd::function_ref<
bool(::
AbstractScene&)> callback,
bool topDown) ;
936 virtual
void forEachScreenConst(::brstd::function_ref<
bool(::
AbstractScene const&)> callback,
bool topDown) const
939 virtual
bool updateSceneStack() ;
941 virtual
void forEachAlwaysAcceptInputScreen(
946 virtual
void forEachAlwaysAcceptInputScreenWithTop(::
std::function<
void(::
AbstractScene&)> callback) ;
948 virtual
void showPlayerProfile(::
std::
string const& xuid, ::
std::
string const& platformId) ;
950 virtual
bool isInGameInputEnabled() const ;
952 virtual
void setInGameInputEnabled(
bool isEnabled) ;
954 virtual ::
Vec2 getSafeZoneScale() const ;
956 virtual
void verifySkinApproval(
957 ::
std::function<
void(::
std::
string)> const& notApprovedCallback,
958 ::
std::function<
void()> const& approvedCallback
961 virtual ::InputMode getCurrentInputMode() const ;
963 virtual
bool isTouchGameplayAllowed() const ;
969 virtual
void setLastPointerLocation(
float x,
float y,
float z) ;
971 virtual
void clearTouchPointerLocations() ;
973 virtual
void clearTouchPointerLocation(
int id) ;
975 virtual
void updateTouchPointerLocation(
int id,
float x,
float y) ;
977 virtual ::
Vec3 getLastPointerLocation() ;
979 virtual ::
Vec2 getTouchPointerLocation(
int id) const ;
981 virtual
void updateActionPointerId(
int id) ;
983 virtual
int getActionPointerId() const ;
985 virtual
bool shouldUseLastPointerLocationOnFocusChange() ;
987 virtual
bool currentScreenShouldStealMouse() ;
997 virtual ::glm::vec2 getGamepadCursorPosition() const ;
999 virtual
void updateControlOptionState(uint
id,
bool active) ;
1001 virtual
void clearActiveControlOptions() ;
1003 virtual ::
std::set<uint> const& getActiveControlOptions() const ;
1005 virtual ::
std::vector<::OptionID> getActiveOptionIDs(::ControlOptionType controlOptionType) const ;
1007 virtual
void setNumberOfActiveConfigs(
int numberOfActiveConfigs) ;
1009 virtual
int getNumberOfActiveConfigs() const ;
1011 virtual
bool isNoConfigSelected() const ;
1013 virtual
void setNumberOfEnabledConfigs(
int numberOfEnabledConfigs) ;
1015 virtual
int getNumberOfEnabledConfigs() const ;
1017 virtual
void setWYSIWYGState(::WYSIWYGState wysiwygState) ;
1019 virtual ::WYSIWYGState getWYSIWYGState() const ;
1021 virtual
void setOtherConfigsExistInThisCategory(
bool otherConfigsExistInThisCategory) ;
1023 virtual
bool getOtherConfigsExistInThisCategory() const ;
1027 virtual
void setupPersistentControls(::InputMode currentMode) ;
1029 virtual
void resetPlayerMovement() ;
1031 virtual
void onClientInputInitComplete() ;
1037 virtual
int getControllerId() const ;
1039 virtual
bool hasConnectedController() const ;
1041 virtual ::SubClientId getClientSubId() const ;
1043 virtual
void setSuspendInput(
bool suspendInput) ;
1045 virtual
void setSuspendDirectionalInput(
bool suspendDirectionalInput) ;
1047 virtual
void setDisableInput(
bool disableInput) ;
1049 virtual
void grabMouse() ;
1051 virtual
void releaseMouse() ;
1053 virtual
void refocusMouse(
bool lostMouse) ;
1055 virtual
void setMouseType(::Bedrock::Input::PointerType type) ;
1057 virtual
void resetBai(
int baiFlags) ;
1059 virtual
void clearInProgressBAI() ;
1061 virtual ::Bedrock::NotNullNonOwnerPtr<::
SoundEngine> getSoundEngine() const ;
1063 virtual ::
MusicManager const* getMusicManager() const ;
1065 virtual ::
MusicManager* getMusicManagerNonConst() const ;
1067 virtual
void play(::
std::
string const& name, ::
Vec3 const& pos,
float volume,
float pitch) ;
1069 virtual
void playUI(::
std::
string const& name,
float volume,
float pitch) ;
1071 virtual
void muteAudio() ;
1073 virtual
void unMuteAudio() ;
1075 virtual
void fadeOutMusic() const ;
1079 virtual
void onFullVanillaPackOnStack() ;
1081 virtual
bool isFullVanillaPackOnStack() const ;
1083 virtual
void onPlayerLoaded(::
Player& player) ;
1085 virtual
void setClientGameMode(::GameType gameType) ;
1087 virtual
void resetToDefaultGameMode() ;
1091 virtual
void connectToThirdPartyServer(::
std::
string const& ipAddress,
int port) ;
1093 virtual
void startExternalNetworkWorld(
1094 ::Social::GameConnectionInfo connection,
1095 ::
std::
string const& serverName,
1099 virtual
bool isReadyToReconnect() const ;
1101 virtual
bool checkForPiracy() ;
1103 virtual
void updateChatFilterStatus(::
ProfanityContext& profanityContext) ;
1105 virtual
void updateControllerHandling() ;
1107 virtual
void onPlayerDestruction(::
Player& player) ;
1110 setBehaviorCommandCallback(::
std::function<
void(::
std::
string const&, ::BehaviorStatus)> callback) ;
1112 virtual
void setBehaviorCommandStatus(::
std::
string const& treeName, ::BehaviorStatus status) ;
1114 virtual
void setConnectGamepadScreenActive(
bool active) ;
1116 virtual ::Bedrock::Threading::Async<::Core::PathBuffer<::
std::
string>>
1119 virtual ::Bedrock::NotNullNonOwnerPtr<::
DevConsoleLogger> getDevConsoleLogger() const ;
1122 ::
std::
string const& imageUrl,
1123 ::
std::function<
void(::Bedrock::Http::Status, ::Core::
Path const&, uint64)> callback
1126 virtual
void setActiveFileStorageArea(::
std::shared_ptr<::Core::FileStorageArea> storageArea) ;
1128 virtual
void onExtendDiskSpace(
1130 ::
std::weak_ptr<::Core::FileStorageArea> const& storageAreaWeakPtr,
1132 ::
std::function<
void()> onHandledEventCallback
1135 virtual
void onLowDiskSpace(
bool const bSet, uint64 freeSpace) ;
1137 virtual
void onOutOfDiskSpace(
bool const bSet, uint64 freeSpace) ;
1139 virtual
void onCriticalDiskError(
bool const bSet, ::Core::LevelStorageState const& errorCode) ;
1141 virtual
void onLevelCorrupt() ;
1143 virtual
void onGameModeChanged() ;
1145 virtual
void onBeforeSimTick() ;
1147 virtual
void onTick(
int nTick,
int maxTick) ;
1149 virtual
void onInternetUpdate() ;
1151 virtual
void onGameSessionReset() ;
1153 virtual
void onLevelExit() ;
1155 virtual
void onRequestResourceReload() ;
1157 virtual
void updateScreens() ;
1159 virtual
void initializeRenderResources() ;
1161 virtual
void postInitRenderResources() ;
1163 virtual
void onAppSuspended() ;
1165 virtual
void onAppResumed() ;
1167 virtual
void onActiveResourcePacksChanged(
1171 virtual
void reloadEntityRenderers(
1189 virtual ::
std::deque<::
std::
string>& getSentMessageHistory() ;
1191 virtual ::
std::deque<::
std::
string>& getDevConsoleMessageHistory() ;
1193 virtual ::Bedrock::NotNullNonOwnerPtr<::
ProfanityContext> getProfanityContext() const ;
1203 virtual
void addTTSMessage(
1204 ::
std::
string const& message,
1205 ::ProfanityFilterContext profanityFilterContext,
1207 ::
std::
string const& interruptibleId,
1209 bool disregardAppFocus
1212 virtual
void initCommands() ;
1214 virtual uint getUserId() const ;
1216 virtual
bool isPrimaryUser() const ;
1218 virtual
double getServerConnectionTime() const ;
1220 virtual
void setServerPingTime(::
std::chrono::milliseconds pingTime) ;
1222 virtual ::
std::chrono::milliseconds getServerPingTime() const ;
1224 virtual
void setDefaultPlayscreenTab(::PlayScreenDefaultTab defaultTab) ;
1226 virtual
void setClientInstanceState(::ClientInstanceState const& newstate) ;
1228 virtual
void setUIEventCoordinator(::Bedrock::UniqueOwnerPointer<::
UIEventCoordinator>&& coordinator) ;
1230 virtual ::Bedrock::NotNullNonOwnerPtr<::
UIEventCoordinator> getUIEventCoordinator() ;
1238 virtual ::
std::chrono::steady_clock::time_point getNoBlockBreakUntil() ;
1240 virtual
void setNoBlockBreakUntil(::
std::chrono::steady_clock::time_point timePoint) ;
1246 virtual
void setupStandardCommands() ;
1250 virtual
void sendClientEnteredLevel() ;
1254 virtual
bool isPlaying() const ;
1256 virtual ::ClientInstanceState getClientInstanceState() const ;
1260 virtual ::PlayerCapabilities::IClientController const& getClientCapabilities() const ;
1262 virtual ::cg::math::Rect<
float> calculateViewPortModifiers(
1263 ::SubClientId const clientId,
1264 uint64 const clientCount,
1265 ::SplitScreenDirection const splitScreenConfiguration
1272 virtual ::Bedrock::NotNullNonOwnerPtr<::
FogDefinitionRegistry const> getFogDefinitionRegistry() const ;
1276 virtual ::Bedrock::NotNullNonOwnerPtr<::
FogManager const> getFogManager() const ;
1278 virtual ::Bedrock::NotNullNonOwnerPtr<::
FogManager> getFogManager() ;
1287 virtual
float getRemoteServerTimeMs() const ;
1289 virtual
void setRemoteServerTimeMs(
float time) ;
1291 virtual
float getRemoteServerNetworkTimeMs() const ;
1293 virtual
void setRemoteServerNetworkTimeMs(
float time) ;
1297 virtual ::Scripting::ScriptEngine* getScriptingEngine() ;
1299 virtual ::Bedrock::NonOwnerPointer<::
WorldTransferAgent> const getWorldTransferAgent() const ;
1305 virtual
void flagDisconnectionAndNotify(::Connection::DisconnectFailReason disconnectReason) ;
1309 virtual
void disconnectSubClient(::Connection::DisconnectFailReason disconnectReason) ;
1311 virtual
void setClientUpdateAndRenderThrottling(
bool enabled,
int threshold,
float scalar) ;
1313 virtual
bool isClientUpdateAndRenderThrottlingEnabled() const ;
1315 virtual
int getClientUpdateAndRenderThrottlingThreshold() const ;
1317 virtual
float getClientUpdateAndRenderThrottlingScalar() const ;
1319 virtual
bool isUserBanned() const ;
1321 virtual
bool isEligibleForPauseFeature() const ;
1323 virtual
void setupPauseManagers() ;
1325 virtual
bool requestInGamePause(
bool status) ;
1327 virtual
void openContentLogHistory() ;
1329 virtual
double getGameUpdateDurationInSeconds() const ;
1333 virtual ::Bedrock::NonOwnerPointer<::
PersonaClient> tryGetPersonaClient() const ;
1342 ::Connection::DisconnectFailReason failReason,
1343 ::
std::
string const& titleMessage,
1344 ::
std::
string const& errorMessage,
1345 ::
std::
string const& codeword
1357 ::Connection::DisconnectFailReason reason,
1358 ::
std::
string const& telemetryMessage,
1359 ::
std::
string const& errorDescriptionOverride
1364 MCAPI
void _requestLeaveGameImpl(
bool const switchScreen,
bool const sync);
1368 MCAPI
void _startLeaveGame();
1377 _tickBuildAction(::
HitResult const& solidHitResult_, ::
HitResult const& liquidHitResult_,
bool advanceTime);
1385 ::Connection::UIReturnTarget uiReturnTarget
1409 ::
std::unique_ptr<::OreUI::SceneProvider> sceneProvider
1424 MCAPI
void $onStartJoinGame(
1426 ::
std::
string const& multiplayerCorrelationId,
1427 ::
std::
string const& serverName,
1428 ::
std::
string const& worldName,
1429 ::NetworkType networkType,
1430 ::Social::MultiplayerServiceIdentifier service,
1436 MCAPI
void $onCancelJoinGame();
1460 MCAPI
bool $update(
bool isInitFinished,
bool allowGameUpdate);
1467 bool hasXBLBroadcast,
1473 bool joiningLocalServer,
1574 MCNAPI
void $quit(::
std::
string const& src, ::
std::
string const& reason);
1837 MCAPI
bool $shouldRenderUICursor() const;
1853 MCAPI ::Bedrock::NotNullNonOwnerPtr<::
GuiData> $getGuiData();
1855 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::
GuiData const> $getGuiData() const;
1867 MCNAPI ::
ClipboardProxy<::ApplicationSignal::ClipboardCopy, ::ApplicationSignal::ClipboardPasteRequest>&
1896 MCAPI ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack const> $getCurrentSceneStack() const;
1898 MCAPI ::Bedrock::NotNullNonOwnerPtr<::
ISceneStack> $getCurrentSceneStack();
1900 MCAPI ::OreUI::Router& $getCurrentUIRouter();
1902 MCNAPI ::OreUI::Router const& $getCurrentUIRouter() const;
1907 ::ui::SceneType const sceneTypeToFind,
2045 MCAPI
void $grabMouse();
2063 MCNAPI
void $play(::
std::
string const& name, ::
Vec3 const& pos,
float volume,
float pitch);
2065 MCNAPI
void $playUI(::
std::
string const& name,
float volume,
float pitch);
2079 MCAPI
void $onPlayerLoaded(::
Player& player);
2090 ::Social::GameConnectionInfo connection,
2091 ::
std::
string const& serverName,
2111 MCNAPI ::Bedrock::Threading::Async<::Core::PathBuffer<::
std::
string>>
2117 ::
std::
string const& imageUrl,
2118 ::
std::
function<
void(::Bedrock::Http::Status, ::Core::
Path const&, uint64)> callback
2125 ::
std::weak_ptr<::Core::FileStorageArea> const& storageAreaWeakPtr,
2148 MCAPI
void $onLevelExit();
2162 MCAPI
void $onActiveResourcePacksChanged(
2199 ::
std::
string const& message,
2200 ::ProfanityFilterContext profanityFilterContext,
2202 ::
std::
string const& interruptibleId,
2204 bool disregardAppFocus
2251 MCFOLD ::ClientInstanceState $getClientInstanceState() const;
2258 ::SubClientId const clientId,
2259 uint64 const clientCount,
2260 ::SplitScreenDirection const splitScreenConfiguration
Definition AbstractScene.h:5
Definition ActorAnimationGroup.h:22
Definition ActorBlockRenderer.h:5
Definition ActorRenderDispatcher.h:5
Definition ActorResourceDefinitionGroup.h:5
Definition ClipboardCopy.h:7
Definition ClipboardPasteRequest.h:7
Definition AutomationClient.h:26
Definition BlockActorRenderDispatcher.h:5
Definition BlockCullingGroup.h:5
Definition BlockSource.h:72
Definition BlockTessellator.h:5
Definition BuildActionIntention.h:5
Definition CachedScenes.h:5
Definition CameraRegistry.h:5
Definition ClientHitDetectCoordinator.h:5
Definition ClientInstanceEventCoordinator.h:16
Definition ClientInstance.h:5
MCAPI::ActorBlockRenderer & $getEntityBlockRenderer()
MCAPI::GameModuleClient * $getGameModule()
MCAPI void $getRawCameraEntities(::WeakEntityRef &cameraEntity, ::WeakEntityRef &cameraTargetEntity) const
MCAPI void $createPlayerAuthentication()
MCAPI bool $isLocalSplitscreenWith(::ActorUniqueID const &id) const
MCAPI::OreUI::ITelemetry & $getOreUITelemetry()
MCAPI bool $isLeavingGame() const
MCAPI bool $isValidCrossPlatformSkin(bool valueIfNull) const
MCAPI void $playUI(::std::string const &name, float volume, float pitch)
MCAPI void $setLastPointerLocation(float x, float y, float z)
MCAPI void $updateActionPointerId(int id)
MCAPI::PackManifestFactory & $getPackManifestFactory()
MCAPI bool $getRenderPlayerModel() const
MCAPI void $onTick(int nTick, int maxTick)
MCAPI bool $isInGameInputEnabled() const
MCAPI ::Bedrock::Threading::Async<::ClientGameSetupResult > $setupClientGame(bool joiningLocalServer, ::ServerSupportedAuthenticationTypes supportedAuth, ::std::unique_ptr<::GameModuleClient > gameModuleClient)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > $getMainSceneStack()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::mce::TextureGroup > $getStoreCacheTextures() const
MCAPI void $resetGameSession()
MCAPI void $setNumberOfActiveConfigs(int numberOfActiveConfigs)
MCAPI bool _isEditorModeOrInEditorWorld() const
MCAPI void $onDimensionChangedEvent()
MCAPI ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer > $getLocalEditorPlayer() const
MCAPI void $forEachScreen(::brstd::function_ref< bool(::AbstractScene &)> callback, bool topDown)
MCAPI void $setRemoteServerNetworkTimeMs(float time)
MCAPI ::std::weak_ptr<::IClientInstance > $getWeakPtrToThis()
MCAPI float $getFrameAlpha()
MCAPI::PacketSender & $getPacketSender()
MCAPI bool $isSplitScreenActive() const
MCAPI bool $isPlatformNX() const
MCAPI::ClientInputHandler * $getInput() const
MCAPI::ClientPlayMode $getClientPlayMode() const
MCAPI int $getSplitScreenCount() const
MCAPI void $getNormalizedUICursorTransform(::MatrixStack::MatrixStackRef &matrix, float cursorHalfSizeTexels)
MCAPI::ClientNetworkSystem & $getClientNetworkSystem()
MCAPI void $setWYSIWYGState(::WYSIWYGState wysiwygState)
MCAPI ::std::deque<::std::string > & $getDevConsoleMessageHistory()
MCAPI bool $useController() const
MCAPI void $updateChatFilterStatus(::ProfanityContext &profanityContext)
MCAPI bool $isSelectedSkinInitialized() const
MCAPI::Actor * $getCameraTargetActor() const
MCAPI::IReadWriteOptions const & $getReadWriteOptions() const
MCAPI void $setViewportInfo(::mce::ViewportInfo const &viewportInfo)
MCAPI ::Bedrock::NonOwnerPointer<::CameraRegistry > $getCameraRegistry()
MCAPI void $initializeRenderResources()
MCAPI void $onPlayerDestruction(::Player &player)
MCAPI::PlayerAuthentication & $getPlayerAuthentication()
MCAPI void $updateTouchPointerLocation(int id, float x, float y)
MCAPI void $openContentLogHistory()
MCAPI int $getControllerId() const
MCAPI bool $isGamePlayTipsEnabled() const
MCAPI::CachedScenes & $getCachedScenes()
MCAPI void $setRemoteServerTimeMs(float time)
MCAPI ::std::shared_ptr<::SkinRepository > $getSkinRepository() const
MCAPI void $refocusMouse(bool lostMouse)
MCAPI::KeyboardManager & $getKeyboardManager()
MCAPI bool $isFullVanillaPackOnStack() const
MCAPI void $setupTransitionForCredits(::std::function< void()> callback)
MCAPI bool $checkForPiracy()
MCAPI void _leaveGameOnUnrecoverableError(::Connection::DisconnectFailReason reason, ::std::string const &telemetryMessage, ::std::string const &errorDescriptionOverride)
MCAPI bool $isInDeathScreen() const
MCAPI void _perspectiveOptionChanged(::Option const &)
MCAPI void $navigateToCoinPurchaseScreen(int neededCoins, ::std::function< void(bool, int)> callback)
MCAPI bool $isScreenReplaceable() const
MCAPI void $onCriticalDiskError(bool const bSet, ::Core::LevelStorageState const &errorCode)
MCAPI ::std::function< void()> $getCreditsCallback()
MCAPI ::cg::math::Rect< float > $calculateViewPortModifiers(::SubClientId const clientId, uint64 const clientCount, ::SplitScreenDirection const splitScreenConfiguration) const
MCAPI bool $navigateToProfileScreen(::std::string const &, bool const preventProgressScreen)
MCAPI void $initTTSClient(::std::shared_ptr<::TextToSpeechClient > textToSpeechClient)
MCAPI int $getNumberOfActiveConfigs() const
MCAPI int $getActionPointerId() const
MCAPI void $onAppResumed()
MCAPI void $preShutDown()
MCAPI void $onLowDiskSpace(bool const bSet, uint64 freeSpace)
MCAPI void $resetPrimaryClient()
MCAPI void $sendClientEnteredLevel()
MCAPI bool $isWorldActive() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::ScreenLoadTimeTracker > $getScreenLoadTimeTracker()
MCAPI bool $isNoConfigSelected() const
MCAPI::Vec2 $getTouchPointerLocation(int id) const
MCAPI void $unMuteAudio()
MCAPI bool $isShowingLoadingScreen() const
MCAPI::PacksInfoData const & $getHostSpecifiedPacks() const
MCAPI void _startWorldPrimaryClient(::PlayerAuthenticationType authType, ::RawGameServerToken &&token)
MCAPI bool $isInMultiplayerGame() const
MCAPI void $renderImGui(::ScreenContext &screenContext, bool drawMenuBar)
MCAPI void $onDestroyMinecraftGame()
MCAPI::PersonaClient & $getPersonaClient() const
MCAPI bool $isTouchGameplayAllowed() const
MCAPI::ItemRegistryRef $getItemRegistry() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack > $prepareSceneFor(::ui::SceneType const sceneTypeToFind, ::std::function<::std::shared_ptr<::AbstractScene >()> createScreenCallback)
MCAPI::IConnectionEventing & $getConnectionEventing() const
MCAPI ::Bedrock::NonOwnerPointer<::PersonaClient > $tryGetPersonaClient() const
MCAPI void $setupPlayScreenForLeaveGame()
MCAPI ::std::optional<::Social::GameConnectionInfo > $getGameConnectionInfo()
MCAPI void $onMobEffectsChange()
MCAPI void $clearTouchPointerLocations()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::DateManager const > $getDateManager() const
MCAPI void $setupStandardCommands()
MCAPI void $onRequestResourceReload()
MCAPI::AbstractScene * $getActiveScene()
MCAPI::MusicManager const * $getMusicManager() const
MCAPI bool $hasConnectedController() const
MCAPI void $setDefaultPlayscreenTab(::PlayScreenDefaultTab defaultTab)
MCAPI double $getControlTipsTimeElapsed() const
MCAPI bool $readyForShutdown() const
MCAPI void $setClientInstanceState(::ClientInstanceState const &newstate)
MCAPI::PersonaRepository & $getPersonaRepository() const
MCAPI void $onOutOfDiskSpace(bool const bSet, uint64 freeSpace)
MCAPI::IGameConnectionListener & $getGameConnectionListener()
MCAPI::BlockActorRenderDispatcher & $getBlockEntityRenderDispatcher()
MCAPI bool $requestInGamePause(bool status)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository > $getStoreCatalogRepository()
MCAPI int $getClientUpdateAndRenderThrottlingThreshold() const
MCAPI bool $shouldDisconnectOnAppSuspended() const
MCAPI bool $hasLevel() const
MCAPI::IMinecraftEventing & $getEventing() const
MCAPI void _fireOnDisconnect(::Connection::DisconnectFailReason failReason, ::std::string const &titleMessage, ::std::string const &errorMessage, ::std::string const &codeword)
MCAPI::HitResult const & $getLatestHitResult() const
MCAPI bool $allowPicking() const
MCAPI void $forEachVisibleScreen(::brstd::function_ref< void(::AbstractScene &)> callback)
MCAPI void $setGuiScaleOffset(int guiScale)
MCAPI ::Bedrock::Threading::Async<::Core::PathBuffer<::std::string > > $requestScreenshot(::ScreenshotOptions &screenshotOptions)
MCAPI bool $isShuttingDown() const
MCAPI::GuidedFlowManager & $getGuidedFlowManager()
MCAPI::DeferredLighting & $getDeferredLighting()
MCAPI void $setSuspendDirectionalInput(bool suspendDirectionalInput)
MCAPI bool $isShowingMenu() const
MCAPI void _updateScreenSizeVariables(::Vec2 const &totalScreenSize, ::Vec2 const &safeZone)
MCAPI::ui::ScreenTechStackSelector & $getScreenTechStackSelector()
MCAPI::std::string $getPlatformId() const
MCAPI::SplitScreenInfo $getSplitScreenInfo() const
MCAPI bool $isExitingLevel() const
MCAPI ::Bedrock::NonOwnerPointer<::MinecraftInputHandler > $getMinecraftInput() const
MCAPI void $quit(::std::string const &src, ::std::string const &reason)
MCAPI void $stopDestroying()
MCAPI::HitDetectSystem * $getHitDetectSystem()
MCAPI::ClientLevel * $getLevel()
MCAPI bool $isKeyboardEnabled() const
MCAPI void $showPlayerProfile(::std::string const &xuid, ::std::string const &platformId)
MCAPI void $tryPushLeaveGameScreen()
MCAPI::IClientInstances & $getClientInstances() const
MCAPI::Vec2 $getSafeZoneScale() const
MCAPI float $getClientUpdateAndRenderThrottlingScalar() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerReportHandler > $getPlayerReportHandler()
MCAPI void $onInitMinecraftGame()
MCAPI void $navigateToHowToPlayScreen(::std::string const &startTopic)
MCAPI void $onAppSuspended()
MCAPI void $setUIEventCoordinator(::Bedrock::UniqueOwnerPointer<::UIEventCoordinator > &&coordinator)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext > $getProfanityContext() const
MCAPI bool $isShowingProgressScreen() const
MCAPI bool $isInWorldAndNotShowingAnyMenuScreens() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager > $getMultiplayerServiceManager() const
MCAPI void _startDestroyingGame()
MCAPI bool $isDestroyingGame() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::SoundEngine > $getSoundEngine() const
MCAPI::GameRenderer & $getGameRenderer() const
MCAPI bool $isLeaveGameDone() const
MCAPI bool $isWorldSystemReady() const
MCAPI void $updateScreens()
MCAPI void $navigateToPurchaseOfferScreen(::StoreCatalogItem &item, ::StoreNavigationOrigin)
MCAPI void $setClientGameMode(::GameType gameType)
MCAPI bool $useLowFrequencyUIRender() const
MCAPI void $preCacheOutOfGameViews()
MCAPI bool $isPlaying() const
MCAPI::Option const & $getGuiScaleOption() const
MCAPI void _startWorldSubClient(::PlayerAuthenticationType authType, ::RawGameServerToken &&token)
MCAPI ::std::pair<::StoreErrorCodes, ::std::string > const $getMarketplaceDisabledReasonWithErrorCode() const
MCAPI bool $isShowingDeathScreen() const
MCAPI void $navigateToRealmsStoriesTransitionScreen(::Realms::World const &world)
MCAPI void $setLevelTexture(::mce::Texture *tex)
MCAPI void $navigateToDressingRoomOfferScreen(::std::string const &offerId)
MCAPI::std::chrono::steady_clock::time_point $getNoBlockBreakUntil()
MCAPI void $onInternetUpdate()
MCAPI::glm::vec2 $getGamepadCursorPosition() const
MCAPI::Vec2 $getNormalizedViewportSize() const
MCAPI bool $useTouchscreen() const
MCAPI void $navigateToMarketplacePassPDPScreen(::MarketplacePassTabIndex tabIndex)
MCAPI::ItemInHandRenderer * $getItemInHandRenderer()
MCAPI ::std::shared_ptr<::FileDataRequest > $requestImageFromUrl(::std::string const &imageUrl, ::std::function< void(::Bedrock::Http::Status, ::Core::Path const &, uint64)> callback)
MCAPI::MarketplaceServicesManager & $getMarketplaceServicesManager() const
MCAPI ::Bedrock::NonOwnerPointer<::Editor::IEditorManager > $getEditorManager() const
MCAPI::World::WorldSystem & $getWorldSystem() const
MCAPI void $stopPlayScreen()
MCAPI void $forEachScreenConst(::brstd::function_ref< bool(::AbstractScene const &)> callback, bool topDown) const
MCAPI::BuildActionIntention & $getInProgressBAI() const
MCAPI void $setClientUpdateAndRenderThrottling(bool enabled, int threshold, float scalar)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::TrialManager > $getTrialManager() const
MCAPI::ClientRequirementVerifier const & $getClientRequirementVerifier() const
MCAPI::OreUI::Router & $getClientUIRouter() const
MCAPI ::std::shared_ptr<::ITTSEventManager > $getTTSEventManager()
MCAPI ::Bedrock::NonOwnerPointer<::WorldTransferAgent > const $getWorldTransferAgent() const
MCAPI void $setupPrimaryClientEditorManager()
MCAPI void $setUiRouter(::std::unique_ptr<::OreUI::Router > uiRouter)
MCAPI void $setNoBlockBreakUntil(::std::chrono::steady_clock::time_point timePoint)
MCAPI::Option & $getShowControlTipsOption()
MCAPI void $flagDisconnectionAndNotify(::Connection::DisconnectFailReason disconnectReason)
MCAPI void $verifySkinApproval(::std::function< void(::std::string)> const ¬ApprovedCallback, ::std::function< void()> const &approvedCallback) const
MCAPI void $connectToThirdPartyServer(::std::string const &ipAddress, int port)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager > $getUserManager() const
MCAPI ::std::shared_ptr<::Settings::IRegistry > $getSettingsRegistry()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const > $getKeyProvider() const
MCAPI::LevelRendererCameraProxy * $getLevelRendererCameraProxy() const
MCAPI ::std::set< uint > const & $getActiveControlOptions() const
MCAPI::std::string $getTopScreenName() const
MCAPI::std::string $getScreenName() const
MCAPI bool _isShowingScreen(::std::string_view screenName) const
MCAPI void $setOtherConfigsExistInThisCategory(bool otherConfigsExistInThisCategory)
MCAPI ::Bedrock::NonOwnerPointer<::EntitySystems > $getCameraSystems()
MCAPI void $tryStartDayOneExperience()
MCAPI void $preFrameTick()
MCAPI::InputMode $getCurrentInputMode() const
MCAPI void $setNumberOfEnabledConfigs(int numberOfEnabledConfigs)
MCAPI bool $isPrimaryUser() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::FogManager const > $getFogManager() const
MCAPI::FontHandle $getRuneFontHandle() const
MCAPI::Scripting::ScriptEngine * $getScriptingEngine()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::DevConsoleLogger > $getDevConsoleLogger() const
MCAPI bool $hasDismissedNewPlayerFlow() const
MCAPI float $getRemoteServerTimeMs() const
MCAPI void $onScreenSizeChanged(int width, int height)
MCAPI void $clearGraphicsCache()
MCAPI::ISceneStack & $getMainSceneStackInterface()
MCAPI bool $shouldUseLastPointerLocationOnFocusChange()
MCAPI void $setRawCameraEntities(::WeakEntityRef cameraEntity, ::WeakEntityRef cameraTargetEntity)
MCAPI ::std::shared_ptr<::mce::TextureGroup > $getTextureGroup() const
MCAPI::LevelRenderer * $getLevelRenderer() const
MCAPI::LatencyGraphDisplay * $getLatencyGraphDisplay() const
MCAPI void $onFullVanillaPackOnStack()
MCAPI ::ClipboardProxy<::ApplicationSignal::ClipboardCopy, ::ApplicationSignal::ClipboardPasteRequest > & $getClipboardManager()
MCAPI::LightTexture * $getLightTexture()
MCAPI ::std::shared_ptr< void const > _teardown()
MCAPI void flagDisconnectionAndNotifyWithTarget(::DisconnectionScreenParams const ¶ms, ::Connection::UIReturnTarget uiReturnTarget)
MCAPI bool $isGamepadCursorEnabled() const
MCAPI bool $isReadyToReconnect() const
MCAPI void $addOverrideHoursToDateTime(uint const hoursToAdd)
MCAPI void $updateControllerHandling()
MCAPI void $onLevelCorrupt()
MCAPI::OreUI::SceneProvider & $getSceneProvider() const
MCAPI void $requestLeaveGameAsync()
MCAPI void $setMoveTurnInput(::std::unique_ptr<::ClientMoveInputHandler > pClientMoveInputHandler)
MCAPI::WeakEntityRef $getCameraEntity() const
MCAPI bool $isMarketplaceDisabled() const
MCAPI::std::string $getPlatformOnlineId() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::FogDefinitionRegistry const > $getFogDefinitionRegistry() const
MCAPI::mce::TexturePtr $getUICursorTexture() const
MCAPI::std::chrono::milliseconds $getServerPingTime() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient > $getAutomationClient() const
MCAPI bool $getHandlingControllerDisconnect()
MCAPI void $updateChunkRadius()
MCAPI void $onSafeZoneChanged()
MCAPI void $initSceneFactory(::std::unique_ptr<::SceneFactory > sceneFactory, ::std::unique_ptr<::OreUI::SceneProvider > sceneProvider)
MCAPI::MusicManager * $getMusicManagerNonConst() const
MCAPI void $clearTouchPointerLocation(int id)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::Minecraft > $getServerData()
MCAPI::std::string $getScreenTelemetry() const
MCAPI::mce::Texture * $getLevelTexture()
MCAPI void $resetToDefaultGameMode()
MCAPI bool $isEligibleForPauseFeature() const
MCAPI void $setUITexture(::mce::Texture *tex)
MCAPI::WYSIWYGState $getWYSIWYGState() const
MCAPI::FontHandle $getUnicodeFontHandle() const
MCAPI void $setDisableInput(bool disableInput)
MCAPI::ui::SceneType $getTopSceneType() const
MCAPI void $disconnectSubClient(::Connection::DisconnectFailReason disconnectReason)
MCAPI void $setGameConnectionInfo(::Social::GameConnectionInfo const &gameConnection)
MCAPI void $onGuiScaleOffsetChanged()
MCAPI void $setUICursorTexture(::mce::TexturePtr tex)
MCAPI bool $isShowingRealmsProgressScreen() const
MCAPI::ShaderColor & $getShaderColor()
MCAPI::mce::Camera & $getCamera()
MCAPI::PixelCalc const & $getDpadScale() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::BlockCullingGroup > $getBlockCullingGroup() const
MCAPI void $resetBai(int baiFlags)
MCAPI int $getGuiScaleOffset() const
MCAPI ::std::shared_ptr<::Social::User > const & $getUser() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::UIEventCoordinator > $getUIEventCoordinator()
MCAPI void $setMouseType(::Bedrock::Input::PointerType type)
MCAPI::IOptionRegistry & $getOptions()
MCAPI bool $currentInputModeIsMouseAndKeyboard() const
MCAPI ::std::deque<::std::string > & $getSentMessageHistory()
MCAPI bool $isInControlCustomization() const
MCAPI void $setClientPlayMode(::ClientPlayMode const &mode)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const > $getClientSceneStack() const
MCAPI void $navigateToMarketplaceInventoryScreen(::InventoryTabIndex tabIndex)
MCAPI ::std::optional<::ConnectionContextInfo > $getConnectionContextInfo() const
MCAPI void $setCameraActor(::Actor *cameraActor)
MCAPI::SubClientId $getClientSubId() const
MCAPI void $onClientInputInitComplete()
MCAPI void $startExternalNetworkWorld(::Social::GameConnectionInfo connection, ::std::string const &serverName, ::PlayerJoinWorldContext context)
MCAPI void $onGameSessionReset()
MCAPI bool $isShowingWorldProgressScreen() const
MCAPI::ClientHitDetectCoordinator & $getHitEventCoordinator()
MCAPI void $linkTo3PServerOffers(::std::string const &pageId, ::std::string const &creatorName)
MCAPI void $setInGameInputEnabled(bool isEnabled)
MCAPI void $forEachAlwaysAcceptInputScreen(::std::function< void(::AbstractScene &)> callback, ::AbstractScene const *ignoreScreen)
MCAPI ::Bedrock::NotNullNonOwnerPtr<::IUIRepository > $getUIRepository() const
MCAPI bool $currentScreenShouldStealMouse()
MCAPI bool $getOtherConfigsExistInThisCategory() const
MCAPI::Option & $getShowControlTipsOverrideOption()
MCAPI::TaskGroup & $getTaskGroup()
MCAPI void $setBehaviorCommandCallback(::std::function< void(::std::string const &, ::BehaviorStatus)> callback)
MCAPI void $startSubClientLateJoin(bool hasXBLBroadcast, ::std::unique_ptr<::GameModuleClient > gameModuleClient, ::std::optional<::ConnectionContextInfo > primaryConnectionInfo)
MCAPI void $setCreditsCallback(::std::function< void()> callback)
MCAPI ::Bedrock::NonOwnerPointer<::LinkedAssetValidator > $getLinkedAssetValidator()
MCAPI void $setBehaviorCommandStatus(::std::string const &treeName, ::BehaviorStatus status)
MCAPI void $resetPlayerMovement()
MCAPI::LocalPlayer * $getLocalPlayer() const
MCAPI void $setServerPingTime(::std::chrono::milliseconds pingTime)
MCAPI void $addTTSMessage(::std::string const &message, ::ProfanityFilterContext profanityFilterContext, bool interruptible, ::std::string const &interruptibleId, bool required, bool disregardAppFocus)
MCAPI::Option const & $getShowLearningPromptsOption() const
MCAPI bool $isAdhocEnabled() const
MCAPI bool $isShowingServerForm() const
MCAPI void $linkToOffer(::std::string const &productId, bool allowWhileInGame)
MCAPI void $onGameEventNotification(::ui::GameEventNotification notification)
MCAPI::WeakEntityRef $getLocalUser() const
MCAPI::BlockTessellator & $getBlockTessellator()
MCAPI void $setOpenControllerDisconnectScreen(bool open)
MCAPI float $getRemoteServerNetworkTimeMs() const
MCAPI ::std::shared_ptr<::TextToSpeechClient > $getTTSClient()
MCAPI bool $isUserBanned() const
MCAPI void $onBeforeSimTick()
MCAPI void fireEventDiskStatus(::DiskStatus status, ::Core::LevelStorageState errorCode)
MCAPI void $onGameModeChanged()
MCAPI void $linkToPage(::std::string const &pageId)
MCAPI::ResourcePackManager & $getResourcePackManager() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::DisconnectionRequestHandler > $getDisconnectionRequestHandler() const
MCAPI void $clearActiveControlOptions()
MCAPI bool $isMultiPlayerClient() const
MCAPI::Actor * $getCameraActor() const
MCAPI void $reloadEntityRenderers(::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup > const &actorResourceDefinitionGroup)
MCAPI bool $getMouseGrabbed() const
MCAPI void $setSuspendInput(bool suspendInput)
MCAPI void $postInitRenderResources()
MCAPI void $refreshScreenSizeData()
MCAPI void $setupPersistentControls(::InputMode currentMode)
MCAPI::BlockSource * $getRegion()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::ClientInstanceEventCoordinator > $getEventCoordinator()
MCAPI bool $wantToQuit() const
MCAPI uint $getUserId() const
MCAPI::Vec3 $getLastPointerLocation()
MCAPI void $setUISize(int w, int h)
MCAPI void $play(::std::string const &name, ::Vec3 const &pos, float volume, float pitch)
MCAPI bool $isPrimaryLevelMultiplayer() const
MCAPI bool $isShowingPauseScreen() const
MCAPI void $frameUpdate(::FrameUpdateContext &frameUpdateContext)
MCAPI void _joinWorldInProgressSubclient(::std::optional<::ConnectionContextInfo > primaryConnectionInfo)
MCAPI void $navigateToServersScreen(bool const calledFromHyperlink)
MCAPI ::std::shared_ptr<::ActorRenderDispatcher > $getEntityRenderDispatcher()
MCAPI::ClientScriptEventCoordinator & $getClientScriptEventCoordinator()
MCAPI void $setCameraTargetActor(::Actor *cameraTargetActor)
MCAPI void $setConnectGamepadScreenActive(bool active)
MCAPI void $onExtendDiskSpace(bool const bSet, ::std::weak_ptr<::Core::FileStorageArea > const &storageAreaWeakPtr, uint64 freeSpace, ::std::function< void()> onHandledEventCallback)
MCAPI ::std::vector<::OptionID > $getActiveOptionIDs(::ControlOptionType controlOptionType) const
MCAPI bool $isEduMode() const
MCAPI void $initGraphics()
MCAPI void $setControlTipsTimeElapsedStart()
MCAPI::ToastManager & $getToastManager()
MCAPI::ListenerState const * $getListenerState() const
MCAPI void $setupPauseManagers()
MCAPI bool $updateSceneStack()
MCAPI void $setLeaveGameInProgressAsReadyToContinue()
MCAPI bool _getIsConnectedToApplicationLayer() const
MCAPI void $init(::ClientInstanceInitArguments &&args)
MCAPI::mce::Texture * $getUITexture()
MCAPI void $updateControlOptionState(uint id, bool active)
MCAPI void $requestLeaveGame(bool switchScreen, bool sync)
MCAPI void $initCommands()
MCAPI bool $isPlayerInEditor() const
MCAPI void $clearInProgressBAI()
MCAPI::PlayerCapabilities::IClientController const & $getClientCapabilities() const
MCAPI::mce::ViewportInfo const & $getViewportInfo() const
MCAPI bool $isPrimaryClient() const
MCAPI bool $isInBedScreen() const
MCAPI void $navigateToStoreHomeScreen()
MCAPI bool $isPrimaryLevelCrossPlatformMultiplayer() const
MCAPI::std::string $emoticonifyText(::std::string const &text) const
MCAPI float $getGuiScale() const
MCAPI void $onStartLocalServer(::std::string const &worldName)
MCAPI void $forEachAlwaysAcceptInputScreenWithTop(::std::function< void(::AbstractScene &)> callback)
MCAPI void $setActiveFileStorageArea(::std::shared_ptr<::Core::FileStorageArea > storageArea)
MCAPI::HudIconActorRenderer * $getHudIconActorRenderer()
MCAPI bool $isPreGame() const
MCAPI bool $isClientUpdateAndRenderThrottlingEnabled() const
MCAPI ::Bedrock::NotNullNonOwnerPtr<::GeometryGroup > $getGeometryGroup() const
MCAPI double $getServerConnectionTime() const
MCAPI void $fadeOutMusic() const
MCAPI void $onClientCreatedLevel(::std::pair<::std::unique_ptr<::Level >, ::OwnerPtr<::EntityContext > > levelEntity, ::OwnerPtr<::EntityContext > userEntity)
MCAPI::MobEffectsLayout & $getMobEffectsLayout()
MCAPI ::std::shared_ptr<::ActorAnimationGroup > $getActorAnimationGroup() const
MCAPI bool $hasCommands() const
MCAPI void $setClientInputHandler(::std::unique_ptr<::ClientInputHandler > pClientInputHandler)
MCAPI bool $isReadyToRender() const
MCAPI::GameCallbacks & $getGameCallbacks()
MCAPI::IResourcePackRepository & $getResourcePackRepository() const
MCAPI double $getGameUpdateDurationInSeconds() const
MCAPI int $getNumberOfEnabledConfigs() const
MCAPI ::Bedrock::NonOwnerPointer<::GameClientScriptManager > $getGameClientScriptManager()
MCAPI void $setupLevelRendering(::ClientLevel &level, ::WeakEntityRef cameraTargetEntity)
MCAPI::ClientNetworkEventCoordinator & $getClientNetworkEventCoordinator()
MCAPI void $releaseMouse()
MCAPI::ShaderColor & $getDarkShaderColor()
MCAPI ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics > $getMinecraftGraphics() const
MCAPI void setManagedChatClient(::Bedrock::NonOwnerPointer<::Social::ManagedChat::ManagedChatClient > managedChatClient)
MCAPI::LocalPlayerChangedConnector $getLocalPlayerChangedConnector()
MCAPI ::std::shared_ptr<::OptionRegistry > $getOptionsPtr()
MCAPI::AbstractScene * $getTopScene()
MCAPI ::Bedrock::NonOwnerPointer<::EduSystems > $getEduSystems()
Definition ClientLevel.h:5
Definition ClientNetworkEventCoordinator.h:5
Definition ClientNetworkSystem.h:46
Definition ClientRequirementVerifier.h:5
Definition ClientScriptEventCoordinator.h:5
Definition ClipboardProxy.h:6
Definition FileStorageArea.h:30
Definition StorageAreaStateListener.h:15
Definition DateManager.h:14
Definition DeferredLighting.h:5
Definition DevConsoleLogger.h:5
Definition DisconnectionRequestHandler.h:5
Definition IEditorManager.h:25
Definition IEditorPlayer.h:17
Definition EDUSystems.h:25
Definition EntityContext.h:15
Definition EntitySystems.h:26
Definition FileDataRequest.h:5
Definition FogDefinitionRegistry.h:5
Definition FogManager.h:5
Definition FontHandle.h:5
Definition FrameUpdateContext.h:5
Definition GameCallbacks.h:5
Definition GameClientScriptManager.h:5
Definition GameModuleClient.h:5
Definition GameRenderer.h:5
Definition GeometryGroup.h:5
Definition GuidedFlowManager.h:5
Definition HitDetectSystem.h:5
Definition HitResult.h:18
Definition HudIconActorRenderer.h:5
Definition IClientInstance.h:13
Definition IClientInstance.h:5
Definition IClientInstances.h:5
Definition IConnectionContextEvents.h:5
Definition IConnectionEventing.h:10
Definition IContentKeyProvider.h:13
Definition IGameConnectionListener.h:5
Definition IMinecraftEventing.h:152
Definition IMinecraftGame.h:5
Definition IOptionRegistry.h:5
Definition IPersonaClientProvider.h:5
Definition IReadWriteOptions.h:5
Definition IResourcePackRepository.h:36
Definition ISceneStack.h:5
Definition ITTSEventManager.h:5
Definition IUIRepository.h:5
Definition ItemInHandRenderer.h:5
Definition ItemRegistryRef.h:36
Definition ItemRenderer.h:5
Definition KeyboardManager.h:5
Definition LatencyGraphDisplay.h:5
Definition LevelRendererCameraProxy.h:5
Definition LevelRenderer.h:5
Definition LightTexture.h:5
Definition LinkedAssetValidator.h:9
Definition LocalPlayer.h:5
Definition MatrixStack.h:5
Definition MinecraftGraphics.h:5
Definition Minecraft.h:59
Definition MobEffectsLayout.h:5
Definition MusicManager.h:5
Definition OptionRegistry.h:5
Definition ITelemetry.h:7
Definition SceneProvider.h:7
Definition PackManifestFactory.h:21
Definition PacketSender.h:17
Definition PersonaClient.h:5
Definition PersonaRepository.h:5
Definition PlayerAuthentication.h:5
Definition PlayerListener.h:5
Definition PlayerReportHandler.h:5
Definition ProfanityContext.h:5
Definition ResourcePackManager.h:29
Definition SceneFactory.h:5
Definition ScreenContext.h:5
Definition ScreenLoadTimeTracker.h:5
Definition ScriptEngine.h:21
Definition ShaderColor.h:5
Definition SkinRepository.h:5
Definition GameConnectionInfo.h:24
Definition IUserManager.h:7
Definition ManagedChatClient.h:7
Definition MultiplayerServiceManager.h:7
Definition SoundEngine.h:5
Definition TaskGroup.h:85
Definition TextToSpeechClient.h:5
Definition ToastManager.h:5
Definition TrialManager.h:5
Definition UIEventCoordinator.h:5
Definition WeakEntityRef.h:14
Definition WorldTransferAgent.h:5
Definition WorldSystem.h:7
Definition TextureGroup.h:7
Definition ScreenTechStackSelector.h:7
Definition ActorUniqueID.h:5
Definition ClientInstanceArguments.h:5
Definition ClientInstanceInitArguments.h:5
Definition ClientInstance.h:16
Definition ClientInstance.h:14
Definition ClientInstance.h:240
Definition ClientInstance.h:242
Definition ConnectionContextInfo.h:5
Definition DisconnectionScreenParams.h:5
Definition ListenerState.h:5
Definition LocalPlayerChangedConnector.h:5
Definition PacksInfoData.h:14
Definition IClientController.h:7
Definition PlayerJoinWorldContext.h:5
Definition RawGameServerToken.h:8
Definition ScreenshotOptions.h:5
Definition ServerSupportedAuthenticationTypes.h:5
Definition SplitScreenInfo.h:5
Definition ViewportInfo.h:7