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