LeviLamina
Loading...
Searching...
No Matches
AttributeInstanceForwarder.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/attribute/AttributeModificationContext.h"
7
8// auto generated forward declare list
9// clang-format off
12namespace mce { class UUID; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 8, ::AttributeInstance*> mInstance;
20 ::ll::TypedStorage<8, 8, ::AttributeModificationContext> mContext;
21 // NOLINTEND
22
23public:
24 // member functions
25 // NOLINTBEGIN
26 MCNAPI void addModifier(::std::shared_ptr<::AttributeModifier> modifier);
27
28 MCNAPI bool hasModifier(::AttributeModifier const& modifier) const;
29
30 MCNAPI bool hasModifier(::std::shared_ptr<::AttributeModifier> modifier) const;
31
32 MCNAPI bool removeModifier(::mce::UUID const& id);
33
34 MCNAPI void setDefaultValue(float defaultValue, int operand);
35 // NOLINTEND
36};
Definition AttributeInstance.h:16
Definition AttributeModifier.h:10
Definition UUID.h:7
Definition AttributeInstanceForwarder.h:15
MCAPI bool removeModifier(::mce::UUID const &id)
MCAPI bool hasModifier(::AttributeModifier const &modifier) const
MCAPI void setDefaultValue(float defaultValue, int operand)
MCAPI bool hasModifier(::std::shared_ptr<::AttributeModifier > modifier) const
MCAPI void addModifier(::std::shared_ptr<::AttributeModifier > modifier)