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

Classes

struct  KeyBindingFacet
struct  MouseBindingFacet
struct  BindingCategoryFacet

Public Member Functions

virtual bool update ()
MCAPI EditorInputBindingFacet (::Editor::ServiceProviderCollection *services)
MCAPI void _handleKeyBindingChanged (::std::variant< ::Editor::Input::EditorKeyBindingRegistered, ::Editor::Input::EditorKeyBindingUpdated, ::Editor::Input::EditorKeyBindingUnregistered > const &evt)
MCAPI void _handleMouseBindingChanged (::std::variant< ::Editor::Input::EditorMouseBindingRegistered, ::Editor::Input::EditorMouseBindingUnregistered > const &evt)
MCAPI void _handleTutorialStageChangeEvent (::HashedString const &, ::HashedString const &, bool isTutorialStarted)
MCAPI void _refreshBindings ()
MCAPI ::std::vector<::OreUI::EditorInputBindingFacet::BindingCategoryFacet > const & getBindingCategories () const
MCAPI ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputBindingFacet::KeyBindingFacet > > const & getKeyBindings () const
MCAPI ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputBindingFacet::MouseBindingFacet > > const & getMouseBindings () const
MCAPI bool invokeActionCallback (::HashedString const &eventId)
MCAPI void resetKeyBinding (::HashedString const &contextId, ::HashedString const &bindingId)
MCAPI void resetModifiedKeyBindings (::std::optional<::HashedString > const &contextId)
MCAPI void updateKeyBinding (::HashedString const &contextId, ::HashedString const &bindingId, int key, ::Editor::Input::Modifier modifier)
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, 64, ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputBindingFacet::KeyBindingFacet > > > mKeyBindings
::ll::TypedStorage< 8, 64, ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputBindingFacet::MouseBindingFacet > > > mMouseBindings
::ll::TypedStorage< 8, 24, ::std::vector<::OreUI::EditorInputBindingFacet::BindingCategoryFacet > > mBindingCategories
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mKeyBindingChangedSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mMouseBindingChangedSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mTutorialStageChangedSub
::ll::TypedStorage< 8, 16, ::Bedrock::PubSub::Subscription > mBindingCategoryChangedSub
::ll::TypedStorage< 1, 1, bool > mToggleCursorEnabled
::ll::TypedStorage< 1, 1, bool > mUseDefaultBindings

Constructor & Destructor Documentation

◆ EditorInputBindingFacet()

MCAPI OreUI::EditorInputBindingFacet::EditorInputBindingFacet ( ::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

◆ _handleKeyBindingChanged()

MCAPI void OreUI::EditorInputBindingFacet::_handleKeyBindingChanged ( ::std::variant< ::Editor::Input::EditorKeyBindingRegistered, ::Editor::Input::EditorKeyBindingUpdated, ::Editor::Input::EditorKeyBindingUnregistered > const & evt)
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.

◆ _handleMouseBindingChanged()

MCAPI void OreUI::EditorInputBindingFacet::_handleMouseBindingChanged ( ::std::variant< ::Editor::Input::EditorMouseBindingRegistered, ::Editor::Input::EditorMouseBindingUnregistered > const & evt)
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.

◆ _handleTutorialStageChangeEvent()

MCAPI void OreUI::EditorInputBindingFacet::_handleTutorialStageChangeEvent ( ::HashedString const & ,
::HashedString const & ,
bool isTutorialStarted )
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.

◆ _refreshBindings()

MCAPI void OreUI::EditorInputBindingFacet::_refreshBindings ( )
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.

◆ getBindingCategories()

MCAPI ::std::vector<::OreUI::EditorInputBindingFacet::BindingCategoryFacet > const & OreUI::EditorInputBindingFacet::getBindingCategories ( ) 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.

◆ getKeyBindings()

MCAPI ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputBindingFacet::KeyBindingFacet > > const & OreUI::EditorInputBindingFacet::getKeyBindings ( ) 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.

◆ getMouseBindings()

MCAPI ::std::unordered_map< ::HashedString, ::std::unordered_map<::HashedString, ::OreUI::EditorInputBindingFacet::MouseBindingFacet > > const & OreUI::EditorInputBindingFacet::getMouseBindings ( ) 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.

◆ invokeActionCallback()

MCAPI bool OreUI::EditorInputBindingFacet::invokeActionCallback ( ::HashedString const & eventId)
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.

◆ resetKeyBinding()

MCAPI void OreUI::EditorInputBindingFacet::resetKeyBinding ( ::HashedString const & contextId,
::HashedString const & bindingId )
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.

◆ resetModifiedKeyBindings()

MCAPI void OreUI::EditorInputBindingFacet::resetModifiedKeyBindings ( ::std::optional<::HashedString > const & contextId)
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.

◆ updateKeyBinding()

MCAPI void OreUI::EditorInputBindingFacet::updateKeyBinding ( ::HashedString const & contextId,
::HashedString const & bindingId,
int key,
::Editor::Input::Modifier modifier )
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::EditorInputBindingFacet::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::EditorInputBindingFacet::$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::EditorInputBindingFacet::$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: