|
|
virtual void | tick (::AttributeModificationContext context) |
|
MCAPI | AttributeInstance (::AttributeInstance const &) |
|
MCAPI float | _calculateValue () |
|
MCAPI float | _sanitizeValue (float value) |
|
MCAPI ::std::optional< float > | addBuff (::AttributeBuff const &buff, ::AttributeModificationContext context) |
|
MCAPI void | addModifier (::AttributeModifier const &modifier, ::AttributeModificationContext context) |
|
MCAPI void | addModifier (::std::shared_ptr<::AttributeModifier > modifier, ::AttributeModificationContext context) |
|
MCFOLD::Attribute const * | getAttribute () const |
|
MCAPI float | getCurrentValue () const |
|
MCAPI float | getDefaultValue (int operand) const |
|
MCAPI::AttributeInstanceHandle | getHandle () const |
|
MCAPI float | getMaxValue () const |
|
MCAPI float | getMinValue () const |
|
MCAPI ::std::vector<::AttributeModifier > | getModifiers () const |
|
MCAPI bool | hasModifier (::AttributeModifier const &modifier) const |
|
MCAPI bool | hasModifiers () const |
|
MCAPI bool | hasTemporalBuffs () const |
|
MCFOLD bool | isValid () const |
|
MCAPI::AttributeInstance & | operator= (::AttributeInstance const &) |
|
MCAPI void | recalculateModifiers (::AttributeModificationContext context) |
|
MCAPI void | registerListener (::AttributeInstanceConstRef listener) |
|
MCAPI void | removeBuff (::AttributeBuff const &buff) |
|
MCAPI void | removeModifier (::AttributeModifier const &modifier, ::AttributeModificationContext context) |
|
MCAPI void | removeModifiers (::AttributeModificationContext context) |
|
MCAPI void | resetToDefaultValue (::AttributeModificationContext context) |
|
MCAPI void | setDefaultValue (float defaultValue, int operand, ::AttributeModificationContext context) |
|
MCAPI void | setDefaultValueOnly (float newDefaultValue, ::AttributeModificationContext context) |
|
MCAPI void | setDelegate (::std::shared_ptr<::AttributeInstanceDelegate > delegate) |
|
MCAPI void | setMaxValue (float max, ::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) |
|
|
::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 | |
| } | |
| }; | |