LeviLamina
Loading...
Searching...
No Matches
MobEffectInstance.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/effect/MobEffect.h"
7
8// auto generated forward declare list
9// clang-format off
10class CompoundTag;
11struct EffectDuration;
12namespace mce { class Color; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, uint> mId;
20 ::ll::TypedStorage<4, 4, ::EffectDuration> mDuration;
21 ::ll::TypedStorage<4, 8, ::std::optional<::EffectDuration>> mDurationEasy;
22 ::ll::TypedStorage<4, 8, ::std::optional<::EffectDuration>> mDurationNormal;
23 ::ll::TypedStorage<4, 8, ::std::optional<::EffectDuration>> mDurationHard;
24 ::ll::TypedStorage<4, 4, int> mAmplifier;
25 ::ll::TypedStorage<1, 1, bool> mDisplayOnScreenTextureAnimation;
26 ::ll::TypedStorage<1, 1, bool> mIsCounterPausedThisTick;
27 ::ll::TypedStorage<1, 1, bool> mAmbient;
28 ::ll::TypedStorage<1, 1, bool> mEffectVisible;
29 ::ll::TypedStorage<8, 96, ::MobEffect::FactorCalculationData> mFactorCalculationData;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
36
38
39 MCAPI explicit MobEffectInstance(uint id);
40
41 MCAPI ::std::string getDisplayName() const;
42
43 MCAPI ::MobEffectInstance& operator=(::MobEffectInstance&&);
44
45 MCAPI ::MobEffectInstance& operator=(::MobEffectInstance const&);
46
47 MCAPI ::std::unique_ptr<::CompoundTag> save() const;
48
49 MCAPI void update(::MobEffectInstance const& takeOver);
50
51 MCAPI ~MobEffectInstance();
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static ::mce::Color getAverageColorValue(::std::vector<::MobEffectInstance> const& effects);
58
59 MCAPI static ::MobEffectInstance load(::CompoundTag const& tag);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::MobEffectInstance const& NO_EFFECT();
66
67 MCAPI static float& splashDurationMultiplier();
68 // NOLINTEND
69
70public:
71 // constructor thunks
72 // NOLINTBEGIN
73 MCAPI void* $ctor(::MobEffectInstance&&);
74
75 MCAPI void* $ctor(::MobEffectInstance const&);
76
77 MCAPI void* $ctor(uint id);
78 // NOLINTEND
79
80public:
81 // destructor thunk
82 // NOLINTBEGIN
83 MCAPI void $dtor();
84 // NOLINTEND
85};
Definition CompoundTag.h:13
Definition MobEffectInstance.h:15
Definition EffectDuration.h:5