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"
30 ::ll::TypedStorage<8, 24, ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>> mClient;
31 ::ll::TypedStorage<8, 8, ::InputHandler&> mInputHandler;
32 ::ll::TypedStorage<4, 4, ::InputBindingMode> mInputBindingMode;
33 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientBindingFactory>> mBindingFactory;
34 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientInputMappingFactory>> mMappingFactory;
35 ::ll::TypedStorage<8, 32, ::std::string> mExpectedInGameInputMode;
36 ::ll::TypedStorage<1, 1, bool> mIsFlying;
37 ::ll::TypedStorage<1, 1, bool> mIsSneaking;
38 ::ll::TypedStorage<1, 1, bool> mIsSprinting;
39 ::ll::TypedStorage<1, 1, bool> mIsSwimming;
40 ::ll::TypedStorage<1, 1, bool> mIsInWater;
41 ::ll::TypedStorage<1, 1, bool> mIsExpediateEmoteActive;
42 ::ll::TypedStorage<1, 1, bool> mIsInAscendableBlock;
43 ::ll::TypedStorage<1, 1, bool> mIsOnDescendableBlock;
44 ::ll::TypedStorage<1, 1, bool> mIsCreativeMode;
45 ::ll::TypedStorage<1, 1, bool> mIsSpectatorMode;
46 ::ll::TypedStorage<1, 1, bool> mInteractActive;
47 ::ll::TypedStorage<1, 1, bool> mHasMobEffects;
48 ::ll::TypedStorage<8, 8, ::std::unique_ptr<::ClientInputHandlerProxy>> mProxy;
53 ClientInputHandler& operator=(ClientInputHandler
const&);
54 ClientInputHandler(ClientInputHandler
const&);
60 MCAPI ClientInputHandler(
61 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const& client,
62 ::InputHandler& inputHandler,
63 ::IGameModuleApp& gameModuleApp
66 MCAPI
bool canInteract()
const;
68 MCAPI
bool canPaddle()
const;
70 MCAPI
void clearInvalidDownKeys();
72 MCAPI ::std::string getBoatExitText()
const;
74 MCAPI ::InputMode getCurrentInputMode()
const;
76 MCAPI
void getCursorPos(
float& xCursor,
float& yCursor)
const;
78 MCAPI ::std::string getInteractText()
const;
80 MCAPI
void onConfigChanged(::Config
const& c);
82 MCAPI
void pushInputMapping(
bool inGame);
84 MCAPI
void render(::ScreenContext& screenContext);
86 MCAPI
void resetPlayerState();
88 MCAPI
bool showCodeBuilder()
const;
90 MCAPI
bool showImmersiveReader()
const;
92 MCAPI
void updateInputMapping();
94 MCAPI
bool updateInputMode(::std::string
const& mode);
96 MCAPI
void updatePlayerState(
97 ::gsl::not_null<::IClientInstance const*> client,
98 ::MovementAbilitiesComponent
const& abilities,
99 ::MobEffectsComponent
const& mobEffects,
100 ::ActorDataFlagComponent
const& synchedActorData,
101 ::MoveInputComponent& moveInput,
106 MCAPI
bool useFreeformPickDirection()
const;
108 MCAPI ~ClientInputHandler();
115 ::Bedrock::NotNullNonOwnerPtr<::IClientInstance>
const& client,
116 ::InputHandler& inputHandler,
117 ::IGameModuleApp& gameModuleApp
Definition ClientBindingFactory.h:5
Definition IClientInstance.h:5
Definition ScreenContext.h:5
Definition ActorDataFlagComponent.h:9
Definition IGameModuleApp.h:5
Definition MobEffectsComponent.h:10
Definition MovementAbilitiesComponent.h:5