LeviLamina
Loading...
Searching...
No Matches
Test.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/world/level/levelgen/v2/processors/BlockStateMatch.h"
7
#include "mc/world/level/levelgen/v2/processors/RandomBlockStateMatch.h"
8
#include "mc/world/level/levelgen/v2/processors/block_rules/AlwaysTrue.h"
9
#include "mc/world/level/levelgen/v2/processors/block_rules/BlockMatch.h"
10
#include "mc/world/level/levelgen/v2/processors/block_rules/RandomBlockMatch.h"
11
#include "mc/world/level/levelgen/v2/processors/block_rules/TagMatch.h"
12
#include "mc/world/level/levelgen/v2/processors/block_rules/TestType.h"
13
14
// auto generated forward declare list
15
// clang-format off
16
class
Block
;
17
class
IRandom
;
18
namespace
Util {
class
XXHash
; }
19
// clang-format on
20
21
namespace
br::worldgen::processors::BlockRules {
22
23
struct
Test :
public
::br::worldgen::processors::BlockRules::TestType
{
24
public
:
25
// Test inner types define
26
using
Type = ::std::variant<
27
::br::worldgen::processors::BlockRules::AlwaysTrue
,
28
::br::worldgen::processors::BlockRules::BlockMatch
,
29
::br::worldgen::processors::BlockRules::RandomBlockMatch
,
30
::br::worldgen::processors::BlockRules::TagMatch
,
31
::br::worldgen::processors::BlockRules::BlockStateMatch
,
32
::br::worldgen::processors::BlockRules::RandomBlockStateMatch
>;
33
34
public
:
35
// member variables
36
// NOLINTBEGIN
37
::ll::TypedStorage<
38
8,
39
64,
40
::std::variant<
41
::br::worldgen::processors::BlockRules::AlwaysTrue
,
42
::br::worldgen::processors::BlockRules::BlockMatch
,
43
::br::worldgen::processors::BlockRules::RandomBlockMatch
,
44
::br::worldgen::processors::BlockRules::TagMatch
,
45
::br::worldgen::processors::BlockRules::BlockStateMatch
,
46
::br::worldgen::processors::BlockRules::RandomBlockStateMatch
>>
47
mData;
48
// NOLINTEND
49
50
public
:
51
// prevent constructor by default
52
Test& operator=(Test
const
&);
53
Test();
54
55
public
:
56
// virtual functions
57
// NOLINTBEGIN
58
virtual
bool
test(
::Block
const
& block,
::IRandom
& random)
const
/*override*/
;
59
60
virtual
void
appendMetadataKey(
::Util::XXHash
& hash)
const
/*override*/
;
61
62
virtual
~Test()
/*override*/
;
63
// NOLINTEND
64
65
public
:
66
// member functions
67
// NOLINTBEGIN
68
MCAPI Test(
::br::worldgen::processors::BlockRules::Test
&&);
69
70
MCAPI Test(
::br::worldgen::processors::BlockRules::Test
const
&);
71
72
MCAPI
explicit
Test(
::br::worldgen::processors::BlockRules::TagMatch
match);
73
// NOLINTEND
74
75
public
:
76
// constructor thunks
77
// NOLINTBEGIN
78
MCAPI
void
* $ctor(
::br::worldgen::processors::BlockRules::Test
&&);
79
80
MCAPI
void
* $ctor(
::br::worldgen::processors::BlockRules::Test
const
&);
81
82
MCAPI
void
* $ctor(
::br::worldgen::processors::BlockRules::TagMatch
match);
83
// NOLINTEND
84
85
public
:
86
// destructor thunk
87
// NOLINTBEGIN
88
MCAPI
void
$dtor();
89
// NOLINTEND
90
91
public
:
92
// virtual function thunks
93
// NOLINTBEGIN
94
MCAPI
bool
$test(
::Block
const
& block,
::IRandom
& random)
const
;
95
96
MCAPI
void
$appendMetadataKey(
::Util::XXHash
& hash)
const
;
97
98
99
// NOLINTEND
100
101
public
:
102
// vftables
103
// NOLINTBEGIN
104
MCNAPI
static
void
**
$vftable
();
105
// NOLINTEND
106
};
107
108
}
// namespace br::worldgen::processors::BlockRules
Block
Definition
Block.h:43
IRandom
Definition
IRandom.h:13
Util::XXHash
Definition
XXHash.h:7
br::worldgen::processors::BlockRules::AlwaysTrue
Definition
AlwaysTrue.h:17
br::worldgen::processors::BlockRules::BlockMatch
Definition
BlockMatch.h:18
br::worldgen::processors::BlockRules::BlockStateMatch
Definition
BlockStateMatch.h:17
br::worldgen::processors::BlockRules::RandomBlockMatch
Definition
RandomBlockMatch.h:18
br::worldgen::processors::BlockRules::RandomBlockStateMatch
Definition
RandomBlockStateMatch.h:17
br::worldgen::processors::BlockRules::TagMatch
Definition
TagMatch.h:19
br::worldgen::processors::BlockRules::TestType
Definition
TestType.h:14
br::worldgen::processors::BlockRules::Test
Definition
Test.h:23
br::worldgen::processors::BlockRules::Test::$vftable
static MCAPI void ** $vftable()
src
mc
world
level
levelgen
v2
processors
block_rules
Test.h
Generated on
for LeviLamina by
1.16.1