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