LeviLamina
Loading...
Searching...
No Matches
AttributeModifier.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/UUID.h"
7#include "mc/world/attribute/AttributeModifierOperation.h"
8#include "mc/world/attribute/AttributeOperands.h"
9
10class AttributeModifier {
11public:
12 // member variables
13 // NOLINTBEGIN
14 ::ll::TypedStorage<4, 4, float> mAmount;
15 ::ll::TypedStorage<4, 4, ::AttributeModifierOperation> mOperation;
16 ::ll::TypedStorage<4, 4, ::AttributeOperands> mOperand;
17 ::ll::TypedStorage<8, 32, ::std::string> mName;
18 ::ll::TypedStorage<8, 16, ::mce::UUID> mId;
19 ::ll::TypedStorage<1, 1, bool> mSerialize;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 AttributeModifier(AttributeModifier const&);
25 AttributeModifier();
26
27public:
28 // virtual functions
29 // NOLINTBEGIN
30 virtual ~AttributeModifier();
31
32 virtual bool isInstantaneous() const;
33 // NOLINTEND
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI AttributeModifier(
39 ::mce::UUID id,
40 ::std::string const& name,
41 float amount,
42 int operation,
43 int operand,
44 bool serializable
45 );
46
47 MCAPI AttributeModifier(
48 ::mce::UUID id,
49 ::std::string const& name,
50 float amount,
51 ::AttributeModifierOperation operation,
52 ::AttributeOperands operand,
53 bool serializable
54 );
55
56 MCAPI ::std::string getIdAsString() const;
57
58 MCAPI ::AttributeModifier& operator=(::AttributeModifier const& rhs);
59
60 MCAPI void setIdFromString(::std::string const& s);
61
62 MCAPI void setName(::std::string const& name);
63 // NOLINTEND
64
65public:
66 // static variables
67 // NOLINTBEGIN
68 MCAPI static ::mce::UUID const& mInvalidUUID();
69 // NOLINTEND
70
71public:
72 // constructor thunks
73 // NOLINTBEGIN
74 MCAPI void*
75 $ctor(::mce::UUID id, ::std::string const& name, float amount, int operation, int operand, bool serializable);
76
77 MCAPI void* $ctor(
78 ::mce::UUID id,
79 ::std::string const& name,
80 float amount,
81 ::AttributeModifierOperation operation,
82 ::AttributeOperands operand,
83 bool serializable
84 );
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCAPI void $dtor();
91 // NOLINTEND
92
93public:
94 // virtual function thunks
95 // NOLINTBEGIN
96 MCFOLD bool $isInstantaneous() const;
97
98
99 // NOLINTEND
100
101public:
102 // vftables
103 // NOLINTBEGIN
104 MCNAPI static void** $vftable();
105 // NOLINTEND
106};
static MCAPI void ** $vftable()
Definition UUID.h:7