LeviLamina
Loading...
Searching...
No Matches
BlockLightDampeningDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/Brightness.h"
7#include "mc/world/level/block/components/BlockComponentDescription.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<1, 1, ::Brightness> mLightLevel;
21 // NOLINTEND
22
23public:
24 // virtual functions
25 // NOLINTBEGIN
26 virtual ::std::string const& getName() const /*override*/;
27
28 virtual void initializeComponent(::BlockComponentStorage& blockComponentStorage) const /*override*/;
29
30 virtual bool isNetworkComponent() const /*override*/;
31
32 virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(::cereal::ReflectionCtx const& ctx) const /*override*/;
33
34 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
35
36 virtual ~BlockLightDampeningDescription() /*override*/ = default;
37 // NOLINTEND
38
39public:
40 // static variables
41 // NOLINTBEGIN
42 MCAPI static ::std::string const& NameID();
43 // NOLINTEND
44
45public:
46 // virtual function thunks
47 // NOLINTBEGIN
48 MCAPI ::std::string const& $getName() const;
49
50 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
51
52 MCFOLD bool $isNetworkComponent() const;
53
54 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
55
56 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
57
58
59 // NOLINTEND
60
61public:
62 // vftables
63 // NOLINTBEGIN
64 MCNAPI static void** $vftable();
65 // NOLINTEND
66};
Definition BlockComponentStorage.h:58
Definition CompoundTag.h:23
Definition BlockComponentDescription.h:20
Definition BlockLightDampeningDescription.h:16
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5