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
11
class
BlockComponentStorage
;
12
class
CompoundTag
;
13
namespace
cereal {
struct
ReflectionCtx
; }
14
// clang-format on
15
16
struct
BlockLightDampeningDescription
:
public
::BlockComponentDescription
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::TypedStorage<1, 1, ::Brightness> mLightLevel;
21
// NOLINTEND
22
23
public
:
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
39
public
:
40
// static variables
41
// NOLINTBEGIN
42
MCAPI static ::std::string
const
& NameID();
43
// NOLINTEND
44
45
public
:
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
61
public
:
62
// vftables
63
// NOLINTBEGIN
64
MCNAPI
static
void
**
$vftable
();
65
// NOLINTEND
66
};
BlockComponentStorage
Definition
BlockComponentStorage.h:58
CompoundTag
Definition
CompoundTag.h:23
BlockComponentDescription
Definition
BlockComponentDescription.h:20
BlockLightDampeningDescription
Definition
BlockLightDampeningDescription.h:16
BlockLightDampeningDescription::$vftable
static MCAPI void ** $vftable()
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
src
mc
world
level
block
components
BlockLightDampeningDescription.h
Generated on
for LeviLamina by
1.16.1