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
10class Actor;
12namespace Json { class Value; }
13// clang-format on
14
15class HurtOwnerSubcomponent : public ::OnHitSubcomponent {
16public:
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
24public:
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
38public:
39 // member functions
40 // NOLINTBEGIN
41 MCAPI HurtOwnerSubcomponent();
42 // NOLINTEND
43
44public:
45 // constructor thunks
46 // NOLINTBEGIN
47 MCAPI void* $ctor();
48 // NOLINTEND
49
50public:
51 // virtual function thunks
52 // NOLINTBEGIN
53 MCAPI void $readfromJSON(::Json::Value& component);
54
55 MCAPI void $writetoJSON(::Json::Value& component) const;
56
57 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent&);
58
59 MCAPI char const* $getName() const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition Actor.h:123
static MCAPI void ** $vftable()
Definition Value.h:16
Definition ProjectileComponent.h:31