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
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
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 // vIndex: 1
41 virtual void readfromJSON(::Json::Value& component) /*override*/;
42
43 // vIndex: 2
44 virtual void writetoJSON(::Json::Value& component) const /*override*/;
45
46 // vIndex: 3
47 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
48
49 // vIndex: 4
50 virtual char const* getName() /*override*/;
51
52 // vIndex: 0
53 virtual ~FreezeOnHitSubcomponent() /*override*/ = default;
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCNAPI void $readfromJSON(::Json::Value& component);
60
61 MCNAPI void $writetoJSON(::Json::Value& component) const;
62
63 MCNAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
64
65 MCNAPI char const* $getName();
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition Actor.h:103
Definition Cube.h:5
Definition FreezeOnHitSubcomponent.h:15
MCAPI void $writetoJSON(::Json::Value &component) const
MCAPI void $doOnHitEffect(::Actor &owner, ::ProjectileComponent &component)
static MCAPI void ** $vftable()
MCAPI char const * $getName()
MCAPI void $readfromJSON(::Json::Value &component)
Definition Value.h:16
Definition OnHitSubcomponent.h:12
Definition ProjectileComponent.h:30
Definition Alias.h:14