Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OreUI::ViewInputHandler Class Reference

Public Types

enum class  SupportedClients : int { Primary = 0 , All = 1 }
enum class  SupportedClients : int { Primary = 0 , All = 1 }

Public Member Functions

ViewInputHandler & operator= (ViewInputHandler const &)
 ViewInputHandler (ViewInputHandler const &)
MCAPI ViewInputHandler (::SubClientId subClientId, ::std::unique_ptr<::OreUI::TextInputHandler > textInputHandler, ::std::unique_ptr<::OreUI::TouchInputHandler > touchInputHandler, ::std::unique_ptr<::OreUI::GamepadInputHandler > gamepadInputHandler, ::KeyboardManager &keyboardManager, ::cohtml::View &view, ::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap > controllerIdToClientMap, ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect > const &debugSplitscreenInputRedirect, bool isPrimaryClient, ::IOptionRegistry &options)
MCAPI bool _handleFocusNavigationKey (::cohtml::KeyEventData const &keyEvent) const
MCAPI void handleKeyboardInput (::KeyboardAction const &keyboardAction)
MCAPI void handleMouseInput (::MouseAction const &mouseAction)
MCAPI void setFocusController (::OreUI::FocusNavigationController *controller)
MCAPI bool shouldHandleGamepad (::std::shared_ptr<::IGameController > gamePad)
MCAPI void * $ctor (::SubClientId subClientId, ::std::unique_ptr<::OreUI::TextInputHandler > textInputHandler, ::std::unique_ptr<::OreUI::TouchInputHandler > touchInputHandler, ::std::unique_ptr<::OreUI::GamepadInputHandler > gamepadInputHandler, ::KeyboardManager &keyboardManager, ::cohtml::View &view, ::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap > controllerIdToClientMap, ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect > const &debugSplitscreenInputRedirect, bool isPrimaryClient, ::IOptionRegistry &options)
MCAPI void $dtor ()

Public Attributes

::ll::TypedStorage< 1, 1, ::SubClientId > mSubClientId
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::TouchInputHandler > > mTouchInputHandler
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::TextInputHandler > > mTextInputHandler
::ll::TypedStorage< 8, 8, ::std::unique_ptr<::OreUI::GamepadInputHandler > > mGamepadInputHandler
::ll::TypedStorage< 8, 8, ::KeyboardManager & > mKeyboardManager
::ll::TypedStorage< 8, 8, ::cohtml::View & > mView
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap > > mControllerToClientMap
::ll::TypedStorage< 8, 24, ::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect > > mDebugSplitscreenInputRedirect
::ll::TypedStorage< 1, 1, bool > mEmulateTouchInput
::ll::TypedStorage< 1, 1, bool > mIsPointerDown
::ll::TypedStorage< 1, 1, bool const > mIsPrimaryClient
::ll::TypedStorage< 1, 1, bool > mIsFullKeyboard
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mIsFullKeyboardSubscription
::ll::TypedStorage< 1, 1, bool > mInvertMouse
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mInvertMouseSubscription
::ll::TypedStorage< 8, 24, ::Bedrock::NonOwnerPointer<::OreUI::FocusNavigationController > > mFocusController

Constructor & Destructor Documentation

◆ ViewInputHandler()

MCAPI OreUI::ViewInputHandler::ViewInputHandler ( ::SubClientId subClientId,
::std::unique_ptr<::OreUI::TextInputHandler > textInputHandler,
::std::unique_ptr<::OreUI::TouchInputHandler > touchInputHandler,
::std::unique_ptr<::OreUI::GamepadInputHandler > gamepadInputHandler,
::KeyboardManager & keyboardManager,
::cohtml::View & view,
::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap > controllerIdToClientMap,
::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect > const & debugSplitscreenInputRedirect,
bool isPrimaryClient,
::IOptionRegistry & options )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ _handleFocusNavigationKey()

MCAPI bool OreUI::ViewInputHandler::_handleFocusNavigationKey ( ::cohtml::KeyEventData const & keyEvent) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ handleKeyboardInput()

MCAPI void OreUI::ViewInputHandler::handleKeyboardInput ( ::KeyboardAction const & keyboardAction)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ handleMouseInput()

MCAPI void OreUI::ViewInputHandler::handleMouseInput ( ::MouseAction const & mouseAction)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ setFocusController()

MCAPI void OreUI::ViewInputHandler::setFocusController ( ::OreUI::FocusNavigationController * controller)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ shouldHandleGamepad()

MCAPI bool OreUI::ViewInputHandler::shouldHandleGamepad ( ::std::shared_ptr<::IGameController > gamePad)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * OreUI::ViewInputHandler::$ctor ( ::SubClientId subClientId,
::std::unique_ptr<::OreUI::TextInputHandler > textInputHandler,
::std::unique_ptr<::OreUI::TouchInputHandler > touchInputHandler,
::std::unique_ptr<::OreUI::GamepadInputHandler > gamepadInputHandler,
::KeyboardManager & keyboardManager,
::cohtml::View & view,
::Bedrock::NotNullNonOwnerPtr<::ControllerIDtoClientMap > controllerIdToClientMap,
::Bedrock::NotNullNonOwnerPtr<::Input::Debug::ISplitscreenRedirect > const & debugSplitscreenInputRedirect,
bool isPrimaryClient,
::IOptionRegistry & options )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following files: