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
22 // NOLINTEND
23
24public:
25 // prevent constructor by default
26 HurtOwnerSubcomponent& operator=(HurtOwnerSubcomponent const&);
27 HurtOwnerSubcomponent(HurtOwnerSubcomponent const&);
28 HurtOwnerSubcomponent();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ~HurtOwnerSubcomponent() /*override*/ = default;
34
35 virtual void readfromJSON(::Json::Value& component) /*override*/;
36
37 virtual void writetoJSON(::Json::Value& component) const /*override*/;
38
39 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent&) /*override*/;
40
41 virtual char const* getName() const /*override*/;
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI void $readfromJSON(::Json::Value& component);
48
49 MCAPI void $writetoJSON(::Json::Value& component) const;
50
51 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent&);
52
53 MCAPI char const* $getName() const;
54
55
56 // NOLINTEND
57
58public:
59 // vftables
60 // NOLINTBEGIN
61 MCNAPI static void** $vftable();
62 // NOLINTEND
63};
Definition Actor.h:105
static MCAPI void ** $vftable()
Definition Value.h:16
Definition OnHitSubcomponent.h:12
Definition ProjectileComponent.h:30
Definition Alias.h:14