LeviLamina
Loading...
Searching...
No Matches
HurtOwnerSubcomponent.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
ProjectileComponent
;
12
namespace
Json {
class
Value
; }
13
// clang-format on
14
15
class
HurtOwnerSubcomponent
:
public
::OnHitSubcomponent
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<4, 4, float> mOwnerDamage;
20
::ll::TypedStorage<1, 1, bool> mKnockback;
21
::ll::TypedStorage<1, 1, bool> mIgnite;
22
// NOLINTEND
23
24
public
:
25
// virtual functions
26
// NOLINTBEGIN
27
virtual
~HurtOwnerSubcomponent
()
/*override*/
=
default
;
28
29
virtual
void
readfromJSON(
::Json::Value
& component)
/*override*/
;
30
31
virtual
void
writetoJSON(
::Json::Value
& component)
const
/*override*/
;
32
33
virtual
void
doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
&)
/*override*/
;
34
35
virtual
char
const
* getName()
const
/*override*/
;
36
// NOLINTEND
37
38
public
:
39
// virtual function thunks
40
// NOLINTBEGIN
41
MCAPI
void
$readfromJSON(
::Json::Value
& component);
42
43
MCAPI
void
$writetoJSON(
::Json::Value
& component)
const
;
44
45
MCAPI
void
$doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
&);
46
47
MCAPI
char
const
* $getName()
const
;
48
49
50
// NOLINTEND
51
52
public
:
53
// vftables
54
// NOLINTBEGIN
55
MCNAPI
static
void
**
$vftable
();
56
// NOLINTEND
57
};
Actor
Definition
Actor.h:106
HurtOwnerSubcomponent
Definition
HurtOwnerSubcomponent.h:15
HurtOwnerSubcomponent::$vftable
static MCAPI void ** $vftable()
Json::Value
Definition
Value.h:16
OnHitSubcomponent
Definition
OnHitSubcomponent.h:12
ProjectileComponent
Definition
ProjectileComponent.h:30
src
mc
entity
components_json_legacy
HurtOwnerSubcomponent.h
Generated on
for LeviLamina by
1.16.1