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"
33 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
34 ::ll::TypedStorage<8, 8, ::InputHandler&> mInputHandler;
35 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect>>
36 mDebugSplitscreenInputRedirect;
37 ::ll::TypedStorage<4, 4, ::InputBindingMode> mInputBindingMode;
38 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBindingFactory>> mBindingFactory;
39 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientInputMappingFactory>> mMappingFactory;
40 ::ll::TypedStorage<8, 32, ::std::string> mExpectedInGameInputMode;
41 ::ll::TypedStorage<1, 1, bool> mIsFlying;
42 ::ll::TypedStorage<1, 1, bool> mIsSneaking;
43 ::ll::TypedStorage<1, 1, bool> mIsSprinting;
44 ::ll::TypedStorage<1, 1, bool> mIsSwimming;
45 ::ll::TypedStorage<1, 1, bool> mIsInWater;
46 ::ll::TypedStorage<1, 1, bool> mIsExpediateEmoteActive;
47 ::ll::TypedStorage<1, 1, bool> mIsInAscendableBlock;
48 ::ll::TypedStorage<1, 1, bool> mIsOnDescendableBlock;
49 ::ll::TypedStorage<1, 1, bool> mIsCreativeMode;
50 ::ll::TypedStorage<1, 1, bool> mIsSpectatorMode;
51 ::ll::TypedStorage<1, 1, bool> mInteractActive;
52 ::ll::TypedStorage<1, 1, bool> mHasMobEffects;
53 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientInputHandlerProxy>> mProxy;
58 ClientInputHandler& operator=(ClientInputHandler
const&);
59 ClientInputHandler(ClientInputHandler
const&);
65 MCAPI ClientInputHandler(
66 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const& client,
67 ::InputHandler& inputHandler,
68 ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect>
const& debugSplitscreenInputRedirect,
69 ::IGameModuleApp& gameModuleApp
72 MCAPI ::Actor* _interactWithEntity()
const;
74 MCAPI ::std::string _interactWithImmersiveReader()
const;
76 MCAPI ::ItemStack
const& _interactWithItem()
const;
78 MCAPI
bool _shouldUseGameInputMapping()
const;
80 MCAPI
bool canInteract()
const;
82 MCAPI
bool canPaddle()
const;
84 MCAPI ::std::string getBoatExitText()
const;
86 MCAPI ::InputMode getCurrentInputMode()
const;
88 MCAPI
void getCursorPos(
float& xCursor,
float& yCursor)
const;
90 MCAPI ::std::string getInteractText()
const;
92 MCAPI
bool getSplitscreenJoinPromptVisible()
const;
94 MCAPI
bool isBlockSelectToggled()
const;
96 MCAPI
bool isTouchGameplayAllowed()
const;
98 MCAPI
void onConfigChanged(::Config
const& c);
100 MCAPI
void popInputMapping(
bool inGame);
102 MCAPI
void pushInputMapping(
bool inGame);
104 MCAPI
void releaseButtonsAndSticks();
106 MCAPI
void render(::ScreenContext& screenContext);
108 MCAPI
void resetPlayerState();
110 MCAPI
void setBlockSelectToggle(
bool value);
112 MCAPI
void setDisableInput(
bool disable);
114 MCAPI
void setSuspendDirectionalInput(
bool suspendDirectionalInput);
116 MCAPI
void setSuspendInput(
bool suspendInput);
118 MCAPI
bool showBoatExit()
const;
120 MCAPI
void updateInputMapping();
122 MCAPI
bool updateInputMode(::std::string
const& mode);
124 MCAPI
void updatePlayerState(
125 ::gsl::not_null<::IClientInstance const*> client,
126 ::MovementAbilitiesComponent
const& abilities,
127 ::MobEffectsComponent
const& mobEffects,
128 ::ActorDataFlagComponent
const& synchedActorData,
129 ::MoveInputComponent& moveInput,
134 MCAPI
bool useFreeformPickDirection()
const;
136 MCAPI ~ClientInputHandler();
143 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const& client,
144 ::InputHandler& inputHandler,
145 ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect>
const& debugSplitscreenInputRedirect,
146 ::IGameModuleApp& gameModuleApp
Definition ClientBindingFactory.h:5
Definition IClientInstance.h:5
Definition IGameModuleApp.h:5
Definition ItemStack.h:26
Definition ScreenContext.h:5
Definition ActorDataFlagComponent.h:9
Definition MobEffectsComponent.h:8
Definition MovementAbilitiesComponent.h:5