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
#include "mc/world/effect/MobEffectInstance.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
Actor
;
12
class
ProjectileComponent
;
13
namespace
Json {
class
Value
; }
14
namespace
SharedTypes::v1_26_50 {
struct
ProjectileOnHitSubcomponent
; }
15
// clang-format on
16
17
class
MobEffectSubcomponent
:
public
::OnHitSubcomponent
{
18
public
:
19
// member variables
20
// NOLINTBEGIN
21
::ll::TypedStorage<8, 24, ::std::vector<::MobEffectInstance>> mMobEffects;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
void
initFromDefinition(
::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent
const
& component)
/*override*/
;
28
29
virtual
void
writetoJSON(
::Json::Value
& component)
const
/*override*/
;
30
31
virtual
void
doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
& component)
/*override*/
;
32
33
virtual
char
const
* getName()
const
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// virtual function thunks
38
// NOLINTBEGIN
39
MCAPI
void
$initFromDefinition(
::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent
const
& component);
40
41
MCAPI
void
$writetoJSON(
::Json::Value
& component)
const
;
42
43
MCAPI
void
$doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
& component);
44
45
MCAPI
char
const
* $getName()
const
;
46
47
48
// NOLINTEND
49
};
Actor
Definition
Actor.h:113
Json::Value
Definition
Value.h:16
MobEffectSubcomponent
Definition
MobEffectSubcomponent.h:17
OnHitSubcomponent
Definition
OnHitSubcomponent.h:13
ProjectileComponent
Definition
ProjectileComponent.h:30
SharedTypes::v1_26_50::ProjectileOnHitSubcomponent
Definition
ProjectileOnHitSubcomponent.h:7
src
mc
entity
components_json_legacy
MobEffectSubcomponent.h
Generated on
for LeviLamina by
1.16.1