LeviLamina
Loading...
Searching...
No Matches
FreezeOnHitSubcomponent.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 FreezeOnHitSubcomponent : public ::OnHitSubcomponent {
16public:
17 // FreezeOnHitSubcomponent inner types define
18 enum class Shape : uchar {
19 Cube = 0,
20 Sphere = 1,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 FreezeOnHitSubcomponent& operator=(FreezeOnHitSubcomponent const&);
34 FreezeOnHitSubcomponent(FreezeOnHitSubcomponent const&);
35 FreezeOnHitSubcomponent();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual void readfromJSON(::Json::Value& component) /*override*/;
41
42 virtual void writetoJSON(::Json::Value& component) const /*override*/;
43
44 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
45
46 virtual char const* getName() const /*override*/;
47
48 virtual ~FreezeOnHitSubcomponent() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $readfromJSON(::Json::Value& component);
55
56 MCAPI void $writetoJSON(::Json::Value& component) const;
57
58 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
59
60 MCAPI char const* $getName() const;
61
62
63 // NOLINTEND
64
65public:
66 // vftables
67 // NOLINTBEGIN
68 MCNAPI static void** $vftable();
69 // NOLINTEND
70};
Definition Actor.h:105
Definition Cube.h:20
static MCAPI void ** $vftable()
Definition Value.h:16
Definition OnHitSubcomponent.h:12
Definition ProjectileComponent.h:30
Definition Alias.h:14