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 // virtual functions
27 // NOLINTBEGIN
28 virtual ::std::string const& getName() const /*override*/;
29
30 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
31
32 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
33
34 virtual bool isNetworkComponent() const /*override*/;
35
36 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
37
38 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
39 // NOLINTEND
40
41public:
42 // static functions
43 // NOLINTBEGIN
44 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
45 // NOLINTEND
46
47public:
48 // static variables
49 // NOLINTBEGIN
50 MCAPI static ::std::string const& NameID();
51 // NOLINTEND
52
53public:
54 // virtual function thunks
55 // NOLINTBEGIN
56 MCAPI ::std::string const& $getName() const;
57
58 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
59
60 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
61
62 MCFOLD bool $isNetworkComponent() const;
63
64 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
65
66 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCAPI static void** $vftable();
75 // NOLINTEND
76};
Definition BlockComponentStorage.h:67
Definition CompoundTag.h:18
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition BlockSelectionBoxDescription.h:16
Definition ReflectionCtx.h:11
Definition ctx.h:5