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
13class CompoundTag;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, ::Brightness> mLightLevel;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual ::std::string const& getName() 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&) const /*override*/;
34
35 virtual void initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx) /*override*/;
36 // NOLINTEND
37
38public:
39 // static functions
40 // NOLINTBEGIN
41 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
42
43 MCAPI static void registerVersionUpgrades(::CerealSchemaUpgradeSet& schemaUpgrades);
44 // NOLINTEND
45
46public:
47 // static variables
48 // NOLINTBEGIN
49 MCAPI static ::std::string const& NameID();
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI ::std::string const& $getName() const;
56
57 MCAPI void $initializeComponent(::BlockComponentStorage& blockComponentStorage) const;
58
59 MCFOLD bool $isNetworkComponent() const;
60
61 MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(::cereal::ReflectionCtx const&) const;
62
63 MCAPI void $initializeFromNetwork(::CompoundTag const& tag, ::cereal::ReflectionCtx const& ctx);
64
65
66 // NOLINTEND
67
68public:
69 // vftables
70 // NOLINTBEGIN
71 MCNAPI static void** $vftable();
72 // NOLINTEND
73};
Definition BlockComponentStorage.h:63
Definition CerealSchemaUpgradeSet.h:10
Definition CompoundTag.h:23
Definition BlockComponentDescription.h:20
Definition BlockLightDampeningDescription.h:17
static MCAPI void ** $vftable()
Definition ReflectionCtx.h:11
Definition ctx.h:5