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

Classes

struct  FocusBinding
struct  Placement
struct  FocusNodeDesc
struct  Node

Public Types

enum class  FocusNodeKind : uchar { Grid = 0 , Item = 1 }
enum class  FocusNodeKind : uchar { Grid = 0 , Item = 1 }
using FocusNodeId = uint

Public Member Functions

MCAPI FocusNavigationController (::OreUI::FocusNavigationBinding &binding)
MCAPI ::std::vector<::OreUI::FocusNavigationController::Placement > _computePlacements (uint gridId) const
MCAPI uint _descendToLeaf (uint nodeId, ::OreUI::FocusDirection enterDirection) const
MCAPI bool _isValidFocusPath (uint id) const
MCAPI void _linkToParent (uint id)
MCAPI uint _navigate (::OreUI::FocusDirection direction)
MCAPI void _restoreReleasedFocus (::OreUI::FocusNavigationController::FocusBinding const &previous)
MCAPI void _unlinkFromParent (uint id)
MCAPI void _updateFocusBinding (uint id, bool shouldBindFocus)
MCAPI void activate (::OreUI::GamepadButton button)
MCAPI void addNode (::OreUI::FocusNavigationController::FocusNodeDesc const &desc)
MCAPI void clear ()
MCAPI uint focusFirst ()
MCAPI bool isWithinFocusBinding (uint id) const
MCAPI uint navigate (::OreUI::FocusDirection direction)
MCAPI void removeNode (uint id)
MCAPI void requestFocus (uint id)
MCAPI uint setFocus (uint id)
MCAPI void updateNode (::OreUI::FocusNavigationController::FocusNodeDesc const &desc)
MCAPI void * $ctor (::OreUI::FocusNavigationBinding &binding)
MCFOLD void $dtor ()

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 8, ::OreUI::FocusNavigationBinding * > mBinding
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::OreUI::FocusNavigationController::Node > > mNodes
::ll::TypedStorage< 8, 64, ::std::unordered_map< uint, ::std::vector< uint > > > mChildren
::ll::TypedStorage< 4, 4, uint > mFocused
::ll::TypedStorage< 4, 4, uint > mLastNotifiedFocused
::ll::TypedStorage< 8, 24, ::std::vector<::OreUI::FocusNavigationController::FocusBinding > > mFocusBindingStack
::ll::TypedStorage< 8, 8, uint64 > mNextSeq
::ll::TypedStorage< 2, 2, ushort > mDesiredRow
::ll::TypedStorage< 2, 2, ushort > mDesiredCol
::std::shared_ptr<::Bedrock::EnableNonOwnerReferences::ControlBlock > mControlBlock

Constructor & Destructor Documentation

◆ FocusNavigationController()

MCAPI OreUI::FocusNavigationController::FocusNavigationController ( ::OreUI::FocusNavigationBinding & binding)
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

◆ _computePlacements()

MCAPI ::std::vector<::OreUI::FocusNavigationController::Placement > OreUI::FocusNavigationController::_computePlacements ( uint gridId) 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.

◆ _descendToLeaf()

MCAPI uint OreUI::FocusNavigationController::_descendToLeaf ( uint nodeId,
::OreUI::FocusDirection enterDirection ) 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.

◆ _isValidFocusPath()

MCAPI bool OreUI::FocusNavigationController::_isValidFocusPath ( uint id) 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.

◆ _linkToParent()

MCAPI void OreUI::FocusNavigationController::_linkToParent ( uint id)
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.

◆ _navigate()

MCAPI uint OreUI::FocusNavigationController::_navigate ( ::OreUI::FocusDirection direction)
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.

◆ _restoreReleasedFocus()

MCAPI void OreUI::FocusNavigationController::_restoreReleasedFocus ( ::OreUI::FocusNavigationController::FocusBinding const & previous)
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.

◆ _unlinkFromParent()

MCAPI void OreUI::FocusNavigationController::_unlinkFromParent ( uint id)
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.

◆ _updateFocusBinding()

MCAPI void OreUI::FocusNavigationController::_updateFocusBinding ( uint id,
bool shouldBindFocus )
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.

◆ activate()

MCAPI void OreUI::FocusNavigationController::activate ( ::OreUI::GamepadButton button)
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.

◆ addNode()

MCAPI void OreUI::FocusNavigationController::addNode ( ::OreUI::FocusNavigationController::FocusNodeDesc const & desc)
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.

◆ clear()

MCAPI void OreUI::FocusNavigationController::clear ( )
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.

◆ focusFirst()

MCAPI uint OreUI::FocusNavigationController::focusFirst ( )
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.

◆ isWithinFocusBinding()

MCAPI bool OreUI::FocusNavigationController::isWithinFocusBinding ( uint id) 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.

◆ navigate()

MCAPI uint OreUI::FocusNavigationController::navigate ( ::OreUI::FocusDirection direction)
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.

◆ removeNode()

MCAPI void OreUI::FocusNavigationController::removeNode ( uint id)
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.

◆ requestFocus()

MCAPI void OreUI::FocusNavigationController::requestFocus ( uint id)
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.

◆ setFocus()

MCAPI uint OreUI::FocusNavigationController::setFocus ( uint id)
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.

◆ updateNode()

MCAPI void OreUI::FocusNavigationController::updateNode ( ::OreUI::FocusNavigationController::FocusNodeDesc const & desc)
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::FocusNavigationController::$ctor ( ::OreUI::FocusNavigationBinding & binding)
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 ** OreUI::FocusNavigationController::$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: