Skip to content
LeviLamina

API Reference

On this page

Loading...
Searching...
No Matches
HungerAttributeDelegate Class Reference
Inheritance diagram for HungerAttributeDelegate:

Public Member Functions

virtual void tick (::AttributeInstance &mutableInstance, ::AttributeModificationContext &context)
virtual void notify (int64 type, ::AttributeModificationContext &context)
MCAPI void $tick (::AttributeInstance &mutableInstance, ::AttributeModificationContext &context)
MCAPI void $notify (int64 type, ::AttributeModificationContext &context)
virtual bool willChange (float oldValue, float newValue, ::AttributeBuff const &buff)
virtual ::std::optional< float > change (float oldValue, float newValue, ::AttributeBuff const &buff)
virtual float getBuffValueWithModifiers (::AttributeBuff const &buff) const
MCAPI bool $willChange (float oldValue, float newValue, ::AttributeBuff const &buff)
MCAPI ::std::optional< float > $change (float oldValue, float newValue, ::AttributeBuff const &buff)
MCAPI float $getBuffValueWithModifiers (::AttributeBuff const &buff) const

Static Public Member Functions

static MCAPI void ** $vftable ()

Public Attributes

::ll::TypedStorage< 4, 4, int > mActionTickTimer
::ll::TypedStorage< 4, 4, int > mTickCounter
::ll::TypedStorage< 4, 4, float > mLastFoodLevel
::ll::TypedStorage< 8, 8, ::Player * > mPlayer
::ll::TypedStorage< 4, 4, ::AttributeInstanceHandle > mAttributeHandle

Member Function Documentation

◆ tick()

virtual void HungerAttributeDelegate::tick ( ::AttributeInstance & mutableInstance,
::AttributeModificationContext & context )
virtual

Reimplemented from AttributeInstanceDelegate.

◆ notify()

virtual void HungerAttributeDelegate::notify ( int64 type,
::AttributeModificationContext & context )
virtual

Reimplemented from AttributeInstanceDelegate.

◆ $notify()

MCAPI void HungerAttributeDelegate::$notify ( int64 type,
::AttributeModificationContext & context )
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 ** HungerAttributeDelegate::$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.

◆ $willChange()

MCAPI bool AttributeInstanceDelegate::$willChange ( float oldValue,
float newValue,
::AttributeBuff const & buff )
inherited
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.

◆ $change()

MCAPI ::std::optional< float > AttributeInstanceDelegate::$change ( float oldValue,
float newValue,
::AttributeBuff const & buff )
inherited
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.

◆ $getBuffValueWithModifiers()

MCAPI float AttributeInstanceDelegate::$getBuffValueWithModifiers ( ::AttributeBuff const & buff) const
inherited
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 file: