LeviLamina
Loading...
Searching...
No Matches
BlockCustomComponentsComponentDescription.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
10
class
BlockComponentStorage
;
11
class
CompoundTag
;
12
namespace
cereal {
class
DynamicValue; }
13
namespace
cereal {
struct
ReflectionCtx; }
14
// clang-format on
15
16
class
BlockCustomComponentsComponentDescription
:
public
::BlockComponentDescription
{
17
public
:
18
// member variables
19
// NOLINTBEGIN
20
::ll::UntypedStorage<8, 24>
mUnk2d324e;
21
::ll::UntypedStorage<1, 1>
mUnkb0463b;
22
::ll::UntypedStorage<1, 1>
mUnk9ef4ac;
23
::ll::UntypedStorage<1, 1>
mUnk99a643;
24
// NOLINTEND
25
26
public
:
27
// prevent constructor by default
28
BlockCustomComponentsComponentDescription
& operator=(
BlockCustomComponentsComponentDescription
const
&);
29
BlockCustomComponentsComponentDescription
(
BlockCustomComponentsComponentDescription
const
&);
30
BlockCustomComponentsComponentDescription
();
31
32
public
:
33
// virtual functions
34
// NOLINTBEGIN
35
// vIndex: 1
36
virtual ::std::string
const
& getName()
const
/*override*/
;
37
38
// vIndex: 2
39
virtual
void
initializeComponent(
::BlockComponentStorage
& blockComponentStorage)
const
/*override*/
;
40
41
// vIndex: 7
42
virtual
bool
isNetworkComponent()
const
/*override*/
;
43
44
// vIndex: 8
45
virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
/*override*/
;
46
47
// vIndex: 9
48
virtual
void
initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
)
/*override*/
;
49
50
// vIndex: 0
51
virtual
~BlockCustomComponentsComponentDescription
()
/*override*/
=
default
;
52
// NOLINTEND
53
54
public
:
55
// member functions
56
// NOLINTBEGIN
57
MCAPI
void
addCustomComponent(
58
::std::string_view compName,
59
::cereal::DynamicValue
compData,
60
bool
overridePlayerInteract,
61
bool
overridePlayerPlacing
62
);
63
// NOLINTEND
64
65
public
:
66
// static functions
67
// NOLINTBEGIN
68
MCAPI
static
void
bindType(
::cereal::ReflectionCtx
&
ctx
);
69
// NOLINTEND
70
71
public
:
72
// static variables
73
// NOLINTBEGIN
74
MCAPI static ::std::string
const
& NameID();
75
// NOLINTEND
76
77
public
:
78
// destructor thunk
79
// NOLINTBEGIN
80
81
// NOLINTEND
82
83
public
:
84
// virtual function thunks
85
// NOLINTBEGIN
86
MCAPI ::std::string
const
& $getName()
const
;
87
88
MCAPI
void
$initializeComponent(
::BlockComponentStorage
& blockComponentStorage)
const
;
89
90
MCFOLD
bool
$isNetworkComponent()
const
;
91
92
MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
;
93
94
MCAPI
void
$initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
);
95
// NOLINTEND
96
97
public
:
98
// vftables
99
// NOLINTBEGIN
100
MCAPI
static
void
** $vftable();
101
// NOLINTEND
102
};
BlockComponentStorage
Definition
BlockComponentStorage.h:8
BlockCustomComponentsComponentDescription
Definition
BlockCustomComponentsComponentDescription.h:16
CompoundTag
Definition
CompoundTag.h:13
cereal::DynamicValue
Definition
DynamicValue.h:12
BlockComponentDescription
Definition
BlockComponentDescription.h:20
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
world
level
block
components
BlockCustomComponentsComponentDescription.h
Generated on Sat Apr 26 2025 05:56:19 for LeviLamina by
1.12.0