LeviLamina
Loading...
Searching...
No Matches
OreUI::EditorInputStateFacet Class Reference
Inheritance diagram for OreUI::EditorInputStateFacet:

Classes

struct  KeyBindingStateFacet

Public Types

enum class  MouseButton : uchar {
  Left = 0 , Middle = 1 , Right = 2 , Back = 3 ,
  Forward = 4
}
enum class  MouseButton : uchar {
  Left = 0 , Middle = 1 , Right = 2 , Back = 3 ,
  Forward = 4
}
using KeyBindingStateMap

Public Member Functions

EditorInputStateFacet & operator= (EditorInputStateFacet const &)
 EditorInputStateFacet (EditorInputStateFacet const &)
virtual bool update ()
MCAPI EditorInputStateFacet (::Editor::ServiceProviderCollection *services)
MCAPI void _handleKeyBindingStateChange (::HashedString const &contextId, ::HashedString const &bindingId, ::std::optional< int > const &processingState)
MCAPI void _handleViewportFocusChange (bool)
MCFOLD ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet > > const & getKeyBindingStateMap () const
MCFOLD bool isViewportFocused () const
MCAPI bool onViewportMouseButtonDown (::OreUI::EditorInputStateFacet::MouseButton button, bool shift, bool ctrl, bool alt)
MCAPI bool onViewportMouseButtonUp (::OreUI::EditorInputStateFacet::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)
MCFOLD void setViewportFocus (bool isFocused)
MCAPI void * $ctor (::Editor::ServiceProviderCollection *services)
MCFOLD bool $update ()

Static Public Member Functions

static MCAPI ::std::add_lvalue_reference_t< char const[]> NAME ()
static MCAPI void ** $vftable ()

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::SubscriptionmViewportFocusEventSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::SubscriptionmKeyBindingStateChangedEventSub
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputStateFacet::KeyBindingStateFacet > > > mKeyBindingStateMap

Member Typedef Documentation

◆ KeyBindingStateMap

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

Member Function Documentation

◆ $vftable()

MCAPI void ** OreUI::EditorInputStateFacet::$vftable ( )
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.

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