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