Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
ContainerInteractionStateMachine Class Reference

Public Member Functions

MCAPI ContainerInteractionStateMachine ()
MCAPI::ui::ViewRequest _changeState (::NodeId target, uint buttonId, ::std::string const &collectionName, int collectionIndex)
MCAPI void addEdge (::NodeId source, ::NodeId target, ::std::function< bool(uint, ::ButtonEventType, ::std::string const &, int)> requirement, int priority)
MCAPI void addEdge (::NodeId source, ::NodeId target, ::std::function< bool(::PointerHeldScreenEventData const &, ::std::string const &, int)> requirement, int priority)
MCAPI void addNode (::NodeId id, ::std::function<::ui::ViewRequest(uint, ::std::string const &, int)> onEnter, ::std::function<::ui::ViewRequest(uint, ::std::string const &, int)> onExit, bool defaultNode)
MCAPI::ui::ViewRequest receiveEvent (::PointerHeldScreenEventData const &pointerHeldEvent, ::std::string const &collectionName, int collectionIndex)
MCAPI::ui::ViewRequest receiveEvent (uint buttonId, ::ButtonEventType buttonType, ::std::string const &collectionName, int collectionIndex)
MCAPI void * $ctor ()

Public Attributes

::ll::TypedStorage< 8, 128, ::Node > mCurrentNode
::ll::TypedStorage< 4, 4, ::NodeId > mCurrentNodeId
::ll::TypedStorage< 4, 4, ::NodeId > mDefaultNodeId
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::Node > > mNodes
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::std::vector<::ButtonEdge > > > mButtonEdges
::ll::TypedStorage< 8, 64, ::std::unordered_map< int, ::std::vector<::PointerHeldEdge > > > mPointerHeldEdges
::ll::TypedStorage< 4, 4, ::NodeId > mNodeChangeRequest

Constructor & Destructor Documentation

◆ ContainerInteractionStateMachine()

MCAPI ContainerInteractionStateMachine::ContainerInteractionStateMachine ( )
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

◆ _changeState()

MCAPI::ui::ViewRequest ContainerInteractionStateMachine::_changeState ( ::NodeId target,
uint buttonId,
::std::string const & collectionName,
int collectionIndex )
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.

◆ addEdge() [1/2]

MCAPI void ContainerInteractionStateMachine::addEdge ( ::NodeId source,
::NodeId target,
::std::function< bool(uint, ::ButtonEventType, ::std::string const &, int)> requirement,
int priority )
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.

◆ addEdge() [2/2]

MCAPI void ContainerInteractionStateMachine::addEdge ( ::NodeId source,
::NodeId target,
::std::function< bool(::PointerHeldScreenEventData const &, ::std::string const &, int)> requirement,
int priority )
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 ContainerInteractionStateMachine::addNode ( ::NodeId id,
::std::function<::ui::ViewRequest(uint, ::std::string const &, int)> onEnter,
::std::function<::ui::ViewRequest(uint, ::std::string const &, int)> onExit,
bool defaultNode )
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.

◆ receiveEvent() [1/2]

MCAPI::ui::ViewRequest ContainerInteractionStateMachine::receiveEvent ( ::PointerHeldScreenEventData const & pointerHeldEvent,
::std::string const & collectionName,
int collectionIndex )
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.

◆ receiveEvent() [2/2]

MCAPI::ui::ViewRequest ContainerInteractionStateMachine::receiveEvent ( uint buttonId,
::ButtonEventType buttonType,
::std::string const & collectionName,
int collectionIndex )
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 * ContainerInteractionStateMachine::$ctor ( )
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: