LeviLamina
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 bool _canPlayerBeAffectedByHunger () const
 
MCAPI void $tick (::AttributeInstance &mutableInstance, ::AttributeModificationContext &context)
 
MCAPI void $notify (int64 type, ::AttributeModificationContext &context)
 
virtual bool willChange (float, float, ::AttributeBuff const &)
 
virtual float change (float, float newValue, ::AttributeBuff const &)
 
virtual float getBuffValueWithModifiers (::AttributeBuff const &buff) const
 
MCAPI::AttributeInstance * _getMutableInstance (::AttributeModificationContext &context) const
 
MCFOLD bool $willChange (float, float, ::AttributeBuff const &)
 
MCAPI float $change (float, float newValue, ::AttributeBuff const &)
 
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, ::AttributeInstanceHandlemAttributeHandle
 

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.


The documentation for this class was generated from the following file: