LeviLamina
Loading...
Searching...
No Matches
BlockSelectionBoxDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/Vec3.h"
7#include "mc/world/level/block/components/BlockComponentDescription.h"
8
9// auto generated forward declare list
10// clang-format off
12class CompoundTag;
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
16struct BlockSelectionBoxDescription : public ::BlockComponentDescription {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<1, 1, bool> mEnabled;
21 ::ll::TypedStorage<4, 12, ::Vec3> mOrigin;
22 ::ll::TypedStorage<4, 12, ::Vec3> mSize;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 BlockSelectionBoxDescription();
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 virtual ::std::string const& getName() const /*override*/;
33
34 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
35
36 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 virtual bool isNetworkComponent() const /*override*/;
39
40 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
41
42 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
43
44 virtual ~BlockSelectionBoxDescription() /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI explicit BlockSelectionBoxDescription(bool enabled);
51
52 MCAPI BlockSelectionBoxDescription(::Vec3 const& origin, ::Vec3 const& size);
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
59 // NOLINTEND
60
61public:
62 // static variables
63 // NOLINTBEGIN
64 MCAPI static ::std::string const& NameID();
65 // NOLINTEND
66
67public:
68 // constructor thunks
69 // NOLINTBEGIN
70 MCAPI void* $ctor(bool enabled);
71
72 MCAPI void* $ctor(::Vec3 const& origin, ::Vec3 const& size);
73 // NOLINTEND
74
75public:
76 // destructor thunk
77 // NOLINTBEGIN
78 MCFOLD void $dtor();
79 // NOLINTEND
80
81public:
82 // virtual function thunks
83 // NOLINTBEGIN
84 MCAPI ::std::string const& $getName() const;
85
86 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
87
88 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
89
90 MCFOLD bool $isNetworkComponent() const;
91
92 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
93
94 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
95
96
97 // NOLINTEND
98
99public:
100 // vftables
101 // NOLINTBEGIN
102 MCNAPI static void** $vftable();
103 // NOLINTEND
104};
Definition BlockComponentStorage.h:58
Definition CompoundTag.h:23
Definition Vec3.h:10
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5