LeviLamina
Loading...
Searching...
No Matches
BlockContainerDescription.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
19 ::ll::TypedStorage<1, 1, uchar> mSlotCount;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual ::std::string const& getName() const /*override*/;
26
27 virtual void initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const /*override*/;
28
29 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
30
31 virtual bool isNetworkComponent() const /*override*/;
32
33 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
34
35 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
36 // NOLINTEND
37
38public:
39 // static variables
40 // NOLINTBEGIN
41 MCAPI static ::std::string const& NameID();
42 // NOLINTEND
43
44public:
45 // virtual function thunks
46 // NOLINTBEGIN
47 MCAPI ::std::string const& $getName() const;
48
49 MCFOLD void $initializeComponentFromCode(::BlockComponentStorage& blockComponentStorage) const;
50
51 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
52
53 MCFOLD bool $isNetworkComponent() const;
54
55 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
56
57 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
58
59
60 // NOLINTEND
61
62public:
63 // vftables
64 // NOLINTBEGIN
65 MCNAPI static void** $vftable();
66 // NOLINTEND
67};
Definition BlockComponentStorage.h:67
Definition CompoundTag.h:18
Definition BlockComponentDescription.h:20
Definition BlockContainerDescription.h:15
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5