21class BaseAttributeMap {
24 using UnderlyingMapContainer = ::brstd::
25 flat_map<uint, ::AttributeInstance, ::std::less<uint>, ::std::vector<uint>, ::std::vector<::AttributeInstance>>;
38 ::std::vector<::AttributeInstance>>>
40 ::ll::TypedStorage<8, 24, ::std::vector<::AttributeInstanceHandle>> mDirtyAttributes;
41 ::ll::TypedStorage<8, 8, void (BaseAttributeMap::*)(
::AttributeInstance const&)> mOnAttributeModified;
46 LLNDAPI
bool setCurrentValue(
Attribute const& attribute,
float value);
47 LLNDAPI
bool setMaxValue(
Attribute const& attribute,
float value);
48 LLNDAPI
bool setDefaultValue(
Attribute const& attribute,
float value);
52 BaseAttributeMap& operator=(BaseAttributeMap
const&);
58 MCAPI BaseAttributeMap(::BaseAttributeMap
const&);
66 MCAPI ::AttributeInstanceConstRef getInstance(
::Attribute const& attribute)
const;
69 MCAPI ::AttributeInstanceRef getMutableInstance(
::Attribute const& attribute);
73 MCAPI ::AttributeInstanceRef getMutableInstance(
::HashedString const& name);
75 MCAPI ::MutableAttributeWithContext getMutableInstanceWithContext(
::Attribute const& attribute);
78 MCAPI ::AttributeInstanceRef registerAttribute(
::Attribute const& baseAttribute);
84 MCAPI
static void updateAttribute(
94 MCAPI static ::std::string
const& DIFF_ATTRIBUTES_SIZE();
96 MCAPI static ::std::string
const& DIFF_DIRTY_ATTRIBUTES();
98 MCAPI static ::std::string
const& DIFF_DIRTY_ATTRIBUTES_SIZE();
100 MCAPI static ::std::string
const& DIFF_NO_ATTRIBUTES();
102 MCAPI static ::AttributeInstance& mInvalidInstance();
108 MCAPI
void* $ctor(::BaseAttributeMap
const&);
Definition AttributeModificationContext.h:10
Definition MutableAttributeWithContext.h:9