LeviLamina
Loading...
Searching...
No Matches
IRequestAction.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated forward declare list
6
// clang-format off
7
class
CompoundTag
;
8
class
Dimension
;
9
class
ServerLevel
;
10
// clang-format on
11
12
class
IRequestAction
{
13
public
:
14
// IRequestAction inner types define
15
enum class
RequestActionType : uchar {
16
FunctionAction
= 0,
17
TestAction
= 1,
18
StructureAnimationAction
= 2,
19
JigsawStructurePostprocessAction
= 3,
20
MultiBlockDelayedPlacement = 4,
21
};
22
23
public
:
24
// member variables
25
// NOLINTBEGIN
26
::ll::TypedStorage<1, 1, ::IRequestAction::RequestActionType> mActionType;
27
// NOLINTEND
28
29
public
:
30
// virtual functions
31
// NOLINTBEGIN
32
virtual
~IRequestAction
() =
default
;
33
34
virtual
void
execute(
::ServerLevel
& level,
::Dimension
& dimension) = 0;
35
36
virtual
void
serialize(
::CompoundTag
& tag);
37
38
virtual
bool
operator==(
::IRequestAction
const
& action)
const
;
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
MCAPI
void
$serialize(
::CompoundTag
& tag);
45
46
47
// NOLINTEND
48
};
CompoundTag
Definition
CompoundTag.h:18
Dimension
Definition
Dimension.h:86
FunctionAction
Definition
FunctionAction.h:17
IRequestAction
Definition
IRequestAction.h:12
JigsawStructurePostprocessAction
Definition
JigsawStructurePostprocessAction.h:25
ServerLevel
Definition
ServerLevel.h:57
StructureAnimationAction
Definition
StructureAnimationAction.h:20
TestAction
Definition
TestAction.h:14
src
mc
world
level
chunk
IRequestAction.h
Generated on
for LeviLamina by
1.16.1