Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
RemappingLayout Class Referenceabstract
Inheritance diagram for RemappingLayout:

Public Types

using RefreshKeymappingPublisher

Public Member Functions

 RemappingLayout (RemappingLayout const &)
virtual void setMappingWithRawInput (::std::string const &action, int key, ::RawInputType type)
virtual int getAdjustedKey (int key) const
virtual::std::string getSaveString (::std::string const &action) const
virtual::std::string getMappedKeyName (int key) const
virtual::std::string getMappedKeyName (int key, bool checkUserConfiguredSwap) const
virtual::std::string getMappedKeyName (::Keymapping const &keyMapping) const
virtual::std::string getKeySpriteLocation (int key, bool checkUserConfiguredSwap, bool checkPlatformButtonSwapping, ::IconSize iconSize) const
virtual::std::string getKeySpriteLocation (::Keymapping const &keyMapping) const
virtual int _rawKeyToKey (int rawInputKey, ::RawInputType rawInputType) const =0
MCAPI void assignDefaultMapping (::std::vector<::Keymapping > &&newDefaultMapping)
MCAPI void defaultKeyAtIndex (uint64 index)
MCAPI ::std::vector<::DuplicateKey > generateIndicesOfDuplicates () const
MCAPI::Keymapping const & getKeymappingByAction (::std::string_view action) const
MCAPI::RemappingLayout & operator= (::RemappingLayout const &other)
MCAPI void setMapping (::std::string_view action, ::std::vector< int > const &keys)
MCAPI void unassignDuplicateKeys (uint64 index)
MCAPI void unassignKeyAtIndex (uint64 index)
MCAPI void $dtor ()
MCAPI void $setMappingWithRawInput (::std::string const &action, int key, ::RawInputType type)
MCAPI int $getAdjustedKey (int key) const
MCAPI::std::string $getSaveString (::std::string const &action) const
MCAPI::std::string $getMappedKeyName (int key) const
MCAPI::std::string $getMappedKeyName (int key, bool checkUserConfiguredSwap) const
MCAPI::std::string $getMappedKeyName (::Keymapping const &keyMapping) const
MCAPI::std::string $getKeySpriteLocation (int key, bool checkUserConfiguredSwap, bool checkPlatformButtonSwapping, ::IconSize iconSize) const
MCAPI::std::string $getKeySpriteLocation (::Keymapping const &keyMapping) const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 24, ::std::vector<::Keymapping > > mKeymappings
::ll::TypedStorage< 8, 24, ::std::vector<::Keymapping > > mDefaultMappings
::ll::TypedStorage< 8, 16, ::std::shared_ptr< ::Bedrock::PubSub::Publisher< void(::std::optional< uint64 >), ::Bedrock::PubSub::ThreadModel::SingleThreaded, 0 > > > mRefreshKeymappingsPublisher
::ll::TypedStorage< 8, 32, ::RemappingLayoutRawIndex > mLayoutRawIndex

Member Typedef Documentation

◆ RefreshKeymappingPublisher

using RemappingLayout::RefreshKeymappingPublisher
Initial value:

Member Function Documentation

◆ defaultKeyAtIndex()

MCAPI void RemappingLayout::defaultKeyAtIndex ( uint64 index)
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.

◆ generateIndicesOfDuplicates()

MCAPI ::std::vector<::DuplicateKey > RemappingLayout::generateIndicesOfDuplicates ( ) 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.

◆ operator=()

MCAPI::RemappingLayout & RemappingLayout::operator= ( ::RemappingLayout const & other)
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.

◆ unassignKeyAtIndex()

MCAPI void RemappingLayout::unassignKeyAtIndex ( uint64 index)
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.

◆ $dtor()

MCAPI void RemappingLayout::$dtor ( )
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.

◆ $setMappingWithRawInput()

MCAPI void RemappingLayout::$setMappingWithRawInput ( ::std::string const & action,
int key,
::RawInputType type )
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.

◆ $getAdjustedKey()

MCAPI int RemappingLayout::$getAdjustedKey ( int key) 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.

◆ $getSaveString()

MCAPI::std::string RemappingLayout::$getSaveString ( ::std::string const & action) 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.

◆ $getMappedKeyName() [1/3]

MCAPI::std::string RemappingLayout::$getMappedKeyName ( int key) 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.

◆ $getMappedKeyName() [2/3]

MCAPI::std::string RemappingLayout::$getMappedKeyName ( int key,
bool checkUserConfiguredSwap ) 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.

◆ $getMappedKeyName() [3/3]

MCAPI::std::string RemappingLayout::$getMappedKeyName ( ::Keymapping const & keyMapping) 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.

◆ $getKeySpriteLocation() [1/2]

MCAPI::std::string RemappingLayout::$getKeySpriteLocation ( int key,
bool checkUserConfiguredSwap,
bool checkPlatformButtonSwapping,
::IconSize iconSize ) 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.

◆ $getKeySpriteLocation() [2/2]

MCAPI::std::string RemappingLayout::$getKeySpriteLocation ( ::Keymapping const & keyMapping) 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.

◆ $vftable()

MCAPI void ** RemappingLayout::$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: