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

Public Member Functions

virtual void tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
virtual void render (::InputRenderContext &context) const
MCAPI TouchMoveAndTurnInteractControl (::TouchControlConfig const &touchControlConfig, ::std::function<::std::vector<::RectangleArea >()> inactiveAreas)
MCAPI bool _isClientCurrentActivePointer (int processedPointerId) const
MCAPI void _renderJoystick (::InputRenderContext &context, ::JoystickState state, bool initialized, float x, float y, float x0, float y0, ::RectangleArea const &moveArea, ::RectangleArea const &defaultArea, float radius, bool staticJoystick, bool joystickVisibleWhenUnused, bool joystickAlwaysVisible) const
MCAPI void _setPreviousActionPointer (int processedPointerId)
MCAPI bool _shouldUpdateActivePointer (int processedPointerId) const
MCAPI void _tickAltTurn (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, ::RectangleArea const &altTurnArea, ::RectangleArea const &defaultAltTurnArea, float maxAltTurnZone, bool staticJoystick, bool joystickAlwaysVisible, bool joystickVisibleWhenUnused)
MCAPI void _tickHold (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor, ::RectangleArea const &moveArea, ::RectangleArea const &turnArea, ::RectangleArea const &altTurnArea, ::RectangleArea const &defaultMoveArea, ::RectangleArea const &defaultAltTurnArea, float maxMovementZone, bool staticJoystick, bool staticAltJoystick, bool altStickEnabled)
MCAPI void _tickMove (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, ::RectangleArea const &moveArea, ::RectangleArea const &defaultMoveArea, float maxMovementZone, bool staticJoystick, bool joystickAlwaysVisible, bool joystickVisibleWhenUnused)
MCAPI void _tickTurn (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor, ::RectangleArea const &turnArea, float maxMovementZone)
MCAPI bool calculateTouchDelta (float x, float y, float x0, float y0, float &dx, float &dy, float deadZone, float maximumMovementZone, bool autoSprint)
MCAPI void calibrateMoveDelta (float &dx, float &dy)
MCAPI void drawJoystick (::InputRenderContext &context, ::JoystickState joystickState, float x, float y, float x0, float y0, float joystickRadius) const
MCAPI void * $ctor (::TouchControlConfig const &touchControlConfig, ::std::function<::std::vector<::RectangleArea >()> inactiveAreas)
MCAPI void $dtor ()
MCAPI void $tick (::InputEventQueue &eventQueue, ::TouchPointResults &touchPointResults, int yAxisInversionFactor)
MCAPI void $render (::InputRenderContext &context) const
virtual uint getHoldButtonId () const
virtual int getActivePointerId () const
virtual bool releaseOnClear () const
virtual void release (::InputEventQueue &eventQueue)
MCFOLD uint $getHoldButtonId () const
MCFOLD int $getActivePointerId () const
MCFOLD bool $releaseOnClear () 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< bool()> > mIsLeftHanded
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mJoystickAlwaysVisible
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mAltJoystickAlwaysVisible
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mAltStickEnabled
::ll::TypedStorage< 8, 64, ::std::function< float()> > mThumbstickOpacity
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mStaticJoystick
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mStaticAltJoystick
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mDefaultMoveStickArea
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mDefaultAltStickArea
::ll::TypedStorage< 8, 64, ::std::function<::RectangleArea()> > mHotbarArea
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mJoystickVisibleWhenUnused
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mAltJoystickVisibleWhenUnused
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mShowActionButton
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mSprintOnMovement
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsInputSprinting
::ll::TypedStorage< 8, 64, ::std::function< float()> > mClientActivePointer
::ll::TypedStorage< 8, 64, ::std::function< bool()> > mIsInControlEditMode
::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, uint const > mSprintButtonId
::ll::TypedStorage< 8, 152, ::TouchMoveAndTurnControlStatemState
::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 TouchMoveAndTurnInteractControl::tick ( ::InputEventQueue & eventQueue,
::TouchPointResults & touchPointResults,
int yAxisInversionFactor )
virtual

Reimplemented from TouchControl.

◆ render()

virtual void TouchMoveAndTurnInteractControl::render ( ::InputRenderContext & context) const
virtual

Reimplemented from TouchControl.

◆ $vftable()

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