LeviLamina
Loading...
Searching...
No Matches
TemporalAttributeBuff.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/attribute/AttributeBuff.h"
7#include "mc/world/attribute/AttributeBuffType.h"
8#include "mc/world/effect/EffectDuration.h"
9
10// auto generated forward declare list
11// clang-format off
12class Amplifier;
13// clang-format on
14
15class TemporalAttributeBuff : public ::AttributeBuff {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, ::EffectDuration> mDuration;
20 ::ll::TypedStorage<4, 4, int> mLifeTimer;
21 ::ll::TypedStorage<4, 4, float> mBaseAmount;
22 ::ll::TypedStorage<1, 1, bool> mIsSerializable;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 TemporalAttributeBuff();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ~TemporalAttributeBuff() /*override*/;
33
34 virtual bool shouldBuff() const;
35
36 virtual bool isComplete() const;
37
38 virtual bool isInstantaneous() const /*override*/;
39
40 virtual bool isSerializable() const /*override*/;
41
42 virtual void setDurationAmplifier(::std::shared_ptr<::Amplifier> amplifier) /*override*/;
43 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI TemporalAttributeBuff(
49 float amount,
50 ::EffectDuration duration,
51 ::AttributeBuffType type,
52 bool serialize,
53 ::std::string const& name
54 );
55
56 MCFOLD float getBaseAmount() const;
57 // NOLINTEND
58
59public:
60 // constructor thunks
61 // NOLINTBEGIN
62 MCAPI void*
63 $ctor(float amount, ::EffectDuration duration, ::AttributeBuffType type, bool serialize, ::std::string const& name);
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 bool $shouldBuff() const;
76
77 MCAPI bool $isComplete() const;
78
79 MCFOLD bool $isInstantaneous() const;
80
81 MCAPI bool $isSerializable() const;
82
83 MCAPI void $setDurationAmplifier(::std::shared_ptr<::Amplifier> amplifier);
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCAPI static void** $vftable();
92 // NOLINTEND
93};
Definition Amplifier.h:5
Definition EffectDuration.h:5
Definition serialize.h:11