17class AttributeInstance {
20 using ModifierVector = ::std::vector<::AttributeModifier>;
25 ::ll::TypedStorage<8, 8, ::Attribute const*> mAttribute;
26 ::ll::TypedStorage<8, 24, ::std::vector<::AttributeModifier>> mModifierList;
27 ::ll::TypedStorage<8, 24, ::std::vector<::TemporalAttributeBuff>> mTemporalBuffs;
28 ::ll::TypedStorage<8, 24, ::std::vector<::AttributeInstanceHandle>> mListeners;
29 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::AttributeInstanceDelegate>> mDelegate;
31 ::ll::TypedStorage<4, 12, float[3]> mDefaultValues;
33 ::ll::TypedStorage<4, 4, float> mDefaultMinValue;
34 ::ll::TypedStorage<4, 4, float> mDefaultMaxValue;
35 ::ll::TypedStorage<4, 4, float> mDefaultValue;
39 ::ll::TypedStorage<4, 12, float[3]> mCurrentValues;
41 ::ll::TypedStorage<4, 4, float> mCurrentMinValue;
42 ::ll::TypedStorage<4, 4, float> mCurrentMaxValue;
43 ::ll::TypedStorage<4, 4, float> mCurrentValue;
46 ::ll::TypedStorage<1, 1, bool> mValueChangedDuringTick;
56 virtual ~AttributeInstance();
64 MCAPI AttributeInstance(::AttributeInstance
const&);
66 MCAPI
float _calculateValue();
68 MCAPI
float _sanitizeValue(
float value);
76 MCAPI ::std::vector<::AttributeModifier> getModifiers()
const;
78 MCAPI
bool hasModifier(::std::shared_ptr<::AttributeModifier> modifier)
const;
80 MCAPI ::AttributeInstance& operator=(::AttributeInstance
const&);
98 MCAPI
void* $ctor(::AttributeInstance
const&);
118 MCAPI
static void** $vftable();
Definition AttributeModificationContext.h:10