LeviLamina
Loading...
Searching...
No Matches
BlockCollisionBoxDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/components/BlockComponentDescription.h"
7
8// auto generated forward declare list
9// clang-format off
10class AABB;
12class CompoundTag;
13class Vec3;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17struct BlockCollisionBoxDescription : public ::BlockComponentDescription {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mEnabled;
22 ::ll::TypedStorage<8, 24, ::std::vector<::AABB>> mBoxes;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 BlockCollisionBoxDescription();
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 // NOLINTEND
44
45public:
46 // member functions
47 // NOLINTBEGIN
48 MCAPI BlockCollisionBoxDescription(::Vec3 const& origin, ::Vec3 const& size);
49 // NOLINTEND
50
51public:
52 // static variables
53 // NOLINTBEGIN
54 MCAPI static ::std::string const& NameID();
55 // NOLINTEND
56
57public:
58 // constructor thunks
59 // NOLINTBEGIN
60 MCAPI void* $ctor(::Vec3 const& origin, ::Vec3 const& size);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI ::std::string const& $getName() const;
67
68 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
69
70 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
71
72 MCFOLD bool $isNetworkComponent() const;
73
74 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
75
76 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
77
78
79 // NOLINTEND
80
81public:
82 // vftables
83 // NOLINTBEGIN
84 MCNAPI static void** $vftable();
85 // NOLINTEND
86};
Definition AABB.h:18
Definition BlockComponentStorage.h:67
Definition CompoundTag.h:18
Definition Vec3.h:10
static MCAPI void ** $vftable()
Definition BlockComponentDescription.h:20
Definition ReflectionCtx.h:11
Definition ctx.h:5