Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
BaseAttributeMap Class Reference

Public Types

using UnderlyingMapContainer

Public Member Functions

LLAPI void setDirty (AttributeInstance const &attribute)
LLNDAPI bool setCurrentValue (Attribute const &attribute, float value)
LLNDAPI bool setMaxValue (Attribute const &attribute, float value)
LLNDAPI bool setDefaultValue (Attribute const &attribute, float value)
BaseAttributeMap & operator= (BaseAttributeMap const &)
MCAPI BaseAttributeMap (::BaseAttributeMap const &)
MCAPI void _onAttributeModified (::AttributeInstance const &attributeInstance)
MCAPI::AttributeInstanceConstRef getInstance (::Attribute const &attribute) const
MCAPI::AttributeInstanceConstRef getInstance (uint idValue) const
MCAPI::AttributeInstanceRef getMutableInstance (::Attribute const &attribute)
MCAPI::AttributeInstanceRef getMutableInstance (::HashedString const &name)
MCAPI::MutableAttributeWithContext getMutableInstanceWithContext (::Attribute const &attribute)
MCAPI::AttributeInstanceRef registerAttribute (::Attribute const &baseAttribute)
MCAPI void * $ctor (::BaseAttributeMap const &)

Static Public Member Functions

static MCAPI void updateAttribute (::AttributeData const &attributeData, ::AttributeInstanceRef attributeRef, ::AttributeModificationContext &context)
static MCAPI ::std::string const & DIFF_ATTRIBUTES_SIZE ()
static MCAPI ::std::string const & DIFF_DIRTY_ATTRIBUTES ()
static MCAPI ::std::string const & DIFF_DIRTY_ATTRIBUTES_SIZE ()
static MCAPI ::std::string const & DIFF_NO_ATTRIBUTES ()
static MCAPI ::AttributeInstance & mInvalidInstance ()

Public Attributes

::ll::TypedStorage< 8, 48, ::brstd::flat_map< uint, ::AttributeInstance, ::std::less< uint >, ::std::vector< uint >, ::std::vector<::AttributeInstance > > > mInstanceMap
::ll::TypedStorage< 8, 24, ::std::vector<::AttributeInstanceHandle > > mDirtyAttributes
::ll::TypedStorage< 8, 8, void(BaseAttributeMap::*)(::AttributeInstance const &)> mOnAttributeModified

Member Typedef Documentation

◆ UnderlyingMapContainer

using BaseAttributeMap::UnderlyingMapContainer
Initial value:
::brstd::
flat_map<uint, ::AttributeInstance, ::std::less<uint>, ::std::vector<uint>, ::std::vector<::AttributeInstance>>

Constructor & Destructor Documentation

◆ BaseAttributeMap()

MCAPI BaseAttributeMap::BaseAttributeMap ( ::BaseAttributeMap const & )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

Member Function Documentation

◆ getInstance() [1/2]

MCAPI::AttributeInstanceConstRef BaseAttributeMap::getInstance ( ::Attribute const & attribute) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ getInstance() [2/2]

MCAPI::AttributeInstanceConstRef BaseAttributeMap::getInstance ( uint idValue) const
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ registerAttribute()

MCAPI::AttributeInstanceRef BaseAttributeMap::registerAttribute ( ::Attribute const & baseAttribute)
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ updateAttribute()

MCAPI void BaseAttributeMap::updateAttribute ( ::AttributeData const & attributeData,
::AttributeInstanceRef attributeRef,
::AttributeModificationContext & context )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DIFF_ATTRIBUTES_SIZE()

MCAPI ::std::string const & BaseAttributeMap::DIFF_ATTRIBUTES_SIZE ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DIFF_DIRTY_ATTRIBUTES()

MCAPI ::std::string const & BaseAttributeMap::DIFF_DIRTY_ATTRIBUTES ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DIFF_DIRTY_ATTRIBUTES_SIZE()

MCAPI ::std::string const & BaseAttributeMap::DIFF_DIRTY_ATTRIBUTES_SIZE ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ DIFF_NO_ATTRIBUTES()

MCAPI ::std::string const & BaseAttributeMap::DIFF_NO_ATTRIBUTES ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ mInvalidInstance()

MCAPI ::AttributeInstance & BaseAttributeMap::mInvalidInstance ( )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ $ctor()

MCAPI void * BaseAttributeMap::$ctor ( ::BaseAttributeMap const & )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this class was generated from the following file: