LeviLamina
Loading...
Searching...
No Matches
BlockFrictionDescription.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 {
struct
ReflectionCtx
; }
13
// clang-format on
14
15
struct
BlockFrictionDescription
:
public
::BlockComponentDescription
{
16
public
:
17
// member variables
18
// NOLINTBEGIN
19
::ll::TypedStorage<4, 4, float> mFriction;
20
// NOLINTEND
21
22
public
:
23
// virtual functions
24
// NOLINTBEGIN
25
virtual ::std::string
const
& getName()
const
/*override*/
;
26
27
virtual
void
initializeComponent(
::BlockComponentStorage
& blockComponentStorage)
const
/*override*/
;
28
29
virtual
bool
isNetworkComponent()
const
/*override*/
;
30
31
virtual ::std::unique_ptr<::CompoundTag> buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
/*override*/
;
32
33
virtual
void
initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
)
/*override*/
;
34
// NOLINTEND
35
36
public
:
37
// static functions
38
// NOLINTBEGIN
39
MCAPI
static
void
bindType(
::cereal::ReflectionCtx
&
ctx
);
40
// NOLINTEND
41
42
public
:
43
// static variables
44
// NOLINTBEGIN
45
MCAPI static ::std::string
const
& NameID();
46
// NOLINTEND
47
48
public
:
49
// virtual function thunks
50
// NOLINTBEGIN
51
MCAPI ::std::string
const
& $getName()
const
;
52
53
MCAPI
void
$initializeComponent(
::BlockComponentStorage
& blockComponentStorage)
const
;
54
55
MCFOLD
bool
$isNetworkComponent()
const
;
56
57
MCAPI ::std::unique_ptr<::CompoundTag> $buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
;
58
59
MCAPI
void
$initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
);
60
61
62
// NOLINTEND
63
64
public
:
65
// vftables
66
// NOLINTBEGIN
67
MCNAPI
static
void
**
$vftable
();
68
// NOLINTEND
69
};
BlockComponentStorage
Definition
BlockComponentStorage.h:67
CompoundTag
Definition
CompoundTag.h:18
BlockComponentDescription
Definition
BlockComponentDescription.h:20
BlockFrictionDescription
Definition
BlockFrictionDescription.h:15
BlockFrictionDescription::$vftable
static MCAPI void ** $vftable()
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
src
mc
world
level
block
components
BlockFrictionDescription.h
Generated on
for LeviLamina by
1.16.1