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
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
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual ::std::string const& getName() const /*override*/;
34
35 // vIndex: 2
36 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 // vIndex: 4
39 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
40
41 // vIndex: 7
42 virtual bool isNetworkComponent() const /*override*/;
43
44 // vIndex: 8
45 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
46
47 // vIndex: 9
48 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
49
50 // vIndex: 0
51 virtual ~BlockSelectionBoxDescription() /*override*/;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI explicit BlockSelectionBoxDescription(bool enabled);
58
59 MCAPI BlockSelectionBoxDescription(::Vec3 const& origin, ::Vec3 const& size);
60 // NOLINTEND
61
62public:
63 // static variables
64 // NOLINTBEGIN
65 MCAPI static ::std::string const& NameID();
66 // NOLINTEND
67
68public:
69 // constructor thunks
70 // NOLINTBEGIN
71 MCAPI void* $ctor(bool enabled);
72
73 MCAPI void* $ctor(::Vec3 const& origin, ::Vec3 const& size);
74 // NOLINTEND
75
76public:
77 // destructor thunk
78 // NOLINTBEGIN
79 MCFOLD void $dtor();
80 // NOLINTEND
81
82public:
83 // virtual function thunks
84 // NOLINTBEGIN
85 MCAPI ::std::string const& $getName() const;
86
87 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
88
89 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
90
91 MCFOLD bool $isNetworkComponent() const;
92
93 MCFOLD ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
94
95 MCFOLD void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
96 // NOLINTEND
97
98public:
99 // vftables
100 // NOLINTBEGIN
101 MCNAPI static void** $vftable();
102 // NOLINTEND
103};
Definition BlockComponentStorage.h:53
Definition CompoundTag.h:13
Definition Vec3.h:10
Definition BlockComponentDescription.h:20
Definition BlockSelectionBoxDescription.h:16
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5