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
26public:
27 // virtual functions
28 // NOLINTBEGIN
29 virtual ~AttributeModifier();
30
31 virtual bool isInstantaneous() const;
32 // NOLINTEND
33
34public:
35 // member functions
36 // NOLINTBEGIN
37 MCAPI AttributeModifier();
38
39 MCAPI AttributeModifier(
40 ::mce::UUID id,
41 ::std::string const& name,
42 float amount,
43 int operation,
44 int operand,
45 bool serializable
46 );
47
48 MCAPI AttributeModifier(
49 ::mce::UUID id,
50 ::std::string const& name,
51 float amount,
52 ::AttributeModifierOperation operation,
53 ::AttributeOperands operand,
54 bool serializable
55 );
56
57 MCFOLD float getAmount() const;
58
59 MCFOLD ::mce::UUID const& getId() const;
60
61 MCFOLD ::std::string const& getName() const;
62
63 MCFOLD int getOperand() const;
64
65 MCFOLD int getOperation() const;
66
67 MCAPI ::AttributeModifier& operator=(::AttributeModifier const& rhs);
68 // NOLINTEND
69
70public:
71 // static variables
72 // NOLINTBEGIN
73 MCAPI static ::mce::UUID const& mInvalidUUID();
74 // NOLINTEND
75
76public:
77 // constructor thunks
78 // NOLINTBEGIN
79 MCAPI void* $ctor();
80
81 MCAPI void*
82 $ctor(::mce::UUID id, ::std::string const& name, float amount, int operation, int operand, bool serializable);
83
84 MCAPI void* $ctor(
85 ::mce::UUID id,
86 ::std::string const& name,
87 float amount,
88 ::AttributeModifierOperation operation,
89 ::AttributeOperands operand,
90 bool serializable
91 );
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97 MCAPI void $dtor();
98 // NOLINTEND
99
100public:
101 // virtual function thunks
102 // NOLINTBEGIN
103 MCFOLD bool $isInstantaneous() const;
104
105
106 // NOLINTEND
107
108public:
109 // vftables
110 // NOLINTBEGIN
111 MCNAPI static void** $vftable();
112 // NOLINTEND
113};
static MCAPI void ** $vftable()
Definition UUID.h:7