LeviLamina
Loading...
Searching...
No Matches
BlockItemVisualDescription.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
11class CompoundTag;
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
28
29public:
30 // virtual functions
31 // NOLINTBEGIN
32 // vIndex: 1
33 virtual ::std::string const& getName() const /*override*/;
34
35 // vIndex: 4
36 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
37
38 // vIndex: 2
39 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
40
41 // vIndex: 7
42 virtual bool isNetworkComponent() const /*override*/;
43
44 // vIndex: 8
45 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
46
47 // vIndex: 9
48 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
49
50 // vIndex: 0
51 virtual ~BlockItemVisualDescription() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // static variables
56 // NOLINTBEGIN
57 MCAPI static ::std::string const& NameID();
58 // NOLINTEND
59
60public:
61 // destructor thunk
62 // NOLINTBEGIN
63
64 // NOLINTEND
65
66public:
67 // virtual function thunks
68 // NOLINTBEGIN
69 MCAPI ::std::string const& $getName() const;
70
71 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
72
73 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
74
75 MCFOLD bool $isNetworkComponent() const;
76
77 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
78
79 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCAPI static void** $vftable();
86 // NOLINTEND
87};
Definition BlockComponentStorage.h:8
Definition CompoundTag.h:13
Definition BlockComponentDescription.h:20
Definition BlockItemVisualDescription.h:15
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14