API Reference
On this page
Public Types | |
| using | ModifierVector = ::std::vector<::AttributeModifier> |
Public Member Functions | |
| 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 (::std::shared_ptr<::AttributeModifier > modifier, ::AttributeModificationContext context) |
| MCAPI ::std::vector<::AttributeModifier > | getModifiers () const |
| MCAPI bool | hasModifier (::AttributeModifier const &modifier) const |
| MCAPI::AttributeInstance & | operator= (::AttributeInstance const &) |
| MCAPI void | removeBuff (::AttributeBuff const &buff) |
| MCAPI bool | removeModifier (::mce::UUID const &id, ::AttributeModificationContext context) |
| MCAPI void | removeModifier (::AttributeModifier const &modifier, ::AttributeModificationContext context) |
| MCAPI void | removeModifiers (::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 | |
| } | |
| }; | |
| ::ll::TypedStorage< 1, 1, bool > | mValueChangedDuringTick |
| MCAPI AttributeInstance::AttributeInstance | ( | ::AttributeInstance const & | ) |
| MCAPI float AttributeInstance::_calculateValue | ( | ) |
| MCAPI float AttributeInstance::_sanitizeValue | ( | float | value | ) |
| MCAPI ::std::optional< float > AttributeInstance::addBuff | ( | ::AttributeBuff const & | buff, |
| ::AttributeModificationContext | context ) |
| MCAPI::AttributeInstance & AttributeInstance::operator= | ( | ::AttributeInstance const & | ) |
| MCAPI void AttributeInstance::removeBuff | ( | ::AttributeBuff const & | buff | ) |
| MCAPI void AttributeInstance::removeModifier | ( | ::AttributeModifier const & | modifier, |
| ::AttributeModificationContext | context ) |
| MCAPI void * AttributeInstance::$ctor | ( | ::AttributeInstance const & | ) |
| MCAPI void AttributeInstance::$dtor | ( | ) |
| MCAPI void AttributeInstance::$tick | ( | ::AttributeModificationContext | context | ) |
|
static |