LeviLamina
Loading...
Searching...
No Matches
AreaEffectCloud.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/comprehensive/ParticleType.h"
7
#include "mc/world/actor/Actor.h"
8
#include "mc/world/actor/ActorInitializationMethod.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
ActorDefinitionGroup
;
13
class
CompoundTag
;
14
class
DataLoadHelper
;
15
class
EntityContext
;
16
class
MobEffectInstance
;
17
class
Random
;
18
struct
ActorDefinitionIdentifier
;
19
struct
ActorUniqueID
;
20
struct
EffectDuration
;
21
struct
VariantParameterList
;
22
namespace
mce {
class
Color; }
23
// clang-format on
24
25
class
AreaEffectCloud
:
public
::Actor
{
26
public
:
27
// member variables
28
// NOLINTBEGIN
29
::ll::UntypedStorage<8, 8>
mUnkce8056;
30
::ll::UntypedStorage<1, 1>
mUnk156f46;
31
::ll::UntypedStorage<8, 8>
mUnkdb5778;
32
::ll::UntypedStorage<4, 4>
mUnkc6f235;
33
::ll::UntypedStorage<4, 4>
mUnk710b83;
34
::ll::UntypedStorage<4, 4>
mUnke886ed;
35
::ll::UntypedStorage<4, 4>
mUnk2cbab8;
36
::ll::UntypedStorage<8, 24>
mUnk92e9be;
37
::ll::UntypedStorage<8, 64>
mUnk66cb21;
38
// NOLINTEND
39
40
public
:
41
// prevent constructor by default
42
AreaEffectCloud
& operator=(
AreaEffectCloud
const
&);
43
AreaEffectCloud
(
AreaEffectCloud
const
&);
44
AreaEffectCloud
();
45
46
public
:
47
// virtual functions
48
// NOLINTBEGIN
49
// vIndex: 2
50
virtual
void
reloadHardcoded(::ActorInitializationMethod,
::VariantParameterList
const
&)
/*override*/
;
51
52
// vIndex: 55
53
virtual
void
setOwner(
::ActorUniqueID
const
ownerID)
/*override*/
;
54
55
// vIndex: 24
56
virtual
void
normalTick()
/*override*/
;
57
58
// vIndex: 35
59
virtual
float
getShadowRadius()
const
/*override*/
;
60
61
// vIndex: 137
62
virtual
void
addAdditionalSaveData(
::CompoundTag
& tag)
const
/*override*/
;
63
64
// vIndex: 136
65
virtual
void
readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper)
/*override*/
;
66
67
// vIndex: 8
68
virtual
~AreaEffectCloud
()
/*override*/
=
default
;
69
// NOLINTEND
70
71
public
:
72
// member functions
73
// NOLINTBEGIN
74
MCAPI
AreaEffectCloud
(
75
::ActorDefinitionGroup
* definitions,
76
::ActorDefinitionIdentifier
const
& definitionName,
77
::EntityContext
& entityContext
78
);
79
80
MCAPI
void
_spawnParticles(
::Random
& random, uint numParticles,
float
radius);
81
82
MCAPI
void
addAreaEffect(
::MobEffectInstance
effect);
83
84
MCAPI
void
calculateAndSetRadiusPerTick();
85
86
MCAPI
float
getEffectiveRadius()
const
;
87
88
MCAPI
void
setDuration(
::EffectDuration
duration);
89
90
MCAPI
void
setInitialRadius(
float
radius);
91
92
MCAPI
void
setParticle(::ParticleType type);
93
94
MCAPI
void
setParticleColor(
::mce::Color
& c);
95
96
MCAPI
void
setPickupCount(
int
useCount);
97
98
MCAPI
void
setPotion(
short
potionAUX);
99
100
MCAPI
void
setRadiusChangeOnPickup(
float
changeAmount);
101
102
MCAPI
void
setRadiusPerTick(
float
radiusPerTick);
103
// NOLINTEND
104
105
public
:
106
// constructor thunks
107
// NOLINTBEGIN
108
MCAPI
void
* $ctor(
109
::ActorDefinitionGroup
* definitions,
110
::ActorDefinitionIdentifier
const
& definitionName,
111
::EntityContext
& entityContext
112
);
113
// NOLINTEND
114
115
public
:
116
// destructor thunk
117
// NOLINTBEGIN
118
119
// NOLINTEND
120
121
public
:
122
// virtual function thunks
123
// NOLINTBEGIN
124
MCAPI
void
$setOwner(
::ActorUniqueID
const
ownerID);
125
126
MCAPI
void
$normalTick();
127
128
MCFOLD
float
$getShadowRadius()
const
;
129
130
MCAPI
void
$addAdditionalSaveData(
::CompoundTag
& tag)
const
;
131
132
MCAPI
void
$readAdditionalSaveData(
::CompoundTag
const
& tag,
::DataLoadHelper
& dataLoadHelper);
133
// NOLINTEND
134
135
public
:
136
// vftables
137
// NOLINTBEGIN
138
MCAPI
static
void
** $vftable();
139
// NOLINTEND
140
};
ActorDefinitionGroup
Definition
ActorDefinitionGroup.h:27
Actor
Definition
Actor.h:104
AreaEffectCloud
Definition
AreaEffectCloud.h:25
CompoundTag
Definition
CompoundTag.h:13
DataLoadHelper
Definition
DataLoadHelper.h:20
EntityContext
Definition
EntityContext.h:16
MobEffectInstance
Definition
MobEffectInstance.h:15
Random
Definition
Random.h:16
mce::Color
Definition
Color.h:13
ActorDefinitionIdentifier
Definition
ActorDefinitionIdentifier.h:13
ActorUniqueID
Definition
ActorUniqueID.h:5
EffectDuration
Definition
EffectDuration.h:5
VariantParameterList
Definition
VariantParameterList.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
actor
AreaEffectCloud.h
Generated on Sat Apr 26 2025 05:56:04 for LeviLamina by
1.12.0