3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7#include "mc/deps/input/InputBindingMode.h"
8#include "mc/deps/input/InputMode.h"
32 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
33 ::ll::TypedStorage<8, 8, ::InputHandler&> mInputHandler;
34 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect>>
35 mDebugSplitscreenInputRedirect;
36 ::ll::TypedStorage<4, 4, ::InputBindingMode> mInputBindingMode;
37 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBindingFactory>> mBindingFactory;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientInputMappingFactory>> mMappingFactory;
39 ::ll::TypedStorage<8, 32, ::std::string> mExpectedInGameInputMode;
40 ::ll::TypedStorage<1, 1, bool> mIsFlying;
41 ::ll::TypedStorage<1, 1, bool> mIsSneaking;
42 ::ll::TypedStorage<1, 1, bool> mIsSprinting;
43 ::ll::TypedStorage<1, 1, bool> mIsSwimming;
44 ::ll::TypedStorage<1, 1, bool> mIsInWater;
45 ::ll::TypedStorage<1, 1, bool> mIsExpediateEmoteActive;
46 ::ll::TypedStorage<1, 1, bool> mIsInAscendableBlock;
47 ::ll::TypedStorage<1, 1, bool> mIsOnDescendableBlock;
48 ::ll::TypedStorage<1, 1, bool> mIsCreativeMode;
49 ::ll::TypedStorage<1, 1, bool> mIsSpectatorMode;
50 ::ll::TypedStorage<1, 1, bool> mInteractActive;
51 ::ll::TypedStorage<1, 1, bool> mHasMobEffects;
52 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientInputHandlerProxy>> mProxy;
57 ClientInputHandler& operator=(ClientInputHandler
const&);
58 ClientInputHandler(ClientInputHandler
const&);
64 MCAPI ::Actor* _interactWithEntity()
const;
66 MCAPI ::std::string _interactWithImmersiveReader()
const;
68 MCAPI ::ItemStack
const& _interactWithItem()
const;
70 MCAPI
bool _shouldUseGameInputMapping()
const;
72 MCAPI
bool canInteract()
const;
74 MCAPI
bool canPaddle()
const;
76 MCAPI ::std::string getBoatExitText()
const;
78 MCAPI ::InputMode getCurrentInputMode()
const;
80 MCAPI
void getCursorPos(
float& xCursor,
float& yCursor)
const;
82 MCAPI ::std::string getInteractText()
const;
84 MCAPI
bool getSplitscreenJoinPromptVisible()
const;
86 MCAPI
bool isBlockSelectToggled()
const;
88 MCAPI
bool isTouchGameplayAllowed()
const;
90 MCAPI
void onConfigChanged(::Config
const& c);
92 MCAPI
void popInputMapping(
bool inGame);
94 MCAPI
void pushInputMapping(
bool inGame);
96 MCAPI
void releaseButtonsAndSticks();
98 MCAPI
void render(::ScreenContext& screenContext);
100 MCAPI
void resetPlayerState();
102 MCAPI
void setBlockSelectToggle(
bool value);
104 MCAPI
void setDisableInput(
bool disable);
106 MCAPI
void setSuspendDirectionalInput(
bool suspendDirectionalInput);
108 MCAPI
void setSuspendInput(
bool suspendInput);
110 MCAPI
bool showBoatExit()
const;
112 MCAPI
void updateInputMapping();
114 MCAPI
bool updateInputMode(::std::string
const& mode);
116 MCAPI
void updatePlayerState(
117 ::gsl::not_null<::IClientInstance const*> client,
118 ::MovementAbilitiesComponent
const& abilities,
119 ::MobEffectsComponent
const& mobEffects,
120 ::ActorDataFlagComponent
const& synchedActorData,
121 ::MoveInputComponent& moveInput,
126 MCAPI
bool useFreeformPickDirection()
const;
128 MCAPI ~ClientInputHandler();
Definition ClientBindingFactory.h:5
Definition IClientInstance.h:5
Definition ItemStack.h:24
Definition ScreenContext.h:5
Definition ActorDataFlagComponent.h:9
Definition MobEffectsComponent.h:8
Definition MovementAbilitiesComponent.h:5