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

Public Member Functions

virtual void tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
MCAPI TouchTurnInteractControl (::std::function<::RectangleArea()> area, ::std::function<::RectangleArea()> hotbarArea, uint turnInteractButtonId, uint tapButtonId, uint holdButtonId, float holdSensitivity, ::std::function< bool()> condition, ::std::function<::std::vector<::RectangleArea >()> inactiveAreas)
MCAPI void incrementMoveDelta (::InputEventQueue &eventQueue, float x, float y, int yAxisInversionFactor)
MCAPI void switchState (::InputEventQueue &eventQueue, ::TouchTurnState newState)
MCAPI void * $ctor (::std::function<::RectangleArea()> area, ::std::function<::RectangleArea()> hotbarArea, uint turnInteractButtonId, uint tapButtonId, uint holdButtonId, float holdSensitivity, ::std::function< bool()> condition, ::std::function<::std::vector<::RectangleArea >()> inactiveAreas)
MCAPI void $dtor ()
MCAPI void $tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
virtual uint getHoldButtonId () const
virtual int getActivePointerId () const
virtual bool releaseOnClear () const
virtual void render (::InputRenderContext &context) const
virtual void release (::InputEventQueue &eventQueue)
MCFOLD uint $getHoldButtonId () const
MCFOLD int $getActivePointerId () const
MCFOLD bool $releaseOnClear () const
MCFOLD void $render (::InputRenderContext &context) const
MCFOLD void $release (::InputEventQueue &eventQueue)

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 8, 64, ::std::function< bool()> > mCondition
::ll::TypedStorage< 8, 64, ::std::function<::std::vector<::RectangleArea >()> > mGetInactiveAreasCallback
::ll::TypedStorage< 4, 4, uint const > mTurnInteractButtonId
::ll::TypedStorage< 4, 4, uint const > mTapButtonId
::ll::TypedStorage< 4, 4, uint const > mHoldButtonId
::ll::TypedStorage< 4, 4, float > mHoldSensitivity
::ll::TypedStorage< 1, 1, bool > mPersistData
::ll::TypedStorage< 8, 32, ::TouchTurnControlStatemState
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mHotbarArea
::ll::TypedStorage< 8, 16, ::std::set< int > > mPreviousActivePointers
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mArea
::ll::TypedStorage< 4, 4, int > mScreenWidth
::ll::TypedStorage< 4, 4, int > mScreenHeight
::ll::TypedStorage< 8, 32, ::std::string > mCurrentLabel

Member Function Documentation

◆ tick()

virtual void TouchTurnInteractControl::tick ( ::InputEventQueue & eventQueue,
::TouchPointResults & touchPointResults,
int yAxisInversionFactor )
virtual

Reimplemented from TouchControl.

◆ $vftable()

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