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
32
33public:
34 // virtual functions
35 // NOLINTBEGIN
36 // vIndex: 0
37 virtual ~AttributeBuff();
38
39 // vIndex: 1
40 virtual bool isInstantaneous() const = 0;
41
42 // vIndex: 2
43 virtual bool isSerializable() const = 0;
44
45 // vIndex: 3
46 virtual void setDurationAmplifier(::std::shared_ptr<::Amplifier> amplifier);
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI AttributeBuff(float amount, int operand, ::AttributeBuffType type);
53
54 MCAPI AttributeBuff(float amount, int operand, ::ActorDamageSource const& source, ::AttributeBuffType type);
55
56 MCAPI float getAmount() const;
57
58 MCAPI ::AttributeBuff& operator=(::AttributeBuff const&);
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(float amount, int operand, ::AttributeBuffType type);
65
66 MCAPI void* $ctor(float amount, int operand, ::ActorDamageSource const& source, ::AttributeBuffType type);
67 // NOLINTEND
68
69public:
70 // destructor thunk
71 // NOLINTBEGIN
72 MCAPI void $dtor();
73 // NOLINTEND
74
75public:
76 // virtual function thunks
77 // NOLINTBEGIN
78 MCAPI void $setDurationAmplifier(::std::shared_ptr<::Amplifier> amplifier);
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCAPI static void** $vftable();
85 // NOLINTEND
86};
Definition ActorDamageSource.h:18
Definition Amplifier.h:5
Definition AttributeBuff.h:14