Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
OreUI::EditorInputStateFacet Class Reference
Inheritance diagram for OreUI::EditorInputStateFacet:

Classes

struct  KeyBindingStateFacet

Public Types

using KeyBindingStateMap
using CursorIconStateMap = ::std::unordered_map<::HashedString, ::std::string>

Public Member Functions

EditorInputStateFacet & operator= (EditorInputStateFacet const &)
 EditorInputStateFacet (EditorInputStateFacet const &)
virtual bool update ()
MCAPI EditorInputStateFacet (::Editor::ServiceProviderCollection *services)
MCAPI void _handleViewportFocusChange (bool)
MCAPI ::std::unordered_map<::HashedString, ::std::string > const & getCursorIconStateMap () const
MCAPI ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet > > const & getKeyBindingStateMap () const
MCAPI bool isViewportFocused () const
MCAPI bool onViewportMouseButtonDown (::OreUI::MouseButton button, bool shift, bool ctrl, bool alt)
MCAPI bool onViewportMouseButtonUp (::OreUI::MouseButton button, bool shift, bool ctrl, bool alt, bool hasDragged)
MCAPI bool onViewportMouseDelta (float dx, float dy)
MCAPI bool onViewportMouseWheel (bool wheelOut)
MCAPI void setCursorReleased (bool shouldRelease)
MCAPI void setViewportFocus (bool isFocused)
MCAPI void * $ctor (::Editor::ServiceProviderCollection *services)
MCAPI bool $update ()

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> NAME ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mDirty
::ll::TypedStorage< 8, 8, ::Editor::ServiceProviderCollection * > mServices
::ll::TypedStorage< 8, 8, ::Editor::Services::ClientPlayerInputServiceProvider & > mInputService
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mViewportFocusEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mKeyBindingStateChangedEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mCursorIconChangedEventSub
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet > > > mKeyBindingStateMap
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::std::string > > mCursorIconStateMap

Member Typedef Documentation

◆ KeyBindingStateMap

using OreUI::EditorInputStateFacet::KeyBindingStateMap
Initial value:
::std::unordered_map<
::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet>>
Definition HashedString.h:5

Constructor & Destructor Documentation

◆ EditorInputStateFacet()

MCAPI OreUI::EditorInputStateFacet::EditorInputStateFacet ( ::Editor::ServiceProviderCollection * services)
explicit
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

◆ _handleViewportFocusChange()

MCAPI void OreUI::EditorInputStateFacet::_handleViewportFocusChange ( bool )
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.

◆ getCursorIconStateMap()

MCAPI ::std::unordered_map<::HashedString, ::std::string > const & OreUI::EditorInputStateFacet::getCursorIconStateMap ( ) 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.

◆ getKeyBindingStateMap()

MCAPI ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet > > const & OreUI::EditorInputStateFacet::getKeyBindingStateMap ( ) 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.

◆ isViewportFocused()

MCAPI bool OreUI::EditorInputStateFacet::isViewportFocused ( ) 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.

◆ onViewportMouseButtonDown()

MCAPI bool OreUI::EditorInputStateFacet::onViewportMouseButtonDown ( ::OreUI::MouseButton button,
bool shift,
bool ctrl,
bool alt )
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.

◆ onViewportMouseButtonUp()

MCAPI bool OreUI::EditorInputStateFacet::onViewportMouseButtonUp ( ::OreUI::MouseButton button,
bool shift,
bool ctrl,
bool alt,
bool hasDragged )
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.

◆ onViewportMouseDelta()

MCAPI bool OreUI::EditorInputStateFacet::onViewportMouseDelta ( float dx,
float dy )
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.

◆ onViewportMouseWheel()

MCAPI bool OreUI::EditorInputStateFacet::onViewportMouseWheel ( bool wheelOut)
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.

◆ setCursorReleased()

MCAPI void OreUI::EditorInputStateFacet::setCursorReleased ( bool shouldRelease)
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.

◆ setViewportFocus()

MCAPI void OreUI::EditorInputStateFacet::setViewportFocus ( bool isFocused)
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.

◆ NAME()

MCAPI ::std::add_lvalue_reference_t< char const []> OreUI::EditorInputStateFacet::NAME ( )
static
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::EditorInputStateFacet::$ctor ( ::Editor::ServiceProviderCollection * services)
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.

◆ $update()

MCAPI bool OreUI::EditorInputStateFacet::$update ( )
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: