LeviLamina
Loading...
Searching...
No Matches
MobEffectSubcomponent.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/entity/components_json_legacy/OnHitSubcomponent.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
Actor
;
11
class
MobEffectInstance
;
12
class
ProjectileComponent
;
13
namespace
Json {
class
Value
; }
14
// clang-format on
15
16
class
MobEffectSubcomponent
:
public
::OnHitSubcomponent
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<8, 24, ::std::vector<::MobEffectInstance>> mMobEffects;
21
// NOLINTEND
22
23
public
:
24
// virtual functions
25
// NOLINTBEGIN
26
virtual
~MobEffectSubcomponent
()
/*override*/
=
default
;
27
28
virtual
void
readfromJSON(
::Json::Value
& component)
/*override*/
;
29
30
virtual
void
writetoJSON(
::Json::Value
& component)
const
/*override*/
;
31
32
virtual
void
doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
& component)
/*override*/
;
33
34
virtual
char
const
* getName()
const
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// member functions
39
// NOLINTBEGIN
40
MCAPI
void
_addEffectFromJSON(
::Json::Value
& component);
41
// NOLINTEND
42
43
public
:
44
// virtual function thunks
45
// NOLINTBEGIN
46
MCAPI
void
$readfromJSON(
::Json::Value
& component);
47
48
MCAPI
void
$writetoJSON(
::Json::Value
& component)
const
;
49
50
MCAPI
void
$doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
& component);
51
52
MCAPI
char
const
* $getName()
const
;
53
54
55
// NOLINTEND
56
57
public
:
58
// vftables
59
// NOLINTBEGIN
60
MCNAPI
static
void
**
$vftable
();
61
// NOLINTEND
62
};
Actor
Definition
Actor.h:105
Json::Value
Definition
Value.h:16
MobEffectInstance
Definition
MobEffectInstance.h:15
MobEffectSubcomponent
Definition
MobEffectSubcomponent.h:16
MobEffectSubcomponent::$vftable
static MCAPI void ** $vftable()
OnHitSubcomponent
Definition
OnHitSubcomponent.h:12
ProjectileComponent
Definition
ProjectileComponent.h:30
src
mc
entity
components_json_legacy
MobEffectSubcomponent.h
Generated on
for LeviLamina by
1.16.1