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
13class CompoundTag;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17struct BlockCraftingTableDescription : public ::BlockComponentDescription {
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<4, 4, int> mGridSize;
22 ::ll::TypedStorage<8, 32, ::std::string> mTableName;
23 ::ll::TypedStorage<8, 24, ::CraftingTagsProxy> mCraftingTags;
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 BlockCraftingTableDescription& operator=(BlockCraftingTableDescription const&);
29 BlockCraftingTableDescription();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ::std::string const& getName() const /*override*/;
35
36 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 virtual bool isNetworkComponent() const /*override*/;
39
40 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const&) 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 BlockCraftingTableDescription(::BlockCraftingTableDescription const&);
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
55
56 MCAPI static void registerVersionUpgrades(::CerealSchemaUpgradeSet& schemaUpgrades);
57 // NOLINTEND
58
59public:
60 // static variables
61 // NOLINTBEGIN
62 MCAPI static ::std::string const& NameID();
63 // NOLINTEND
64
65public:
66 // constructor thunks
67 // NOLINTBEGIN
68 MCAPI void* $ctor(::BlockCraftingTableDescription const&);
69 // NOLINTEND
70
71public:
72 // virtual function thunks
73 // NOLINTBEGIN
74 MCAPI ::std::string const& $getName() const;
75
76 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
77
78 MCFOLD bool $isNetworkComponent() const;
79
80 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const&) const;
81
82 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
83
84
85 // NOLINTEND
86
87public:
88 // vftables
89 // NOLINTBEGIN
90 MCNAPI static void** $vftable();
91 // NOLINTEND
92};
Definition BlockComponentStorage.h:63
Definition CerealSchemaUpgradeSet.h:10
Definition CompoundTag.h:23
Definition BlockComponentDescription.h:20
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5