LeviLamina
Loading...
Searching...
No Matches
AttributeBuff.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/attribute/AttributeBuffType.h"
7
8// auto generated forward declare list
9// clang-format off
11class Amplifier;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<4, 4, float> mAmount;
19 ::ll::TypedStorage<4, 4, ::AttributeBuffType> mType;
20 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::ActorDamageSource>> mSource;
21 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Amplifier>> mValueAmplifier;
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::Amplifier>> mDurationAmplifier;
23 ::ll::TypedStorage<4, 4, float> mScale;
24 ::ll::TypedStorage<4, 4, int> mAmplification;
25 ::ll::TypedStorage<8, 8, uint64> mId;
26 ::ll::TypedStorage<4, 4, int> mOperand;
27 // NOLINTEND
28
29public:
30 // prevent constructor by default
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 // vIndex: 0
38 virtual ~AttributeBuff();
39
40 // vIndex: 1
41 virtual bool isInstantaneous() const = 0;
42
43 // vIndex: 2
44 virtual bool isSerializable() const = 0;
45
46 // vIndex: 3
47 virtual void setDurationAmplifier(::std::shared_ptr<::Amplifier> amplifier);
48 // NOLINTEND
49
50public:
51 // member functions
52 // NOLINTBEGIN
53 MCAPI AttributeBuff(float amount, int operand, ::AttributeBuffType type);
54
55 MCAPI AttributeBuff(float amount, int operand, ::ActorDamageSource const& source, ::AttributeBuffType type);
56
57 MCAPI float getAmount() const;
58
59 MCAPI ::AttributeBuff& operator=(::AttributeBuff const&);
60 // NOLINTEND
61
62public:
63 // constructor thunks
64 // NOLINTBEGIN
65 MCAPI void* $ctor(float amount, int operand, ::AttributeBuffType type);
66
67 MCAPI void* $ctor(float amount, int operand, ::ActorDamageSource const& source, ::AttributeBuffType type);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCAPI void $dtor();
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI void $setDurationAmplifier(::std::shared_ptr<::Amplifier> amplifier);
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCNAPI static void** $vftable();
86 // NOLINTEND
87};
Definition ActorDamageSource.h:18
Definition Amplifier.h:5
Definition AttributeBuff.h:14
static MCAPI void ** $vftable()