Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ClientInstance.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
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"
49
50// auto generated forward declare list
51// clang-format off
52class AbstractScene;
53class Actor;
60class BlockSource;
63class CachedScenes;
64class CameraRegistry;
68class ClientLevel;
74class DateManager;
78class EduSystems;
79class EntityContext;
80class EntitySystems;
81class FileDataRequest;
83class FogManager;
84class FontHandle;
88class GameRenderer;
89class GeometryGroup;
90class GuiData;
92class HitDetectSystem;
93class HitResult;
100class IMinecraftGame;
101class IOptionRegistry;
104class ISceneStack;
105class ITTSEventManager;
106class IUIRepository;
108class ItemRegistryRef;
109class ItemRenderer;
110class KeyboardManager;
112class Level;
113class LevelRenderer;
115class LightTexture;
117class LocalPlayer;
118class MarketplaceServicesManager;
119class Minecraft;
122class MobEffectsLayout;
123class MusicManager;
124class Option;
125class OptionRegistry;
127class PacketSender;
128class PersonaClient;
130class PixelCalc;
131class Player;
134class ProfanityContext;
136class SceneFactory;
137class ScreenContext;
139class ShaderColor;
140class SkinRepository;
141class SoundEngine;
142class StoreCatalogItem;
143class StoreCatalogRepository;
144class TaskGroup;
146class ToastManager;
147class TrialManager;
149class Vec2;
150class Vec3;
151class WeakEntityRef;
153struct ActorUniqueID;
158struct ListenerState;
160struct PacksInfoData;
162struct RawGameServerToken;
163struct ScreenshotOptions;
165struct SplitScreenInfo;
166namespace ApplicationSignal { class ClipboardCopy; }
167namespace ApplicationSignal { class ClipboardPasteRequest; }
168namespace Automation { class AutomationClient; }
169namespace Bedrock::Http { class Status; }
170namespace Core { class FileStorageArea; }
171namespace Core { class Path; }
172namespace Editor { class IEditorManager; }
173namespace Editor { class IEditorPlayer; }
174namespace OreUI { class ITelemetry; }
175namespace OreUI { class Router; }
176namespace OreUI { class SceneProvider; }
177namespace PlayerCapabilities { struct IClientController; }
178namespace Realms { struct World; }
179namespace Scripting { class ScriptEngine; }
180namespace Settings { class IRegistry; }
181namespace Social { class GameConnectionInfo; }
182namespace Social { class IUserManager; }
183namespace Social { class MultiplayerServiceManager; }
184namespace Social { class User; }
185namespace Social::ManagedChat { class ManagedChatClient; }
186namespace World { class WorldSystem; }
187namespace mce { class Camera; }
188namespace mce { class Texture; }
189namespace mce { class TextureGroup; }
190namespace mce { struct ViewportInfo; }
191namespace ui { class ScreenTechStackSelector; }
192// clang-format on
193
194class ClientInstance : public ::IClientInstance,
197 public ::GameCallbacks,
198 public ::PlayerListener,
200 public ::std::enable_shared_from_this<::ClientInstance> {
201public:
202 // ClientInstance inner types declare
203 // clang-format off
207 struct mCreditsCallback;
208 // clang-format on
209
210 // ClientInstance inner types define
211 struct ClientRenderResources {
212 public:
213 // member variables
214 // NOLINTBEGIN
215 ::ll::TypedStorage<8, 8, ::mce::Texture*> mUITexture;
216 ::ll::TypedStorage<8, 32, ::mce::TexturePtr> mUICursorTexture;
217 // NOLINTEND
218 };
219
221 public:
222 // member variables
223 // NOLINTBEGIN
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;
231 // NOLINTEND
232
233 public:
234 // prevent constructor by default
235 ClientDestroyBlockState& operator=(ClientDestroyBlockState const&);
236 ClientDestroyBlockState(ClientDestroyBlockState const&);
237 ClientDestroyBlockState();
238 };
239
241
243
244public:
245 LLAPI static bool tickDestroyBlock(::ClientInstance::ClientDestroyBlockState& destroyBlockState, bool advanceTime);
246
247 IMinecraftGame& getMinecraftGame() { return *mUnke2a76f.as<IMinecraftGame*>(); }
248
249public:
250 // member variables
251 // NOLINTBEGIN
387 // NOLINTEND
388
389public:
390 // prevent constructor by default
391 ClientInstance& operator=(ClientInstance const&);
394
395public:
396 // virtual functions
397 // NOLINTBEGIN
398 virtual ~ClientInstance() /*override*/ = default;
399
400 virtual void onInitMinecraftGame() /*override*/;
401
402 virtual void onDestroyMinecraftGame() /*override*/;
403
404 virtual void init(::ClientInstanceInitArguments&& args) /*override*/;
405
406 virtual void initSceneFactory(
407 ::std::unique_ptr<::SceneFactory> sceneFactory,
408 ::std::unique_ptr<::OreUI::SceneProvider> sceneProvider
409 ) /*override*/;
410
411 virtual void setUiRouter(::std::unique_ptr<::OreUI::Router> uiRouter) /*override*/;
412
413 virtual void initGraphics() /*override*/;
414
415 virtual void stop() /*override*/;
416
417 virtual void preShutDown() /*override*/;
418
419 virtual void setGameConnectionInfo(::Social::GameConnectionInfo const& gameConnection) /*override*/;
420
421 virtual ::std::optional<::Social::GameConnectionInfo> getGameConnectionInfo() /*override*/;
422
423 virtual void onStartJoinGame(
424 bool isLocalServer,
425 ::std::string const& multiplayerCorrelationId,
426 ::std::string const& serverName,
427 ::std::string const& worldName,
428 ::NetworkType networkType,
429 ::Social::MultiplayerServiceIdentifier service,
431 ) /*override*/;
432
433 virtual void onStartLocalServer(::std::string const& worldName) /*override*/;
434
435 virtual void onCancelJoinGame() /*override*/;
436
437 virtual void requestLeaveGameAsync() /*override*/;
438
439 virtual void requestLeaveGame(bool switchScreen, bool sync) /*override*/;
440
441 virtual void stopPlayScreen() /*override*/;
442
443 virtual bool isLeaveGameDone() const /*override*/;
444
445 virtual void setupPlayScreenForLeaveGame() /*override*/;
446
447 virtual void preCacheOutOfGameViews() /*override*/;
448
449 virtual void resetPrimaryClient() /*override*/;
450
451 virtual void resetGameSession() /*override*/;
452
453 virtual void tick() /*override*/;
454
455 virtual void frameUpdate(::FrameUpdateContext& frameUpdateContext) /*override*/;
456
457 virtual void preFrameTick() /*override*/;
458
459 virtual bool update(bool isInitFinished, bool allowGameUpdate) /*override*/;
460
461 virtual void endFrame() /*override*/;
462
463 virtual float getFrameAlpha() /*override*/;
464
465 virtual void startSubClientLateJoin(
466 bool hasXBLBroadcast,
467 ::std::unique_ptr<::GameModuleClient> gameModuleClient,
468 ::std::optional<::ConnectionContextInfo> primaryConnectionInfo
469 ) /*override*/;
470
471 virtual ::Bedrock::Threading::Async<::ClientGameSetupResult> setupClientGame(
472 bool joiningLocalServer,
474 ::std::unique_ptr<::GameModuleClient> gameModuleClient
475 ) /*override*/;
476
477 virtual ::BlockSource* getRegion() /*override*/;
478
479 virtual ::LocalPlayer* getLocalPlayer() const /*override*/;
480
481 virtual void setupPrimaryClientEditorManager() /*override*/;
482
483 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> getLocalEditorPlayer() const /*override*/;
484
485 virtual ::Bedrock::NonOwnerPointer<::Editor::IEditorManager> getEditorManager() const /*override*/;
486
487 virtual bool isPlayerInEditor() const /*override*/;
488
489 virtual ::LocalPlayerChangedConnector getLocalPlayerChangedConnector() /*override*/;
490
491 virtual ::WeakEntityRef getLocalUser() const /*override*/;
492
493 virtual ::Actor* getCameraActor() const /*override*/;
494
495 virtual void setCameraActor(::Actor* cameraActor) /*override*/;
496
497 virtual ::ListenerState const* getListenerState() const /*override*/;
498
499 virtual ::Actor* getCameraTargetActor() const /*override*/;
500
501 virtual void setCameraTargetActor(::Actor* cameraTargetActor) /*override*/;
502
503 virtual ::WeakEntityRef getCameraEntity() const /*override*/;
504
505 virtual void getRawCameraEntities(::WeakEntityRef& cameraEntity, ::WeakEntityRef& cameraTargetEntity) const
506 /*override*/;
507
508 virtual void setRawCameraEntities(::WeakEntityRef cameraEntity, ::WeakEntityRef cameraTargetEntity) /*override*/;
509
510 virtual ::HitResult const& getLatestHitResult() const /*override*/;
511
512 virtual bool isLeavingGame() const /*override*/;
513
514 virtual bool isDestroyingGame() const /*override*/;
515
516 virtual bool isShuttingDown() const /*override*/;
517
518 virtual bool useLowFrequencyUIRender() const /*override*/;
519
520 virtual bool isSplitScreenActive() const /*override*/;
521
522 virtual bool isExitingLevel() const /*override*/;
523
524 virtual bool isInBedScreen() const /*override*/;
525
526 virtual bool isInDeathScreen() const /*override*/;
527
528 virtual bool isKeyboardEnabled() const /*override*/;
529
530 virtual bool hasCommands() const /*override*/;
531
532 virtual int getSplitScreenCount() const /*override*/;
533
534 virtual bool isShowingLoadingScreen() const /*override*/;
535
536 virtual bool shouldDisconnectOnAppSuspended() const /*override*/;
537
538 virtual bool isGamePlayTipsEnabled() const /*override*/;
539
540 virtual bool isPlatformNX() const /*override*/;
541
542 virtual bool isLocalSplitscreenWith(::ActorUniqueID const& id) const /*override*/;
543
544 virtual bool isValidCrossPlatformSkin(bool valueIfNull) const /*override*/;
545
546 virtual bool isSelectedSkinInitialized() const /*override*/;
547
548 virtual ::SplitScreenInfo getSplitScreenInfo() const /*override*/;
549
550 virtual bool getHandlingControllerDisconnect() /*override*/;
551
552 virtual void setOpenControllerDisconnectScreen(bool open) /*override*/;
553
554 virtual ::ClientPlayMode getClientPlayMode() const /*override*/;
555
556 virtual void setClientPlayMode(::ClientPlayMode const& mode) /*override*/;
557
558 virtual ::std::function<void()> getCreditsCallback() /*override*/;
559
560 virtual void setCreditsCallback(::std::function<void()> callback) /*override*/;
561
562 virtual void setupTransitionForCredits(::std::function<void()> callback) /*override*/;
563
564 virtual void refreshScreenSizeData() /*override*/;
565
566 virtual void onScreenSizeChanged(int width, int height) /*override*/;
567
568 virtual void onGuiScaleOffsetChanged() /*override*/;
569
570 virtual void onSafeZoneChanged() /*override*/;
571
572 virtual bool hasDismissedNewPlayerFlow() const /*override*/;
573
574 virtual void quit(::std::string const& src, ::std::string const& reason) /*override*/;
575
576 virtual ::IMinecraftGame& getMinecraftGame_DEPRECATED() const /*override*/;
577
578 virtual ::IClientInstances& getClientInstances() const /*override*/;
579
580 virtual ::World::WorldSystem& getWorldSystem() const /*override*/;
581
582 virtual bool isWorldSystemReady() const /*override*/;
583
584 virtual ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient> getAutomationClient() const /*override*/;
585
586 virtual ::Bedrock::NonOwnerPointer<::EduSystems> getEduSystems() /*override*/;
587
588 virtual ::Bedrock::NonOwnerPointer<::EduSystems const> getEduSystems() const /*override*/;
589
590 virtual ::IMinecraftEventing& getEventing() const /*override*/;
591
592 virtual ::IConnectionEventing& getConnectionEventing() const /*override*/;
593
594 virtual ::FontHandle getFontHandle() const /*override*/;
595
596 virtual ::FontHandle getRuneFontHandle() const /*override*/;
597
598 virtual ::FontHandle getUnicodeFontHandle() const /*override*/;
599
600 virtual ::Bedrock::NotNullNonOwnerPtr<::GeometryGroup> getGeometryGroup() const /*override*/;
601
602 virtual ::Bedrock::NotNullNonOwnerPtr<::BlockCullingGroup> getBlockCullingGroup() const /*override*/;
603
604 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> getMultiplayerServiceManager() const
605 /*override*/;
606
607 virtual ::IResourcePackRepository& getResourcePackRepository() const /*override*/;
608
609 virtual ::ResourcePackManager& getResourcePackManager() const /*override*/;
610
611 virtual ::PackManifestFactory& getPackManifestFactory() /*override*/;
612
613 virtual ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> getKeyProvider() const /*override*/;
614
615 virtual ::PacksInfoData const& getHostSpecifiedPacks() const /*override*/;
616
617 virtual ::std::shared_ptr<::SkinRepository> getSkinRepository() const /*override*/;
618
619 virtual ::PersonaRepository& getPersonaRepository() const /*override*/;
620
621 virtual ::MarketplaceServicesManager& getMarketplaceServicesManager() const /*override*/;
622
623 virtual ::PersonaClient& getPersonaClient() const /*override*/;
624
625 virtual ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> getStoreCatalogRepository() /*override*/;
626
627 virtual ::std::shared_ptr<::mce::TextureGroup> getTextureGroup() const /*override*/;
628
629 virtual ::Bedrock::NotNullNonOwnerPtr<::mce::TextureGroup> getStoreCacheTextures() const /*override*/;
630
631 virtual ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics> getMinecraftGraphics() const /*override*/;
632
633 virtual ::Bedrock::NotNullNonOwnerPtr<::IUIRepository> getUIRepository() const /*override*/;
634
635 virtual ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> getUserManager() const /*override*/;
636
637 virtual ::Bedrock::NotNullNonOwnerPtr<::TrialManager> getTrialManager() const /*override*/;
638
639 virtual bool wantToQuit() const /*override*/;
640
641 virtual bool isPrimaryLevelCrossPlatformMultiplayer() const /*override*/;
642
643 virtual bool isPrimaryLevelMultiplayer() const /*override*/;
644
645 virtual bool isAdhocEnabled() const /*override*/;
646
647 virtual ::std::shared_ptr<::ActorAnimationGroup> getActorAnimationGroup() const /*override*/;
648
649 virtual bool isMarketplaceDisabled() const /*override*/;
650
651 virtual ::std::pair<::StoreErrorCodes, ::std::string> const getMarketplaceDisabledReasonWithErrorCode() const
652 /*override*/;
653
654 virtual void linkToOffer(::std::string const& productId, bool allowWhileInGame) /*override*/;
655
656 virtual void linkToPage(::std::string const& pageId) /*override*/;
657
658 virtual void linkTo3PServerOffers(::std::string const& pageId, ::std::string const& creatorName) /*override*/;
659
660 virtual void navigateToMarketplaceInventoryScreen(::InventoryTabIndex tabIndex) /*override*/;
661
662 virtual void navigateToStoreHomeScreen() /*override*/;
663
664 virtual void navigateToCoinPurchaseScreen(int neededCoins, ::std::function<void(bool, int)> callback) /*override*/;
665
666 virtual void navigateToPurchaseOfferScreen(::StoreCatalogItem& item, ::StoreNavigationOrigin) /*override*/;
667
668 virtual void navigateToDressingRoomOfferScreen(::std::string const& offerId) /*override*/;
669
670 virtual bool navigateToProfileScreen(::std::string const&, bool const preventProgressScreen) /*override*/;
671
672 virtual void navigateToServersScreen(bool const calledFromHyperlink) /*override*/;
673
674 virtual void navigateToHowToPlayScreen(::std::string const& startTopic) /*override*/;
675
676 virtual void navigateToMarketplacePassPDPScreen(::MarketplacePassTabIndex tabIndex) /*override*/;
677
678 virtual void navigateToRealmsStoriesTransitionScreen(::Realms::World const& world) /*override*/;
679
680 virtual void tryPushLeaveGameScreen() /*override*/;
681
682 virtual void tryStartDayOneExperience() /*override*/;
683
684 virtual bool isReadyToRender() const /*override*/;
685
686 virtual void onDimensionChangedEvent() /*override*/;
687
688 virtual void onGameEventNotification(::ui::GameEventNotification notification) /*override*/;
689
690 virtual ::std::string getTopScreenName() const /*override*/;
691
692 virtual void setLeaveGameInProgressAsReadyToContinue() /*override*/;
693
694 virtual void stopDestroying() /*override*/;
695
696 virtual void onClientCreatedLevel(
697 ::std::pair<::std::unique_ptr<::Level>, ::OwnerPtr<::EntityContext>> levelEntity,
698 ::OwnerPtr<::EntityContext> userEntity
699 ) /*override*/;
700
701 virtual ::PlayerAuthentication& getPlayerAuthentication() /*override*/;
702
703 virtual void createPlayerAuthentication() /*override*/;
704
705 virtual void createPlayerAuthentication(uint64 clientRandomId) /*override*/;
706
707 virtual ::std::string getPlatformId() const /*override*/;
708
709 virtual ::std::string getPlatformOnlineId() const /*override*/;
710
711 virtual bool useController() const /*override*/;
712
713 virtual bool useTouchscreen() const /*override*/;
714
715 virtual bool getMouseGrabbed() const /*override*/;
716
717 virtual bool currentInputModeIsMouseAndKeyboard() const /*override*/;
718
719 virtual bool allowPicking() const /*override*/;
720
721 virtual bool isShowingMenu() const /*override*/;
722
723 virtual bool isShowingPauseScreen() const /*override*/;
724
725 virtual bool isShowingProgressScreen() const /*override*/;
726
727 virtual bool isShowingWorldProgressScreen() const /*override*/;
728
729 virtual bool isShowingRealmsProgressScreen() const /*override*/;
730
731 virtual bool isShowingDeathScreen() const /*override*/;
732
733 virtual bool isShowingServerForm() const /*override*/;
734
735 virtual bool isScreenReplaceable() const /*override*/;
736
737 virtual bool isInWorldAndNotShowingAnyMenuScreens() const /*override*/;
738
739 virtual bool isWorldActive() const /*override*/;
740
741 virtual bool isInRealm() /*override*/;
742
743 virtual bool readyForShutdown() const /*override*/;
744
745 virtual bool isPrimaryClient() const /*override*/;
746
747 virtual bool isEduMode() const /*override*/;
748
749 virtual bool isGamepadCursorEnabled() const /*override*/;
750
751 virtual bool isInControlCustomization() const /*override*/;
752
753 virtual ::Bedrock::NotNullNonOwnerPtr<::Minecraft> getServerData() /*override*/;
754
755 virtual ::Bedrock::NotNullNonOwnerPtr<::Minecraft const> getServerData() const /*override*/;
756
757 virtual ::ClientLevel* getLevel() /*override*/;
758
759 virtual ::ClientLevel const* getLevel() const /*override*/;
760
761 virtual bool hasLevel() const /*override*/;
762
763 virtual bool isPreGame() const /*override*/;
764
765 virtual bool isInMultiplayerGame() const /*override*/;
766
767 virtual bool isMultiPlayerClient() const /*override*/;
768
769 virtual ::IOptionRegistry& getOptions() /*override*/;
770
771 virtual ::IOptionRegistry const& getOptions() const /*override*/;
772
773 virtual ::IReadWriteOptions const& getReadWriteOptions() const /*override*/;
774
775 virtual ::std::shared_ptr<::OptionRegistry> getOptionsPtr() /*override*/;
776
777 virtual ::std::shared_ptr<::OptionRegistry const> const getOptionsPtr() const /*override*/;
778
779 virtual ::std::shared_ptr<::Social::User> const& getUser() const /*override*/;
780
781 virtual ::std::shared_ptr<::Settings::IRegistry> getSettingsRegistry() /*override*/;
782
783 virtual ::Option const& getShowLearningPromptsOption() const /*override*/;
784
785 virtual ::Option& getShowControlTipsOption() /*override*/;
786
787 virtual ::Option& getShowControlTipsOverrideOption() /*override*/;
788
789 virtual double getControlTipsTimeElapsed() const /*override*/;
790
791 virtual void setControlTipsTimeElapsedStart() /*override*/;
792
793 virtual ::GameRenderer& getGameRenderer() const /*override*/;
794
795 virtual ::LevelRenderer* getLevelRenderer() const /*override*/;
796
797 virtual ::LevelRendererCameraProxy* getLevelRendererCameraProxy() const /*override*/;
798
799 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry> getCameraRegistry() /*override*/;
800
801 virtual ::Bedrock::NonOwnerPointer<::CameraRegistry const> getCameraRegistry() const /*override*/;
802
803 virtual ::Bedrock::NonOwnerPointer<::EntitySystems> getCameraSystems() /*override*/;
804
805 virtual ::LightTexture* getLightTexture() /*override*/;
806
807 virtual void setupLevelRendering(::ClientLevel& level, ::WeakEntityRef cameraTargetEntity) /*override*/;
808
809 virtual ::mce::ViewportInfo const& getViewportInfo() const /*override*/;
810
811 virtual void setViewportInfo(::mce::ViewportInfo const& viewportInfo) /*override*/;
812
813 virtual ::Vec2 getNormalizedViewportSize() const /*override*/;
814
815 virtual void updateChunkRadius() /*override*/;
816
817 virtual void setUITexture(::mce::Texture* tex) /*override*/;
818
819 virtual ::mce::Texture* getUITexture() /*override*/;
820
821 virtual void setLevelTexture(::mce::Texture* tex) /*override*/;
822
823 virtual ::mce::Texture* getLevelTexture() /*override*/;
824
825 virtual void setUICursorTexture(::mce::TexturePtr tex) /*override*/;
826
827 virtual ::mce::TexturePtr getUICursorTexture() const /*override*/;
828
829 virtual ::mce::Camera& getCamera() /*override*/;
830
831 virtual ::ShaderColor& getShaderColor() /*override*/;
832
833 virtual ::ShaderColor& getDarkShaderColor() /*override*/;
834
835 virtual void clearGraphicsCache() /*override*/;
836
837 virtual void
838 getNormalizedUICursorTransform(::MatrixStack::MatrixStackRef& matrix, float cursorHalfSizeTexels) /*override*/;
839
840 virtual bool shouldRenderUICursor() const /*override*/;
841
842 virtual bool getRenderPlayerModel() const /*override*/;
843
844 virtual ::DeferredLighting& getDeferredLighting() /*override*/;
845
846 virtual float getGuiScale() const /*override*/;
847
848 virtual ::Option const& getGuiScaleOption() const /*override*/;
849
850 virtual int getGuiScaleOffset() const /*override*/;
851
852 virtual void setGuiScaleOffset(int guiScale) /*override*/;
853
854 virtual void renderImGui(::ScreenContext& screenContext, bool drawMenuBar) /*override*/;
855
856 virtual ::Bedrock::NotNullNonOwnerPtr<::GuiData> getGuiData() /*override*/;
857
858 virtual ::Bedrock::NotNullNonOwnerPtr<::GuiData const> getGuiData() const /*override*/;
859
860 virtual ::GuidedFlowManager& getGuidedFlowManager() /*override*/;
861
862 virtual ::PixelCalc const& getDpadScale() const /*override*/;
863
864 virtual ::Bedrock::NotNullNonOwnerPtr<::DateManager const> getDateManager() const /*override*/;
865
866 virtual void addOverrideHoursToDateTime(uint const hoursToAdd) /*override*/;
867
868 virtual ::ToastManager& getToastManager() /*override*/;
869
870 virtual ::ClipboardProxy<::ApplicationSignal::ClipboardCopy, ::ApplicationSignal::ClipboardPasteRequest>&
871 getClipboardManager() /*override*/;
872
873 virtual ::AbstractScene* getTopScene() /*override*/;
874
875 virtual ::AbstractScene const* getTopScene() const /*override*/;
876
877 virtual ::AbstractScene* getActiveScene() /*override*/;
878
879 virtual ::AbstractScene const* getActiveScene() const /*override*/;
880
881 virtual ::SceneFactory& getSceneFactory() const /*override*/;
882
883 virtual ::OreUI::SceneProvider& getSceneProvider() const /*override*/;
884
885 virtual ::ui::ScreenTechStackSelector& getScreenTechStackSelector() /*override*/;
886
887 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const> getClientSceneStack() const /*override*/;
888
889 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> getClientSceneStack() /*override*/;
890
891 virtual ::OreUI::Router& getClientUIRouter() const /*override*/;
892
893 virtual ::ISceneStack& getMainSceneStackInterface() /*override*/;
894
895 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> getMainSceneStack() /*override*/;
896
897 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const> getMainSceneStack() const /*override*/;
898
899 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const> getCurrentSceneStack() const /*override*/;
900
901 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> getCurrentSceneStack() /*override*/;
902
903 virtual ::OreUI::Router& getCurrentUIRouter() /*override*/;
904
905 virtual ::OreUI::Router const& getCurrentUIRouter() const /*override*/;
906
907 virtual ::OreUI::ITelemetry& getOreUITelemetry() /*override*/;
908
909 virtual ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> prepareSceneFor(
910 ::ui::SceneType const sceneTypeToFind,
911 ::std::function<::std::shared_ptr<::AbstractScene>()> createScreenCallback
912 ) /*override*/;
913
914 virtual ::CachedScenes& getCachedScenes() /*override*/;
915
916 virtual ::std::string getScreenName() const /*override*/;
917
918 virtual ::std::string getScreenTelemetry() const /*override*/;
919
920 virtual ::ui::SceneType getTopSceneType() const /*override*/;
921
922 virtual ::MobEffectsLayout& getMobEffectsLayout() /*override*/;
923
924 virtual ::std::string emoticonifyText(::std::string const& text) const /*override*/;
925
926 virtual ::std::string emoticonifyText(::std::string const& text, bool isGameTip) /*override*/;
927
928 virtual void onMobEffectsChange() /*override*/;
929
930 virtual void setUISize(int w, int h) /*override*/;
931
932 virtual void forEachVisibleScreen(::brstd::function_ref<void(::AbstractScene&)> callback) /*override*/;
933
934 virtual void forEachScreen(::brstd::function_ref<bool(::AbstractScene&)> callback, bool topDown) /*override*/;
935
936 virtual void forEachScreenConst(::brstd::function_ref<bool(::AbstractScene const&)> callback, bool topDown) const
937 /*override*/;
938
939 virtual bool updateSceneStack() /*override*/;
940
941 virtual void forEachAlwaysAcceptInputScreen(
942 ::std::function<void(::AbstractScene&)> callback,
943 ::AbstractScene const* ignoreScreen
944 ) /*override*/;
945
946 virtual void forEachAlwaysAcceptInputScreenWithTop(::std::function<void(::AbstractScene&)> callback) /*override*/;
947
948 virtual void showPlayerProfile(::std::string const& xuid, ::std::string const& platformId) /*override*/;
949
950 virtual bool isInGameInputEnabled() const /*override*/;
951
952 virtual void setInGameInputEnabled(bool isEnabled) /*override*/;
953
954 virtual ::Vec2 getSafeZoneScale() const /*override*/;
955
956 virtual void verifySkinApproval(
957 ::std::function<void(::std::string)> const& notApprovedCallback,
958 ::std::function<void()> const& approvedCallback
959 ) const /*override*/;
960
961 virtual ::InputMode getCurrentInputMode() const /*override*/;
962
963 virtual bool isTouchGameplayAllowed() const /*override*/;
964
965 virtual ::Bedrock::NonOwnerPointer<::MinecraftInputHandler> getMinecraftInput() const /*override*/;
966
967 virtual ::KeyboardManager& getKeyboardManager() /*override*/;
968
969 virtual void setLastPointerLocation(float x, float y, float z) /*override*/;
970
971 virtual void clearTouchPointerLocations() /*override*/;
972
973 virtual void clearTouchPointerLocation(int id) /*override*/;
974
975 virtual void updateTouchPointerLocation(int id, float x, float y) /*override*/;
976
977 virtual ::Vec3 getLastPointerLocation() /*override*/;
978
979 virtual ::Vec2 getTouchPointerLocation(int id) const /*override*/;
980
981 virtual void updateActionPointerId(int id) /*override*/;
982
983 virtual int getActionPointerId() const /*override*/;
984
985 virtual bool shouldUseLastPointerLocationOnFocusChange() /*override*/;
986
987 virtual bool currentScreenShouldStealMouse() /*override*/;
988
989 virtual ::BuildActionIntention& getInProgressBAI() const /*override*/;
990
991 virtual ::PacketSender& getPacketSender() /*override*/;
992
993 virtual ::ClientNetworkSystem& getClientNetworkSystem() /*override*/;
994
995 virtual ::ClientNetworkSystem const& getClientNetworkSystem() const /*override*/;
996
997 virtual ::glm::vec2 getGamepadCursorPosition() const /*override*/;
998
999 virtual void updateControlOptionState(uint id, bool active) /*override*/;
1000
1001 virtual void clearActiveControlOptions() /*override*/;
1002
1003 virtual ::std::set<uint> const& getActiveControlOptions() const /*override*/;
1004
1005 virtual ::std::vector<::OptionID> getActiveOptionIDs(::ControlOptionType controlOptionType) const /*override*/;
1006
1007 virtual void setNumberOfActiveConfigs(int numberOfActiveConfigs) /*override*/;
1008
1009 virtual int getNumberOfActiveConfigs() const /*override*/;
1010
1011 virtual bool isNoConfigSelected() const /*override*/;
1012
1013 virtual void setNumberOfEnabledConfigs(int numberOfEnabledConfigs) /*override*/;
1014
1015 virtual int getNumberOfEnabledConfigs() const /*override*/;
1016
1017 virtual void setWYSIWYGState(::WYSIWYGState wysiwygState) /*override*/;
1018
1019 virtual ::WYSIWYGState getWYSIWYGState() const /*override*/;
1020
1021 virtual void setOtherConfigsExistInThisCategory(bool otherConfigsExistInThisCategory) /*override*/;
1022
1023 virtual bool getOtherConfigsExistInThisCategory() const /*override*/;
1024
1025 virtual void setMoveTurnInput(::std::unique_ptr<::ClientMoveInputHandler> pClientMoveInputHandler) /*override*/;
1026
1027 virtual void setupPersistentControls(::InputMode currentMode) /*override*/;
1028
1029 virtual void resetPlayerMovement() /*override*/;
1030
1031 virtual void onClientInputInitComplete() /*override*/;
1032
1033 virtual void setClientInputHandler(::std::unique_ptr<::ClientInputHandler> pClientInputHandler) /*override*/;
1034
1035 virtual ::ClientInputHandler* getInput() const /*override*/;
1036
1037 virtual int getControllerId() const /*override*/;
1038
1039 virtual bool hasConnectedController() const /*override*/;
1040
1041 virtual ::SubClientId getClientSubId() const /*override*/;
1042
1043 virtual void setSuspendInput(bool suspendInput) /*override*/;
1044
1045 virtual void setSuspendDirectionalInput(bool suspendDirectionalInput) /*override*/;
1046
1047 virtual void setDisableInput(bool disableInput) /*override*/;
1048
1049 virtual void grabMouse() /*override*/;
1050
1051 virtual void releaseMouse() /*override*/;
1052
1053 virtual void refocusMouse(bool lostMouse) /*override*/;
1054
1055 virtual void setMouseType(::Bedrock::Input::PointerType type) /*override*/;
1056
1057 virtual void resetBai(int baiFlags) /*override*/;
1058
1059 virtual void clearInProgressBAI() /*override*/;
1060
1061 virtual ::Bedrock::NotNullNonOwnerPtr<::SoundEngine> getSoundEngine() const /*override*/;
1062
1063 virtual ::MusicManager const* getMusicManager() const /*override*/;
1064
1065 virtual ::MusicManager* getMusicManagerNonConst() const /*override*/;
1066
1067 virtual void play(::std::string const& name, ::Vec3 const& pos, float volume, float pitch) /*override*/;
1068
1069 virtual void playUI(::std::string const& name, float volume, float pitch) /*override*/;
1070
1071 virtual void muteAudio() /*override*/;
1072
1073 virtual void unMuteAudio() /*override*/;
1074
1075 virtual void fadeOutMusic() const /*override*/;
1076
1077 virtual ::TaskGroup& getTaskGroup() /*override*/;
1078
1079 virtual void onFullVanillaPackOnStack() /*override*/;
1080
1081 virtual bool isFullVanillaPackOnStack() const /*override*/;
1082
1083 virtual void onPlayerLoaded(::Player& player) /*override*/;
1084
1085 virtual void setClientGameMode(::GameType gameType) /*override*/;
1086
1087 virtual void resetToDefaultGameMode() /*override*/;
1088
1089 virtual ::IGameConnectionListener& getGameConnectionListener() /*override*/;
1090
1091 virtual void connectToThirdPartyServer(::std::string const& ipAddress, int port) /*override*/;
1092
1093 virtual void startExternalNetworkWorld(
1094 ::Social::GameConnectionInfo connection,
1095 ::std::string const& serverName,
1097 ) /*override*/;
1098
1099 virtual bool isReadyToReconnect() const /*override*/;
1100
1101 virtual bool checkForPiracy() /*override*/;
1102
1103 virtual void updateChatFilterStatus(::ProfanityContext& profanityContext) /*override*/;
1104
1105 virtual void updateControllerHandling() /*override*/;
1106
1107 virtual void onPlayerDestruction(::Player& player) /*override*/;
1108
1109 virtual void
1110 setBehaviorCommandCallback(::std::function<void(::std::string const&, ::BehaviorStatus)> callback) /*override*/;
1111
1112 virtual void setBehaviorCommandStatus(::std::string const& treeName, ::BehaviorStatus status) /*override*/;
1113
1114 virtual void setConnectGamepadScreenActive(bool active) /*override*/;
1115
1116 virtual ::Bedrock::Threading::Async<::Core::PathBuffer<::std::string>>
1117 requestScreenshot(::ScreenshotOptions& screenshotOptions) /*override*/;
1118
1119 virtual ::Bedrock::NotNullNonOwnerPtr<::DevConsoleLogger> getDevConsoleLogger() const /*override*/;
1120
1121 virtual ::std::shared_ptr<::FileDataRequest> requestImageFromUrl(
1122 ::std::string const& imageUrl,
1123 ::std::function<void(::Bedrock::Http::Status, ::Core::Path const&, uint64)> callback
1124 ) /*override*/;
1125
1126 virtual void setActiveFileStorageArea(::std::shared_ptr<::Core::FileStorageArea> storageArea) /*override*/;
1127
1128 virtual void onExtendDiskSpace(
1129 bool const bSet,
1130 ::std::weak_ptr<::Core::FileStorageArea> const& storageAreaWeakPtr,
1131 uint64 freeSpace,
1132 ::std::function<void()> onHandledEventCallback
1133 ) /*override*/;
1134
1135 virtual void onLowDiskSpace(bool const bSet, uint64 freeSpace) /*override*/;
1136
1137 virtual void onOutOfDiskSpace(bool const bSet, uint64 freeSpace) /*override*/;
1138
1139 virtual void onCriticalDiskError(bool const bSet, ::Core::LevelStorageState const& errorCode) /*override*/;
1140
1141 virtual void onLevelCorrupt() /*override*/;
1142
1143 virtual void onGameModeChanged() /*override*/;
1144
1145 virtual void onBeforeSimTick() /*override*/;
1146
1147 virtual void onTick(int nTick, int maxTick) /*override*/;
1148
1149 virtual void onInternetUpdate() /*override*/;
1150
1151 virtual void onGameSessionReset() /*override*/;
1152
1153 virtual void onLevelExit() /*override*/;
1154
1155 virtual void onRequestResourceReload() /*override*/;
1156
1157 virtual void updateScreens() /*override*/;
1158
1159 virtual void initializeRenderResources() /*override*/;
1160
1161 virtual void postInitRenderResources() /*override*/;
1162
1163 virtual void onAppSuspended() /*override*/;
1164
1165 virtual void onAppResumed() /*override*/;
1166
1167 virtual void onActiveResourcePacksChanged(
1168 ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup> const& entityResourceDefGroup
1169 ) /*override*/;
1170
1171 virtual void reloadEntityRenderers(
1172 ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup> const& actorResourceDefinitionGroup
1173 ) /*override*/;
1174
1175 virtual ::BlockTessellator& getBlockTessellator() /*override*/;
1176
1177 virtual ::BlockActorRenderDispatcher& getBlockEntityRenderDispatcher() /*override*/;
1178
1179 virtual ::std::shared_ptr<::ActorRenderDispatcher> getEntityRenderDispatcher() /*override*/;
1180
1181 virtual ::ActorBlockRenderer& getEntityBlockRenderer() /*override*/;
1182
1183 virtual ::ItemInHandRenderer* getItemInHandRenderer() /*override*/;
1184
1185 virtual ::ItemRenderer* getItemRenderer() /*override*/;
1186
1187 virtual ::HudIconActorRenderer* getHudIconActorRenderer() /*override*/;
1188
1189 virtual ::std::deque<::std::string>& getSentMessageHistory() /*override*/;
1190
1191 virtual ::std::deque<::std::string>& getDevConsoleMessageHistory() /*override*/;
1192
1193 virtual ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext> getProfanityContext() const /*override*/;
1194
1195 virtual void initTTSClient(::std::shared_ptr<::TextToSpeechClient> textToSpeechClient) /*override*/;
1196
1197 virtual ::std::shared_ptr<::TextToSpeechClient> getTTSClient() /*override*/;
1198
1199 virtual ::std::shared_ptr<::TextToSpeechClient const> getTTSClient() const /*override*/;
1200
1201 virtual ::std::shared_ptr<::ITTSEventManager> getTTSEventManager() /*override*/;
1202
1203 virtual void addTTSMessage(
1204 ::std::string const& message,
1205 ::ProfanityFilterContext profanityFilterContext,
1206 bool interruptible,
1207 ::std::string const& interruptibleId,
1208 bool required,
1209 bool disregardAppFocus
1210 ) /*override*/;
1211
1212 virtual void initCommands() /*override*/;
1213
1214 virtual uint getUserId() const /*override*/;
1215
1216 virtual bool isPrimaryUser() const /*override*/;
1217
1218 virtual double getServerConnectionTime() const /*override*/;
1219
1220 virtual void setServerPingTime(::std::chrono::milliseconds pingTime) /*override*/;
1221
1222 virtual ::std::chrono::milliseconds getServerPingTime() const /*override*/;
1223
1224 virtual void setDefaultPlayscreenTab(::PlayScreenDefaultTab defaultTab) /*override*/;
1225
1226 virtual void setClientInstanceState(::ClientInstanceState const& newstate) /*override*/;
1227
1228 virtual void setUIEventCoordinator(::Bedrock::UniqueOwnerPointer<::UIEventCoordinator>&& coordinator) /*override*/;
1229
1230 virtual ::Bedrock::NotNullNonOwnerPtr<::UIEventCoordinator> getUIEventCoordinator() /*override*/;
1231
1232 virtual ::Bedrock::NotNullNonOwnerPtr<::ClientInstanceEventCoordinator> getEventCoordinator() /*override*/;
1233
1234 virtual ::ClientNetworkEventCoordinator& getClientNetworkEventCoordinator() /*override*/;
1235
1236 virtual ::ClientScriptEventCoordinator& getClientScriptEventCoordinator() /*override*/;
1237
1238 virtual ::std::chrono::steady_clock::time_point getNoBlockBreakUntil() /*override*/;
1239
1240 virtual void setNoBlockBreakUntil(::std::chrono::steady_clock::time_point timePoint) /*override*/;
1241
1242 virtual ::GameCallbacks& getGameCallbacks() /*override*/;
1243
1244 virtual ::GameModuleClient* getGameModule() /*override*/;
1245
1246 virtual void setupStandardCommands() /*override*/;
1247
1248 virtual ::ClientHitDetectCoordinator& getHitEventCoordinator() /*override*/;
1249
1250 virtual void sendClientEnteredLevel() /*override*/;
1251
1252 virtual ::HitDetectSystem* getHitDetectSystem() /*override*/;
1253
1254 virtual bool isPlaying() const /*override*/;
1255
1256 virtual ::ClientInstanceState getClientInstanceState() const /*override*/;
1257
1258 virtual ::LatencyGraphDisplay* getLatencyGraphDisplay() const /*override*/;
1259
1260 virtual ::PlayerCapabilities::IClientController const& getClientCapabilities() const /*override*/;
1261
1262 virtual ::cg::math::Rect<float> calculateViewPortModifiers(
1263 ::SubClientId const clientId,
1264 uint64 const clientCount,
1265 ::SplitScreenDirection const splitScreenConfiguration
1266 ) const /*override*/;
1267
1268 virtual ::std::weak_ptr<::IClientInstance> getWeakPtrToThis() /*override*/;
1269
1270 virtual ::ClientRequirementVerifier const& getClientRequirementVerifier() const /*override*/;
1271
1272 virtual ::Bedrock::NotNullNonOwnerPtr<::FogDefinitionRegistry const> getFogDefinitionRegistry() const /*override*/;
1273
1274 virtual ::Bedrock::NotNullNonOwnerPtr<::FogDefinitionRegistry> getFogDefinitionRegistry() /*override*/;
1275
1276 virtual ::Bedrock::NotNullNonOwnerPtr<::FogManager const> getFogManager() const /*override*/;
1277
1278 virtual ::Bedrock::NotNullNonOwnerPtr<::FogManager> getFogManager() /*override*/;
1279
1280 virtual ::Bedrock::NotNullNonOwnerPtr<::ScreenLoadTimeTracker> getScreenLoadTimeTracker() /*override*/;
1281
1282 virtual ::ItemRegistryRef getItemRegistry() const /*override*/;
1283
1284 virtual ::Bedrock::NotNullNonOwnerPtr<::DisconnectionRequestHandler> getDisconnectionRequestHandler() const
1285 /*override*/;
1286
1287 virtual float getRemoteServerTimeMs() const /*override*/;
1288
1289 virtual void setRemoteServerTimeMs(float time) /*override*/;
1290
1291 virtual float getRemoteServerNetworkTimeMs() const /*override*/;
1292
1293 virtual void setRemoteServerNetworkTimeMs(float time) /*override*/;
1294
1295 virtual ::Bedrock::NonOwnerPointer<::GameClientScriptManager> getGameClientScriptManager() /*override*/;
1296
1297 virtual ::Scripting::ScriptEngine* getScriptingEngine() /*override*/;
1298
1299 virtual ::Bedrock::NonOwnerPointer<::WorldTransferAgent> const getWorldTransferAgent() const /*override*/;
1300
1301 virtual ::Bedrock::NotNullNonOwnerPtr<::PlayerReportHandler> getPlayerReportHandler() /*override*/;
1302
1303 virtual ::Bedrock::NonOwnerPointer<::LinkedAssetValidator> getLinkedAssetValidator() /*override*/;
1304
1305 virtual void flagDisconnectionAndNotify(::Connection::DisconnectFailReason disconnectReason) /*override*/;
1306
1307 virtual void flagDisconnectionAndNotifyWithParams(::DisconnectionScreenParams const& params) /*override*/;
1308
1309 virtual void disconnectSubClient(::Connection::DisconnectFailReason disconnectReason) /*override*/;
1310
1311 virtual void setClientUpdateAndRenderThrottling(bool enabled, int threshold, float scalar) /*override*/;
1312
1313 virtual bool isClientUpdateAndRenderThrottlingEnabled() const /*override*/;
1314
1315 virtual int getClientUpdateAndRenderThrottlingThreshold() const /*override*/;
1316
1317 virtual float getClientUpdateAndRenderThrottlingScalar() const /*override*/;
1318
1319 virtual bool isUserBanned() const /*override*/;
1320
1321 virtual bool isEligibleForPauseFeature() const /*override*/;
1322
1323 virtual void setupPauseManagers() /*override*/;
1324
1325 virtual bool requestInGamePause(bool status) /*override*/;
1326
1327 virtual void openContentLogHistory() /*override*/;
1328
1329 virtual double getGameUpdateDurationInSeconds() const /*override*/;
1330
1331 virtual ::std::optional<::ConnectionContextInfo> getConnectionContextInfo() const /*override*/;
1332
1333 virtual ::Bedrock::NonOwnerPointer<::PersonaClient> tryGetPersonaClient() const /*override*/;
1334 // NOLINTEND
1335
1336public:
1337 // member functions
1338 // NOLINTBEGIN
1339 MCAPI explicit ClientInstance(::ClientInstanceArguments&& args);
1340
1342 ::Connection::DisconnectFailReason failReason,
1343 ::std::string const& titleMessage,
1344 ::std::string const& errorMessage,
1345 ::std::string const& codeword
1346 );
1347
1349
1350 MCNAPI bool _isEditorModeOrInEditorWorld() const;
1351
1352 MCNAPI bool _isShowingScreen(::std::string_view screenName) const;
1353
1354 MCNAPI void _joinWorldInProgressSubclient(::std::optional<::ConnectionContextInfo> primaryConnectionInfo);
1355
1357 ::Connection::DisconnectFailReason reason,
1358 ::std::string const& telemetryMessage,
1359 ::std::string const& errorDescriptionOverride
1360 );
1361
1362 MCNAPI void _perspectiveOptionChanged(::Option const&);
1363
1364 MCAPI void _requestLeaveGameImpl(bool const switchScreen, bool const sync);
1365
1367
1368 MCAPI void _startLeaveGame();
1369
1370 MCNAPI void _startWorldPrimaryClient(::PlayerAuthenticationType authType, ::RawGameServerToken&& token);
1371
1372 MCNAPI void _startWorldSubClient(::PlayerAuthenticationType authType, ::RawGameServerToken&& token);
1373
1374 MCNAPI ::std::shared_ptr<void const> _teardown();
1375
1376 MCAPI void
1377 _tickBuildAction(::HitResult const& solidHitResult_, ::HitResult const& liquidHitResult_, bool advanceTime);
1378
1379 MCNAPI void _updateScreenSizeVariables(::Vec2 const& totalScreenSize, ::Vec2 const& safeZone);
1380
1381 MCNAPI void fireEventDiskStatus(::DiskStatus status, ::Core::LevelStorageState errorCode);
1382
1384 ::DisconnectionScreenParams const& params,
1385 ::Connection::UIReturnTarget uiReturnTarget
1386 );
1387
1388 MCNAPI void
1389 setManagedChatClient(::Bedrock::NonOwnerPointer<::Social::ManagedChat::ManagedChatClient> managedChatClient);
1390 // NOLINTEND
1391
1392public:
1393 // constructor thunks
1394 // NOLINTBEGIN
1395 MCAPI void* $ctor(::ClientInstanceArguments&& args);
1396 // NOLINTEND
1397
1398public:
1399 // virtual function thunks
1400 // NOLINTBEGIN
1402
1404
1405 MCNAPI void $init(::ClientInstanceInitArguments&& args);
1406
1408 ::std::unique_ptr<::SceneFactory> sceneFactory,
1409 ::std::unique_ptr<::OreUI::SceneProvider> sceneProvider
1410 );
1411
1412 MCNAPI void $setUiRouter(::std::unique_ptr<::OreUI::Router> uiRouter);
1413
1414 MCNAPI void $initGraphics();
1415
1416 MCNAPI void $stop();
1417
1418 MCNAPI void $preShutDown();
1419
1420 MCNAPI void $setGameConnectionInfo(::Social::GameConnectionInfo const& gameConnection);
1421
1422 MCNAPI ::std::optional<::Social::GameConnectionInfo> $getGameConnectionInfo();
1423
1424 MCAPI void $onStartJoinGame(
1425 bool isLocalServer,
1426 ::std::string const& multiplayerCorrelationId,
1427 ::std::string const& serverName,
1428 ::std::string const& worldName,
1429 ::NetworkType networkType,
1430 ::Social::MultiplayerServiceIdentifier service,
1432 );
1433
1434 MCNAPI void $onStartLocalServer(::std::string const& worldName);
1435
1436 MCAPI void $onCancelJoinGame();
1437
1439
1440 MCNAPI void $requestLeaveGame(bool switchScreen, bool sync);
1441
1442 MCNAPI void $stopPlayScreen();
1443
1444 MCNAPI bool $isLeaveGameDone() const;
1445
1447
1449
1450 MCNAPI void $resetPrimaryClient();
1451
1452 MCNAPI void $resetGameSession();
1453
1454 MCNAPI void $tick();
1455
1456 MCNAPI void $frameUpdate(::FrameUpdateContext& frameUpdateContext);
1457
1458 MCNAPI void $preFrameTick();
1459
1460 MCAPI bool $update(bool isInitFinished, bool allowGameUpdate);
1461
1462 MCNAPI void $endFrame();
1463
1464 MCNAPI float $getFrameAlpha();
1465
1467 bool hasXBLBroadcast,
1468 ::std::unique_ptr<::GameModuleClient> gameModuleClient,
1469 ::std::optional<::ConnectionContextInfo> primaryConnectionInfo
1470 );
1471
1472 MCNAPI ::Bedrock::Threading::Async<::ClientGameSetupResult> $setupClientGame(
1473 bool joiningLocalServer,
1474 ::ServerSupportedAuthenticationTypes supportedAuth,
1475 ::std::unique_ptr<::GameModuleClient> gameModuleClient
1476 );
1477
1479
1480 MCNAPI ::LocalPlayer* $getLocalPlayer() const;
1481
1483
1484 MCNAPI ::Bedrock::NonOwnerPointer<::Editor::IEditorPlayer> $getLocalEditorPlayer() const;
1485
1486 MCNAPI ::Bedrock::NonOwnerPointer<::Editor::IEditorManager> $getEditorManager() const;
1487
1488 MCNAPI bool $isPlayerInEditor() const;
1489
1491
1493
1494 MCNAPI ::Actor* $getCameraActor() const;
1495
1496 MCNAPI void $setCameraActor(::Actor* cameraActor);
1497
1498 MCNAPI ::ListenerState const* $getListenerState() const;
1499
1500 MCNAPI ::Actor* $getCameraTargetActor() const;
1501
1502 MCNAPI void $setCameraTargetActor(::Actor* cameraTargetActor);
1503
1505
1506 MCNAPI void $getRawCameraEntities(::WeakEntityRef& cameraEntity, ::WeakEntityRef& cameraTargetEntity) const;
1507
1508 MCNAPI void $setRawCameraEntities(::WeakEntityRef cameraEntity, ::WeakEntityRef cameraTargetEntity);
1509
1510 MCNAPI ::HitResult const& $getLatestHitResult() const;
1511
1512 MCNAPI bool $isLeavingGame() const;
1513
1514 MCNAPI bool $isDestroyingGame() const;
1515
1516 MCNAPI bool $isShuttingDown() const;
1517
1518 MCNAPI bool $useLowFrequencyUIRender() const;
1519
1520 MCNAPI bool $isSplitScreenActive() const;
1521
1522 MCNAPI bool $isExitingLevel() const;
1523
1524 MCNAPI bool $isInBedScreen() const;
1525
1526 MCNAPI bool $isInDeathScreen() const;
1527
1528 MCNAPI bool $isKeyboardEnabled() const;
1529
1530 MCNAPI bool $hasCommands() const;
1531
1532 MCNAPI int $getSplitScreenCount() const;
1533
1534 MCNAPI bool $isShowingLoadingScreen() const;
1535
1537
1538 MCNAPI bool $isGamePlayTipsEnabled() const;
1539
1540 MCNAPI bool $isPlatformNX() const;
1541
1542 MCNAPI bool $isLocalSplitscreenWith(::ActorUniqueID const& id) const;
1543
1544 MCNAPI bool $isValidCrossPlatformSkin(bool valueIfNull) const;
1545
1546 MCNAPI bool $isSelectedSkinInitialized() const;
1547
1549
1551
1553
1554 MCNAPI ::ClientPlayMode $getClientPlayMode() const;
1555
1556 MCNAPI void $setClientPlayMode(::ClientPlayMode const& mode);
1557
1558 MCNAPI ::std::function<void()> $getCreditsCallback();
1559
1560 MCNAPI void $setCreditsCallback(::std::function<void()> callback);
1561
1562 MCNAPI void $setupTransitionForCredits(::std::function<void()> callback);
1563
1565
1566 MCNAPI void $onScreenSizeChanged(int width, int height);
1567
1569
1570 MCNAPI void $onSafeZoneChanged();
1571
1572 MCNAPI bool $hasDismissedNewPlayerFlow() const;
1573
1574 MCNAPI void $quit(::std::string const& src, ::std::string const& reason);
1575
1576 MCFOLD ::IMinecraftGame& $getMinecraftGame_DEPRECATED() const;
1577
1579
1580 MCNAPI ::World::WorldSystem& $getWorldSystem() const;
1581
1582 MCNAPI bool $isWorldSystemReady() const;
1583
1584 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Automation::AutomationClient> $getAutomationClient() const;
1585
1586 MCNAPI ::Bedrock::NonOwnerPointer<::EduSystems> $getEduSystems();
1587
1588 MCNAPI ::Bedrock::NonOwnerPointer<::EduSystems const> $getEduSystems() const;
1589
1591
1593
1594 MCAPI ::FontHandle $getFontHandle() const;
1595
1597
1599
1600 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::GeometryGroup> $getGeometryGroup() const;
1601
1602 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::BlockCullingGroup> $getBlockCullingGroup() const;
1603
1604 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Social::MultiplayerServiceManager> $getMultiplayerServiceManager() const;
1605
1607
1609
1611
1612 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::IContentKeyProvider const> $getKeyProvider() const;
1613
1614 MCNAPI ::PacksInfoData const& $getHostSpecifiedPacks() const;
1615
1616 MCNAPI ::std::shared_ptr<::SkinRepository> $getSkinRepository() const;
1617
1619
1620 MCNAPI ::MarketplaceServicesManager& $getMarketplaceServicesManager() const;
1621
1623
1624 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::StoreCatalogRepository> $getStoreCatalogRepository();
1625
1626 MCNAPI ::std::shared_ptr<::mce::TextureGroup> $getTextureGroup() const;
1627
1628 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::mce::TextureGroup> $getStoreCacheTextures() const;
1629
1630 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::MinecraftGraphics> $getMinecraftGraphics() const;
1631
1632 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::IUIRepository> $getUIRepository() const;
1633
1634 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Social::IUserManager> $getUserManager() const;
1635
1636 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::TrialManager> $getTrialManager() const;
1637
1638 MCNAPI bool $wantToQuit() const;
1639
1641
1642 MCNAPI bool $isPrimaryLevelMultiplayer() const;
1643
1644 MCNAPI bool $isAdhocEnabled() const;
1645
1646 MCNAPI ::std::shared_ptr<::ActorAnimationGroup> $getActorAnimationGroup() const;
1647
1648 MCNAPI bool $isMarketplaceDisabled() const;
1649
1650 MCNAPI ::std::pair<::StoreErrorCodes, ::std::string> const $getMarketplaceDisabledReasonWithErrorCode() const;
1651
1652 MCNAPI void $linkToOffer(::std::string const& productId, bool allowWhileInGame);
1653
1654 MCNAPI void $linkToPage(::std::string const& pageId);
1655
1656 MCNAPI void $linkTo3PServerOffers(::std::string const& pageId, ::std::string const& creatorName);
1657
1658 MCNAPI void $navigateToMarketplaceInventoryScreen(::InventoryTabIndex tabIndex);
1659
1661
1662 MCNAPI void $navigateToCoinPurchaseScreen(int neededCoins, ::std::function<void(bool, int)> callback);
1663
1664 MCNAPI void $navigateToPurchaseOfferScreen(::StoreCatalogItem& item, ::StoreNavigationOrigin);
1665
1666 MCNAPI void $navigateToDressingRoomOfferScreen(::std::string const& offerId);
1667
1668 MCNAPI bool $navigateToProfileScreen(::std::string const&, bool const preventProgressScreen);
1669
1670 MCNAPI void $navigateToServersScreen(bool const calledFromHyperlink);
1671
1672 MCNAPI void $navigateToHowToPlayScreen(::std::string const& startTopic);
1673
1674 MCNAPI void $navigateToMarketplacePassPDPScreen(::MarketplacePassTabIndex tabIndex);
1675
1676 MCNAPI void $navigateToRealmsStoriesTransitionScreen(::Realms::World const& world);
1677
1679
1681
1682 MCNAPI bool $isReadyToRender() const;
1683
1685
1686 MCNAPI void $onGameEventNotification(::ui::GameEventNotification notification);
1687
1688 MCNAPI ::std::string $getTopScreenName() const;
1689
1691
1692 MCNAPI void $stopDestroying();
1693
1695 ::std::pair<::std::unique_ptr<::Level>, ::OwnerPtr<::EntityContext>> levelEntity,
1696 ::OwnerPtr<::EntityContext> userEntity
1697 );
1698
1700
1702
1703 MCNAPI void $createPlayerAuthentication(uint64 clientRandomId);
1704
1705 MCNAPI ::std::string $getPlatformId() const;
1706
1707 MCNAPI ::std::string $getPlatformOnlineId() const;
1708
1709 MCNAPI bool $useController() const;
1710
1711 MCNAPI bool $useTouchscreen() const;
1712
1713 MCNAPI bool $getMouseGrabbed() const;
1714
1716
1717 MCNAPI bool $allowPicking() const;
1718
1719 MCNAPI bool $isShowingMenu() const;
1720
1721 MCNAPI bool $isShowingPauseScreen() const;
1722
1723 MCNAPI bool $isShowingProgressScreen() const;
1724
1726
1728
1729 MCNAPI bool $isShowingDeathScreen() const;
1730
1731 MCNAPI bool $isShowingServerForm() const;
1732
1733 MCNAPI bool $isScreenReplaceable() const;
1734
1736
1737 MCNAPI bool $isWorldActive() const;
1738
1739 MCNAPI bool $isInRealm();
1740
1741 MCNAPI bool $readyForShutdown() const;
1742
1743 MCNAPI bool $isPrimaryClient() const;
1744
1745 MCNAPI bool $isEduMode() const;
1746
1747 MCNAPI bool $isGamepadCursorEnabled() const;
1748
1749 MCNAPI bool $isInControlCustomization() const;
1750
1751 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Minecraft> $getServerData();
1752
1753 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::Minecraft const> $getServerData() const;
1754
1756
1757 MCNAPI ::ClientLevel const* $getLevel() const;
1758
1759 MCNAPI bool $hasLevel() const;
1760
1761 MCNAPI bool $isPreGame() const;
1762
1763 MCNAPI bool $isInMultiplayerGame() const;
1764
1765 MCNAPI bool $isMultiPlayerClient() const;
1766
1768
1769 MCNAPI ::IOptionRegistry const& $getOptions() const;
1770
1772
1773 MCNAPI ::std::shared_ptr<::OptionRegistry> $getOptionsPtr();
1774
1775 MCNAPI ::std::shared_ptr<::OptionRegistry const> const $getOptionsPtr() const;
1776
1777 MCNAPI ::std::shared_ptr<::Social::User> const& $getUser() const;
1778
1779 MCNAPI ::std::shared_ptr<::Settings::IRegistry> $getSettingsRegistry();
1780
1781 MCNAPI ::Option const& $getShowLearningPromptsOption() const;
1782
1784
1786
1787 MCNAPI double $getControlTipsTimeElapsed() const;
1788
1790
1792
1794
1796
1797 MCNAPI ::Bedrock::NonOwnerPointer<::CameraRegistry> $getCameraRegistry();
1798
1799 MCNAPI ::Bedrock::NonOwnerPointer<::CameraRegistry const> $getCameraRegistry() const;
1800
1801 MCNAPI ::Bedrock::NonOwnerPointer<::EntitySystems> $getCameraSystems();
1802
1804
1805 MCNAPI void $setupLevelRendering(::ClientLevel& level, ::WeakEntityRef cameraTargetEntity);
1806
1807 MCNAPI ::mce::ViewportInfo const& $getViewportInfo() const;
1808
1809 MCNAPI void $setViewportInfo(::mce::ViewportInfo const& viewportInfo);
1810
1812
1813 MCNAPI void $updateChunkRadius();
1814
1815 MCNAPI void $setUITexture(::mce::Texture* tex);
1816
1817 MCNAPI ::mce::Texture* $getUITexture();
1818
1819 MCNAPI void $setLevelTexture(::mce::Texture* tex);
1820
1821 MCNAPI ::mce::Texture* $getLevelTexture();
1822
1823 MCNAPI void $setUICursorTexture(::mce::TexturePtr tex);
1824
1825 MCNAPI ::mce::TexturePtr $getUICursorTexture() const;
1826
1827 MCNAPI ::mce::Camera& $getCamera();
1828
1830
1832
1833 MCNAPI void $clearGraphicsCache();
1834
1835 MCNAPI void $getNormalizedUICursorTransform(::MatrixStack::MatrixStackRef& matrix, float cursorHalfSizeTexels);
1836
1837 MCAPI bool $shouldRenderUICursor() const;
1838
1839 MCNAPI bool $getRenderPlayerModel() const;
1840
1842
1843 MCNAPI float $getGuiScale() const;
1844
1845 MCNAPI ::Option const& $getGuiScaleOption() const;
1846
1847 MCNAPI int $getGuiScaleOffset() const;
1848
1849 MCNAPI void $setGuiScaleOffset(int guiScale);
1850
1851 MCNAPI void $renderImGui(::ScreenContext& screenContext, bool drawMenuBar);
1852
1853 MCAPI ::Bedrock::NotNullNonOwnerPtr<::GuiData> $getGuiData();
1854
1855 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::GuiData const> $getGuiData() const;
1856
1858
1859 MCNAPI ::PixelCalc const& $getDpadScale() const;
1860
1861 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::DateManager const> $getDateManager() const;
1862
1863 MCNAPI void $addOverrideHoursToDateTime(uint const hoursToAdd);
1864
1866
1867 MCNAPI ::ClipboardProxy<::ApplicationSignal::ClipboardCopy, ::ApplicationSignal::ClipboardPasteRequest>&
1869
1871
1872 MCNAPI ::AbstractScene const* $getTopScene() const;
1873
1875
1876 MCNAPI ::AbstractScene const* $getActiveScene() const;
1877
1878 MCAPI ::SceneFactory& $getSceneFactory() const;
1879
1880 MCNAPI ::OreUI::SceneProvider& $getSceneProvider() const;
1881
1882 MCNAPI ::ui::ScreenTechStackSelector& $getScreenTechStackSelector();
1883
1884 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const> $getClientSceneStack() const;
1885
1886 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> $getClientSceneStack();
1887
1888 MCNAPI ::OreUI::Router& $getClientUIRouter() const;
1889
1891
1892 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> $getMainSceneStack();
1893
1894 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const> $getMainSceneStack() const;
1895
1896 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack const> $getCurrentSceneStack() const;
1897
1898 MCAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> $getCurrentSceneStack();
1899
1900 MCAPI ::OreUI::Router& $getCurrentUIRouter();
1901
1902 MCNAPI ::OreUI::Router const& $getCurrentUIRouter() const;
1903
1904 MCNAPI ::OreUI::ITelemetry& $getOreUITelemetry();
1905
1906 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ISceneStack> $prepareSceneFor(
1907 ::ui::SceneType const sceneTypeToFind,
1908 ::std::function<::std::shared_ptr<::AbstractScene>()> createScreenCallback
1909 );
1910
1912
1913 MCNAPI ::std::string $getScreenName() const;
1914
1915 MCNAPI ::std::string $getScreenTelemetry() const;
1916
1917 MCNAPI ::ui::SceneType $getTopSceneType() const;
1918
1920
1921 MCNAPI ::std::string $emoticonifyText(::std::string const& text) const;
1922
1923 MCNAPI ::std::string $emoticonifyText(::std::string const& text, bool isGameTip);
1924
1925 MCNAPI void $onMobEffectsChange();
1926
1927 MCNAPI void $setUISize(int w, int h);
1928
1929 MCNAPI void $forEachVisibleScreen(::brstd::function_ref<void(::AbstractScene&)> callback);
1930
1931 MCNAPI void $forEachScreen(::brstd::function_ref<bool(::AbstractScene&)> callback, bool topDown);
1932
1933 MCNAPI void $forEachScreenConst(::brstd::function_ref<bool(::AbstractScene const&)> callback, bool topDown) const;
1934
1935 MCNAPI bool $updateSceneStack();
1936
1938 ::std::function<void(::AbstractScene&)> callback,
1939 ::AbstractScene const* ignoreScreen
1940 );
1941
1943
1944 MCNAPI void $showPlayerProfile(::std::string const& xuid, ::std::string const& platformId);
1945
1946 MCNAPI bool $isInGameInputEnabled() const;
1947
1948 MCNAPI void $setInGameInputEnabled(bool isEnabled);
1949
1950 MCNAPI ::Vec2 $getSafeZoneScale() const;
1951
1953 ::std::function<void(::std::string)> const& notApprovedCallback,
1954 ::std::function<void()> const& approvedCallback
1955 ) const;
1956
1957 MCNAPI ::InputMode $getCurrentInputMode() const;
1958
1959 MCNAPI bool $isTouchGameplayAllowed() const;
1960
1961 MCNAPI ::Bedrock::NonOwnerPointer<::MinecraftInputHandler> $getMinecraftInput() const;
1962
1964
1965 MCNAPI void $setLastPointerLocation(float x, float y, float z);
1966
1968
1969 MCNAPI void $clearTouchPointerLocation(int id);
1970
1971 MCNAPI void $updateTouchPointerLocation(int id, float x, float y);
1972
1974
1975 MCNAPI ::Vec2 $getTouchPointerLocation(int id) const;
1976
1977 MCNAPI void $updateActionPointerId(int id);
1978
1979 MCNAPI int $getActionPointerId() const;
1980
1982
1984
1986
1988
1990
1992
1993 MCNAPI ::glm::vec2 $getGamepadCursorPosition() const;
1994
1995 MCNAPI void $updateControlOptionState(uint id, bool active);
1996
1998
1999 MCNAPI ::std::set<uint> const& $getActiveControlOptions() const;
2000
2001 MCNAPI ::std::vector<::OptionID> $getActiveOptionIDs(::ControlOptionType controlOptionType) const;
2002
2003 MCNAPI void $setNumberOfActiveConfigs(int numberOfActiveConfigs);
2004
2005 MCNAPI int $getNumberOfActiveConfigs() const;
2006
2007 MCNAPI bool $isNoConfigSelected() const;
2008
2009 MCNAPI void $setNumberOfEnabledConfigs(int numberOfEnabledConfigs);
2010
2011 MCNAPI int $getNumberOfEnabledConfigs() const;
2012
2013 MCNAPI void $setWYSIWYGState(::WYSIWYGState wysiwygState);
2014
2015 MCNAPI ::WYSIWYGState $getWYSIWYGState() const;
2016
2017 MCNAPI void $setOtherConfigsExistInThisCategory(bool otherConfigsExistInThisCategory);
2018
2020
2021 MCNAPI void $setMoveTurnInput(::std::unique_ptr<::ClientMoveInputHandler> pClientMoveInputHandler);
2022
2023 MCNAPI void $setupPersistentControls(::InputMode currentMode);
2024
2026
2028
2029 MCNAPI void $setClientInputHandler(::std::unique_ptr<::ClientInputHandler> pClientInputHandler);
2030
2032
2033 MCNAPI int $getControllerId() const;
2034
2035 MCNAPI bool $hasConnectedController() const;
2036
2037 MCNAPI ::SubClientId $getClientSubId() const;
2038
2039 MCNAPI void $setSuspendInput(bool suspendInput);
2040
2041 MCNAPI void $setSuspendDirectionalInput(bool suspendDirectionalInput);
2042
2043 MCNAPI void $setDisableInput(bool disableInput);
2044
2045 MCAPI void $grabMouse();
2046
2047 MCNAPI void $releaseMouse();
2048
2049 MCNAPI void $refocusMouse(bool lostMouse);
2050
2051 MCNAPI void $setMouseType(::Bedrock::Input::PointerType type);
2052
2053 MCNAPI void $resetBai(int baiFlags);
2054
2055 MCNAPI void $clearInProgressBAI();
2056
2057 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::SoundEngine> $getSoundEngine() const;
2058
2059 MCNAPI ::MusicManager const* $getMusicManager() const;
2060
2062
2063 MCNAPI void $play(::std::string const& name, ::Vec3 const& pos, float volume, float pitch);
2064
2065 MCNAPI void $playUI(::std::string const& name, float volume, float pitch);
2066
2067 MCNAPI void $muteAudio();
2068
2069 MCNAPI void $unMuteAudio();
2070
2071 MCNAPI void $fadeOutMusic() const;
2072
2074
2076
2077 MCNAPI bool $isFullVanillaPackOnStack() const;
2078
2079 MCAPI void $onPlayerLoaded(::Player& player);
2080
2081 MCNAPI void $setClientGameMode(::GameType gameType);
2082
2084
2086
2087 MCNAPI void $connectToThirdPartyServer(::std::string const& ipAddress, int port);
2088
2090 ::Social::GameConnectionInfo connection,
2091 ::std::string const& serverName,
2093 );
2094
2095 MCNAPI bool $isReadyToReconnect() const;
2096
2097 MCNAPI bool $checkForPiracy();
2098
2099 MCNAPI void $updateChatFilterStatus(::ProfanityContext& profanityContext);
2100
2102
2103 MCNAPI void $onPlayerDestruction(::Player& player);
2104
2105 MCNAPI void $setBehaviorCommandCallback(::std::function<void(::std::string const&, ::BehaviorStatus)> callback);
2106
2107 MCNAPI void $setBehaviorCommandStatus(::std::string const& treeName, ::BehaviorStatus status);
2108
2109 MCNAPI void $setConnectGamepadScreenActive(bool active);
2110
2111 MCNAPI ::Bedrock::Threading::Async<::Core::PathBuffer<::std::string>>
2113
2114 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::DevConsoleLogger> $getDevConsoleLogger() const;
2115
2117 ::std::string const& imageUrl,
2118 ::std::function<void(::Bedrock::Http::Status, ::Core::Path const&, uint64)> callback
2119 );
2120
2121 MCNAPI void $setActiveFileStorageArea(::std::shared_ptr<::Core::FileStorageArea> storageArea);
2122
2124 bool const bSet,
2125 ::std::weak_ptr<::Core::FileStorageArea> const& storageAreaWeakPtr,
2126 uint64 freeSpace,
2127 ::std::function<void()> onHandledEventCallback
2128 );
2129
2130 MCNAPI void $onLowDiskSpace(bool const bSet, uint64 freeSpace);
2131
2132 MCNAPI void $onOutOfDiskSpace(bool const bSet, uint64 freeSpace);
2133
2134 MCNAPI void $onCriticalDiskError(bool const bSet, ::Core::LevelStorageState const& errorCode);
2135
2136 MCNAPI void $onLevelCorrupt();
2137
2138 MCNAPI void $onGameModeChanged();
2139
2140 MCNAPI void $onBeforeSimTick();
2141
2142 MCNAPI void $onTick(int nTick, int maxTick);
2143
2144 MCNAPI void $onInternetUpdate();
2145
2146 MCNAPI void $onGameSessionReset();
2147
2148 MCAPI void $onLevelExit();
2149
2151
2152 MCNAPI void $updateScreens();
2153
2155
2157
2158 MCNAPI void $onAppSuspended();
2159
2160 MCNAPI void $onAppResumed();
2161
2162 MCAPI void $onActiveResourcePacksChanged(
2163 ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup> const& entityResourceDefGroup
2164 );
2165
2167 ::Bedrock::NotNullNonOwnerPtr<::ActorResourceDefinitionGroup> const& actorResourceDefinitionGroup
2168 );
2169
2171
2173
2175
2177
2179
2180 MCFOLD ::ItemRenderer* $getItemRenderer();
2181
2183
2184 MCNAPI ::std::deque<::std::string>& $getSentMessageHistory();
2185
2186 MCNAPI ::std::deque<::std::string>& $getDevConsoleMessageHistory();
2187
2188 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ProfanityContext> $getProfanityContext() const;
2189
2190 MCNAPI void $initTTSClient(::std::shared_ptr<::TextToSpeechClient> textToSpeechClient);
2191
2192 MCNAPI ::std::shared_ptr<::TextToSpeechClient> $getTTSClient();
2193
2194 MCNAPI ::std::shared_ptr<::TextToSpeechClient const> $getTTSClient() const;
2195
2196 MCNAPI ::std::shared_ptr<::ITTSEventManager> $getTTSEventManager();
2197
2198 MCNAPI void $addTTSMessage(
2199 ::std::string const& message,
2200 ::ProfanityFilterContext profanityFilterContext,
2201 bool interruptible,
2202 ::std::string const& interruptibleId,
2203 bool required,
2204 bool disregardAppFocus
2205 );
2206
2207 MCNAPI void $initCommands();
2208
2209 MCNAPI uint $getUserId() const;
2210
2211 MCNAPI bool $isPrimaryUser() const;
2212
2213 MCNAPI double $getServerConnectionTime() const;
2214
2215 MCNAPI void $setServerPingTime(::std::chrono::milliseconds pingTime);
2216
2217 MCNAPI ::std::chrono::milliseconds $getServerPingTime() const;
2218
2219 MCNAPI void $setDefaultPlayscreenTab(::PlayScreenDefaultTab defaultTab);
2220
2221 MCNAPI void $setClientInstanceState(::ClientInstanceState const& newstate);
2222
2223 MCNAPI void $setUIEventCoordinator(::Bedrock::UniqueOwnerPointer<::UIEventCoordinator>&& coordinator);
2224
2225 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::UIEventCoordinator> $getUIEventCoordinator();
2226
2227 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ClientInstanceEventCoordinator> $getEventCoordinator();
2228
2230
2232
2233 MCNAPI ::std::chrono::steady_clock::time_point $getNoBlockBreakUntil();
2234
2235 MCNAPI void $setNoBlockBreakUntil(::std::chrono::steady_clock::time_point timePoint);
2236
2238
2240
2242
2244
2246
2248
2249 MCNAPI bool $isPlaying() const;
2250
2251 MCFOLD ::ClientInstanceState $getClientInstanceState() const;
2252
2254
2255 MCNAPI ::PlayerCapabilities::IClientController const& $getClientCapabilities() const;
2256
2257 MCNAPI ::cg::math::Rect<float> $calculateViewPortModifiers(
2258 ::SubClientId const clientId,
2259 uint64 const clientCount,
2260 ::SplitScreenDirection const splitScreenConfiguration
2261 ) const;
2262
2263 MCNAPI ::std::weak_ptr<::IClientInstance> $getWeakPtrToThis();
2264
2266
2267 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::FogDefinitionRegistry const> $getFogDefinitionRegistry() const;
2268
2269 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::FogDefinitionRegistry> $getFogDefinitionRegistry();
2270
2271 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::FogManager const> $getFogManager() const;
2272
2273 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::FogManager> $getFogManager();
2274
2275 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::ScreenLoadTimeTracker> $getScreenLoadTimeTracker();
2276
2278
2279 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::DisconnectionRequestHandler> $getDisconnectionRequestHandler() const;
2280
2281 MCNAPI float $getRemoteServerTimeMs() const;
2282
2283 MCNAPI void $setRemoteServerTimeMs(float time);
2284
2285 MCNAPI float $getRemoteServerNetworkTimeMs() const;
2286
2287 MCNAPI void $setRemoteServerNetworkTimeMs(float time);
2288
2289 MCNAPI ::Bedrock::NonOwnerPointer<::GameClientScriptManager> $getGameClientScriptManager();
2290
2291 MCNAPI ::Scripting::ScriptEngine* $getScriptingEngine();
2292
2293 MCNAPI ::Bedrock::NonOwnerPointer<::WorldTransferAgent> const $getWorldTransferAgent() const;
2294
2295 MCNAPI ::Bedrock::NotNullNonOwnerPtr<::PlayerReportHandler> $getPlayerReportHandler();
2296
2297 MCNAPI ::Bedrock::NonOwnerPointer<::LinkedAssetValidator> $getLinkedAssetValidator();
2298
2299 MCNAPI void $flagDisconnectionAndNotify(::Connection::DisconnectFailReason disconnectReason);
2300
2301 MCAPI void $flagDisconnectionAndNotifyWithParams(::DisconnectionScreenParams const& params);
2302
2303 MCNAPI void $disconnectSubClient(::Connection::DisconnectFailReason disconnectReason);
2304
2305 MCNAPI void $setClientUpdateAndRenderThrottling(bool enabled, int threshold, float scalar);
2306
2308
2310
2312
2313 MCNAPI bool $isUserBanned() const;
2314
2315 MCNAPI bool $isEligibleForPauseFeature() const;
2316
2317 MCNAPI void $setupPauseManagers();
2318
2319 MCNAPI bool $requestInGamePause(bool status);
2320
2322
2323 MCNAPI double $getGameUpdateDurationInSeconds() const;
2324
2326
2327 MCNAPI ::Bedrock::NonOwnerPointer<::PersonaClient> $tryGetPersonaClient() const;
2328 // NOLINTEND
2329};
Definition AbstractScene.h:5
Definition ActorAnimationGroup.h:22
Definition ActorBlockRenderer.h:5
Definition ActorRenderDispatcher.h:5
Definition ActorResourceDefinitionGroup.h:5
Definition Actor.h:116
Definition ClipboardCopy.h:7
Definition ClipboardPasteRequest.h:7
Definition AutomationClient.h:26
Definition Status.h:7
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 ClientInputHandler.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 bool $isInRealm()
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 $muteAudio()
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 &notApprovedCallback, ::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 &params, ::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 void $endFrame()
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 void $tick()
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 void $stop()
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 ClientMoveInputHandler.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 Path.h:10
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 GuiData.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 Level.h:255
Definition LightTexture.h:5
Definition LinkedAssetValidator.h:9
Definition LocalPlayer.h:5
Definition MatrixStack.h:5
Definition MinecraftGraphics.h:5
Definition MinecraftInputHandler.h:5
Definition Minecraft.h:59
Definition MobEffectsLayout.h:5
Definition MusicManager.h:5
Definition OptionRegistry.h:5
Definition Option.h:22
Definition ITelemetry.h:7
Definition Router.h:7
Definition SceneProvider.h:7
Definition OwnerPtr.h:7
Definition PackManifestFactory.h:21
Definition PacketSender.h:17
Definition Path.h:16
Definition PersonaClient.h:5
Definition PersonaRepository.h:5
Definition PixelCalc.h:5
Definition PlayerAuthentication.h:5
Definition PlayerListener.h:5
Definition PlayerReportHandler.h:5
Definition Player.h:131
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 IRegistry.h:7
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 User.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 Vec2.h:5
Definition Vec3.h:10
Definition WeakEntityRef.h:14
Definition WorldTransferAgent.h:5
Definition WorldSystem.h:7
Definition Camera.h:7
Definition TextureGroup.h:7
Definition Texture.h:7
Definition ScreenTechStackSelector.h:7
STL namespace.
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 World.h:7
Definition ScreenshotOptions.h:5
Definition ServerSupportedAuthenticationTypes.h:5
Definition SplitScreenInfo.h:5
Definition context.h:5
Definition Alias.h:14
Definition ViewportInfo.h:7