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 // NOLINTEND
36
37public:
38 // static variables
39 // NOLINTBEGIN
40 MCAPI static ::std::string const& NameID();
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCAPI ::std::string const& $getName() const;
47
48 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
49
50 MCFOLD bool $isNetworkComponent() const;
51
52 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const& ctx) const;
53
54 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition BlockComponentStorage.h:66
Definition CompoundTag.h:18
Definition BlockComponentDescription.h:20
Definition BlockLightDampeningDescription.h:16
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5