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
26 ::ll::TypedStorage<1, 1, ::FreezeOnHitSubcomponent::Shape> mShape;
27 ::ll::TypedStorage<4, 4, float> mSize;
28 ::ll::TypedStorage<1, 1, bool> mSnapToBlock;
29 // NOLINTEND
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual void readfromJSON(::Json::Value& component) /*override*/;
35
36 virtual void writetoJSON(::Json::Value& component) const /*override*/;
37
38 virtual void doOnHitEffect(::Actor& owner, ::ProjectileComponent& component) /*override*/;
39
40 virtual char const* getName() const /*override*/;
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCAPI void $readfromJSON(::Json::Value& component);
47
48 MCAPI void $writetoJSON(::Json::Value& component) const;
49
50 MCAPI void $doOnHitEffect(::Actor& owner, ::ProjectileComponent& component);
51
52 MCAPI char const* $getName() const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition Actor.h:125
Definition Cube.h:5
Definition FreezeOnHitSubcomponent.h:15
static MCAPI void ** $vftable()
Definition Value.h:16
Definition ProjectileComponent.h:31