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