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
namespace
SharedTypes::v1_26_50 {
struct
ProjectileOnHitSubcomponent
; }
14
// clang-format on
15
16
class
HurtOwnerSubcomponent
:
public
::OnHitSubcomponent
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<4, 4, float> mOwnerDamage;
21
::ll::TypedStorage<1, 1, bool> mKnockback;
22
::ll::TypedStorage<1, 1, bool> mIgnite;
23
// NOLINTEND
24
25
public
:
26
// virtual functions
27
// NOLINTBEGIN
28
virtual
void
initFromDefinition(
::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent
const
& component)
/*override*/
;
29
30
virtual
void
writetoJSON(
::Json::Value
& component)
const
/*override*/
;
31
32
virtual
void
doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
&)
/*override*/
;
33
34
virtual
char
const
* getName()
const
/*override*/
;
35
// NOLINTEND
36
37
public
:
38
// virtual function thunks
39
// NOLINTBEGIN
40
MCAPI
void
$initFromDefinition(
::SharedTypes::v1_26_50::ProjectileOnHitSubcomponent
const
& component);
41
42
MCAPI
void
$writetoJSON(
::Json::Value
& component)
const
;
43
44
MCAPI
void
$doOnHitEffect(
::Actor
& owner,
::ProjectileComponent
&);
45
46
MCAPI
char
const
* $getName()
const
;
47
48
49
// NOLINTEND
50
};
Actor
Definition
Actor.h:113
HurtOwnerSubcomponent
Definition
HurtOwnerSubcomponent.h:16
Json::Value
Definition
Value.h:16
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
HurtOwnerSubcomponent.h
Generated on
for LeviLamina by
1.16.1