LeviLamina
Loading...
Searching...
No Matches
BlockCraftingTableDescription.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#include "mc/world/level/block/components/CraftingTagsProxy.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<4, 4, int> mGridSize;
21 ::ll::TypedStorage<8, 32, ::std::string> mTableName;
22 ::ll::TypedStorage<8, 24, ::CraftingTagsProxy> mCraftingTags;
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 bool isNetworkComponent() const /*override*/;
33
34 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
35
36 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
37
38 virtual ~BlockCraftingTableDescription() /*override*/ = default;
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 bool $isNetworkComponent() const;
61
62 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
63
64 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
65
66
67 // NOLINTEND
68
69public:
70 // vftables
71 // NOLINTBEGIN
72 MCNAPI static void** $vftable();
73 // NOLINTEND
74};
Definition BlockComponentStorage.h:58
Definition CompoundTag.h:23
Definition BlockComponentDescription.h:20
Definition BlockCraftingTableDescription.h:16
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5