LeviLamina
Loading...
Searching...
No Matches
EffectDuration.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
6public:
7 // member variables
8 // NOLINTBEGIN
9 ::ll::TypedStorage<4, 4, int> mValue;
10 // NOLINTEND
11
12public:
13 // member functions
14 // NOLINTBEGIN
15 MCAPI ::std::optional<int> getValue() const;
16
17 MCFOLD int getValueForSerialization() const;
18
19 MCFOLD bool isInfinite() const;
20
21 MCAPI bool operator!=(int rhs) const;
22
23 MCAPI ::EffectDuration operator*(float rhs) const;
24
25 MCAPI ::EffectDuration operator+(::EffectDuration const& rhs) const;
26
27 MCAPI ::EffectDuration& operator+=(::EffectDuration const& rhs);
28
29#ifdef LL_PLAT_C
30 MCAPI ::EffectDuration& operator-=(int rhs);
31#endif
32
33 MCAPI ::EffectDuration operator/(float rhs) const;
34
35#ifdef LL_PLAT_C
36 MCAPI bool operator<(::EffectDuration const& rhs) const;
37#endif
38
39 MCAPI bool operator<(int rhs) const;
40
41 MCAPI bool operator<=(::EffectDuration const& rhs) const;
42
43 MCAPI bool operator<=(int rhs) const;
44
45 MCAPI bool operator>(int rhs) const;
46
47 MCAPI bool operator>=(::EffectDuration const& rhs) const;
48
49 MCAPI void scaleAndRoundUp(float multiplier);
50
51 MCAPI bool tickDown();
52
53 MCAPI ::std::string toString() const;
54 // NOLINTEND
55
56public:
57 // static variables
58 // NOLINTBEGIN
59 MCAPI static ::EffectDuration const& INFINITE_DURATION();
60 // NOLINTEND
61};
Definition EffectDuration.h:5