LeviLamina
|
Public Types | |
using | ModifierVector = ::std::vector<::AttributeModifier> |
Public Member Functions | |
AttributeInstance & | operator= (AttributeInstance const &) |
virtual void | tick (::AttributeModificationContext context) |
MCAPI | AttributeInstance (::AttributeInstance const &) |
MCAPI float | _calculateValue () |
MCAPI float | _sanitizeValue (float value) |
MCAPI void | addBuff (::AttributeBuff const &buff, ::AttributeModificationContext context) |
MCAPI void | addModifier (::AttributeModifier const &modifier, ::AttributeModificationContext context) |
MCAPI ::std::vector<::AttributeModifier > | getModifiers () const |
MCAPI bool | hasModifier (::AttributeModifier const &modifier) const |
MCAPI bool | hasModifier (::std::shared_ptr<::AttributeModifier > modifier) const |
MCAPI void | removeBuff (::AttributeBuff const &buff) |
MCAPI void | removeModifier (::AttributeModifier const &modifier, ::AttributeModificationContext context) |
MCAPI void | removeModifiers (::AttributeModificationContext context) |
MCAPI void | setRange (float min, float defaultValue, float max, ::AttributeModificationContext context) |
MCAPI void | updateModifier (::AttributeModifier const &takeOver, ::AttributeModificationContext context) |
MCAPI void * | $ctor (::AttributeInstance const &) |
MCAPI void | $dtor () |
MCAPI void | $tick (::AttributeModificationContext context) |
Static Public Member Functions | |
static MCAPI void ** | $vftable () |
Public Attributes | ||
::ll::TypedStorage< 8, 8, ::Attribute const * > | mAttribute | |
::ll::TypedStorage< 8, 24, ::std::vector<::AttributeModifier > > | mModifierList | |
::ll::TypedStorage< 8, 24, ::std::vector<::TemporalAttributeBuff > > | mTemporalBuffs | |
::ll::TypedStorage< 8, 24, ::std::vector<::AttributeInstanceHandle > > | mListeners | |
::ll::TypedStorage< 8, 16, ::std::shared_ptr<::AttributeInstanceDelegate > > | mDelegate | |
union { | ||
::ll::TypedStorage< 4, 12, float[3]> mDefaultValues | ||
struct { | ||
::ll::TypedStorage< 4, 4, float > mDefaultMinValue | ||
::ll::TypedStorage< 4, 4, float > mDefaultMaxValue | ||
::ll::TypedStorage< 4, 4, float > mDefaultValue | ||
} | ||
}; | ||
union { | ||
::ll::TypedStorage< 4, 12, float[3]> mCurrentValues | ||
struct { | ||
::ll::TypedStorage< 4, 4, float > mCurrentMinValue | ||
::ll::TypedStorage< 4, 4, float > mCurrentMaxValue | ||
::ll::TypedStorage< 4, 4, float > mCurrentValue | ||
} | ||
}; | ||
|
static |