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
13class CompoundTag;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17struct BlockSelectionBoxDescription : public ::BlockComponentDescription {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mEnabled;
22 ::ll::TypedStorage<4, 12, ::Vec3> mOrigin;
23 ::ll::TypedStorage<4, 12, ::Vec3> mSize;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 BlockSelectionBoxDescription();
29
30public:
31 // virtual functions
32 // NOLINTBEGIN
33 virtual ::std::string const& getName() const /*override*/;
34
35 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
36
37 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
38
39 virtual bool isNetworkComponent() const /*override*/;
40
41 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const&) const /*override*/;
42
43 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
44 // NOLINTEND
45
46public:
47 // member functions
48 // NOLINTBEGIN
49 MCAPI explicit BlockSelectionBoxDescription(bool enabled);
50
51 MCAPI BlockSelectionBoxDescription(::Vec3 const& origin, ::Vec3 const& size);
52 // NOLINTEND
53
54public:
55 // static functions
56 // NOLINTBEGIN
57 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
58
59 MCAPI static void registerVersionUpgrades(::CerealSchemaUpgradeSet& schemaUpgrades);
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 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI ::std::string const& $getName() const;
80
81 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
82
83 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
84
85 MCFOLD bool $isNetworkComponent() const;
86
87 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const&) const;
88
89 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
90
91
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCAPI static void** $vftable();
98 // NOLINTEND
99};
Definition BlockComponentStorage.h:63
Definition CerealSchemaUpgradeSet.h:10
Definition CompoundTag.h:23
Definition Vec3.h:10
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5