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