LeviLamina
Loading...
Searching...
No Matches
ITrait.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
BlockType
;
8
class
CompoundTag
;
9
namespace
cereal {
struct
ReflectionCtx
; }
10
// clang-format on
11
12
namespace
BlockTrait {
13
14
class
ITrait
{
15
public
:
16
// virtual functions
17
// NOLINTBEGIN
18
virtual
~ITrait
();
19
20
virtual
void
applyToBlockType(
::BlockType
& blockType)
const
= 0;
21
22
virtual
void
initializeFromNetwork(
::CompoundTag
const
& tag,
::cereal::ReflectionCtx
const
&
ctx
) = 0;
23
24
virtual ::std::unique_ptr<::CompoundTag> _buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
= 0;
25
26
virtual ::std::string
const
& _getName()
const
= 0;
27
// NOLINTEND
28
29
public
:
30
// member functions
31
// NOLINTBEGIN
32
MCAPI ::std::unique_ptr<::CompoundTag> buildNetworkTag(
::cereal::ReflectionCtx
const
&
ctx
)
const
;
33
// NOLINTEND
34
35
public
:
36
// destructor thunk
37
// NOLINTBEGIN
38
MCFOLD
void
$dtor();
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
45
// NOLINTEND
46
};
47
48
}
// namespace BlockTrait
BlockTrait::ITrait
Definition
ITrait.h:14
BlockType
Definition
BlockType.h:84
CompoundTag
Definition
CompoundTag.h:23
cereal::ReflectionCtx
Definition
ReflectionCtx.h:11
ctx
Definition
ctx.h:5
src
mc
world
level
block
traits
block_trait
ITrait.h
Generated on
for LeviLamina by
1.16.1