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;
55 virtual ~AttributeInstance();
63 MCAPI AttributeInstance(::AttributeInstance
const&);
65 MCAPI
float _calculateValue();
67 MCAPI
float _sanitizeValue(
float value);
76 MCAPI
void clearListenersAndDelegates();
79 MCFOLD ::Attribute
const* getAttribute()
const;
81 MCAPI
float getCurrentValue()
const;
83 MCAPI
float getDefaultValue(
int operand)
const;
85 MCAPI ::AttributeInstanceHandle getHandle()
const;
87 MCAPI
float getMaxValue()
const;
89 MCAPI
float getMinValue()
const;
91 MCAPI ::std::vector<::AttributeModifier> getModifiers()
const;
95 MCAPI
bool hasModifiers()
const;
97 MCAPI
bool hasTemporalBuffs()
const;
99 MCFOLD
bool isValid()
const;
101 MCAPI ::AttributeInstance& operator=(::AttributeInstance
const&);
119 MCAPI
void setDelegate(::std::shared_ptr<::AttributeInstanceDelegate> delegate);
131 MCAPI
void* $ctor(::AttributeInstance
const&);
151 MCAPI
static void** $vftable();
Definition AttributeModificationContext.h:10