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

Public Member Functions

ClientBindingFactoryoperator= (ClientBindingFactory const &)
 
 ClientBindingFactory (ClientBindingFactory const &)
 
virtual ::std::function< bool()> getBooleanBinding (uint name) const
 
virtual ::std::function< float()> getFloatBinding (uint name) const
 
virtual ::std::function<::std::string()> getStringBinding (uint name) const
 
virtual ::std::function<::glm::vec2()> getPointBinding (uint name) const
 
virtual ::std::function<::RectangleArea()> getAreaBinding (uint name) const
 
virtual ::std::function< void(::RectangleArea)> getDynamicAreaBinding (uint name) const
 
virtual ::std::function< void(float)> getFloatSetter (uint name) const
 
virtual void setCustomAreaBinding (::std::string const &name, ::RectangleArea area)
 
virtual void removeCustomAreaBinding (::std::string const &name)
 
virtual ::std::vector< uint > getCustomAreaBindingNames () const
 
MCAPI ClientBindingFactory (::ClientInputHandler const &clientInputHandler, ::IClientInstance &client)
 
MCAPI bool _blockSelectEnabled () const
 
MCAPI::RectangleArea _calculateClassicButtonRectangleWithOptionIDs (::OptionID posX, ::OptionID posY, ::OptionID scale) const
 
MCAPI::RectangleArea _calculateClassicDpadRectangle () const
 
MCAPI void _clearCustomAreaBindings ()
 
MCAPI::RectangleArea _fitToScreen (::RectangleArea const &rectangle) const
 
MCAPI ::std::vector<::RectangleArea * > _getActiveTopTouchButtons ()
 
MCAPI bool _touchButtonsVisible () const
 
MCAPI void onConfigChanged (::Config const &c)
 
MCAPI void setupAreaBindings ()
 
MCAPI void setupBoolBindings ()
 
MCAPI void setupFloatBindings ()
 
MCAPI void setupFloatSetters ()
 
MCAPI void setupStringBindings ()
 
MCAPI void * $ctor (::ClientInputHandler const &clientInputHandler, ::IClientInstance &client)
 
MCAPI void $dtor ()
 
MCAPI ::std::function< bool()> $getBooleanBinding (uint name) const
 
MCAPI ::std::function< float()> $getFloatBinding (uint name) const
 
MCAPI ::std::function<::std::string()> $getStringBinding (uint name) const
 
MCAPI ::std::function<::glm::vec2()> $getPointBinding (uint name) const
 
MCAPI ::std::function<::RectangleArea()> $getAreaBinding (uint name) const
 
MCAPI ::std::function< void(::RectangleArea)> $getDynamicAreaBinding (uint name) const
 
MCAPI ::std::function< void(float)> $getFloatSetter (uint name) const
 
MCAPI void $setCustomAreaBinding (::std::string const &name, ::RectangleArea area)
 
MCAPI void $removeCustomAreaBinding (::std::string const &name)
 
MCAPI ::std::vector< uint > $getCustomAreaBindingNames () const
 

Static Public Member Functions

static MCAPI void ** $vftable ()
 

Public Attributes

::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::function< float()> > > mFloatBindings
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::function< void(float)> > > mFloatSetters
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::function< bool()> > > mBoolBindings
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::function<::RectangleArea()> > > mAreaBindings
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::function<::std::string()> > > mStringBindings
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::function<::glm::vec2()> > > mPointBindings
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::function< void(::RectangleArea)> > > mDynamicAreaBindings
 
::ll::TypedStorage< 8, 8, ::ClientInputHandler const & > mClientInputHandler
 
::ll::TypedStorage< 8, 8, ::IClientInstance & > mClient
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mEmpty
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mTurnInteract
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDPadNoTurnInteractArea
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mGuiPassthrough
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mHotbarGuiPassthrough
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mChangingFlightHeight
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mLeft
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mRight
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mUpInvisible
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDownInvisible
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mUp
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDown
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mAscend
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mMiddleRight
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDescend
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mPause
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mEmote
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mChat
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mTogglePerspective
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mJump
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mUpLeft
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mUpRight
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDownLeft
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDownRight
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mPlayerEffects
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mPaddleRight
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mPaddleLeft
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mSneak
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mMobEffects
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mToastArea
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mCodeBuilder
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mImmersiveReader
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDestroyOrAttack
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mBuildOrInteract
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mBlockSelect
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mBlockSelectNewControls
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mDefaultMoveStickArea
 
::ll::TypedStorage< 8, 64, ::std::function< void(::RectangleArea)> > mInteractSetter
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mInteractSize
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mSneakNewControls
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mJumpNewControls
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mSprintNewControls
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::std::shared_ptr<::RectangleArea > > > mCustomRectangleAreas
 
::ll::TypedStorage< 8, 16, ::std::map< uint, ::RectangleArea > > mCustomAreaFractions
 
::ll::TypedStorage< 4, 8, ::glm::vec2 > mInteractCreative
 
::ll::TypedStorage< 4, 8, ::glm::vec2 > mInteractSurvival
 
::ll::TypedStorage< 4, 16, ::RectangleArea > mFinalSafeScreenArea
 

Member Function Documentation

◆ getBooleanBinding()

virtual ::std::function< bool()> ClientBindingFactory::getBooleanBinding ( uint name) const
virtual

Implements BindingFactory.

◆ getFloatBinding()

virtual ::std::function< float()> ClientBindingFactory::getFloatBinding ( uint name) const
virtual

Implements BindingFactory.

◆ getStringBinding()

virtual ::std::function<::std::string()> ClientBindingFactory::getStringBinding ( uint name) const
virtual

Implements BindingFactory.

◆ getPointBinding()

virtual ::std::function<::glm::vec2()> ClientBindingFactory::getPointBinding ( uint name) const
virtual

Implements BindingFactory.

◆ getAreaBinding()

virtual ::std::function<::RectangleArea()> ClientBindingFactory::getAreaBinding ( uint name) const
virtual

Implements BindingFactory.

◆ getDynamicAreaBinding()

virtual ::std::function< void(::RectangleArea)> ClientBindingFactory::getDynamicAreaBinding ( uint name) const
virtual

Implements BindingFactory.

◆ getFloatSetter()

virtual ::std::function< void(float)> ClientBindingFactory::getFloatSetter ( uint name) const
virtual

Implements BindingFactory.

◆ setCustomAreaBinding()

virtual void ClientBindingFactory::setCustomAreaBinding ( ::std::string const & name,
::RectangleArea area )
virtual

Implements BindingFactory.

◆ removeCustomAreaBinding()

virtual void ClientBindingFactory::removeCustomAreaBinding ( ::std::string const & name)
virtual

Implements BindingFactory.

◆ getCustomAreaBindingNames()

virtual ::std::vector< uint > ClientBindingFactory::getCustomAreaBindingNames ( ) const
virtual

Implements BindingFactory.

◆ $vftable()

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