LeviLamina
Loading...
Searching...
No Matches
ReplaceItemCommand.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/server/commands/Command.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
CommandOrigin
;
11
class
CommandOutput
;
12
class
CommandRegistry
;
13
namespace
Util {
struct
ReplacementResults
; }
14
// clang-format on
15
16
class
ReplaceItemCommand :
public
::Command
{
17
public
:
18
// ReplaceItemCommand inner types define
19
enum class
ReplaceMode :
int
{
20
Destroy = 0,
21
Keep = 1,
22
};
23
24
enum class
TargetType :
int
{
25
Block
= 0,
26
Entity = 1,
27
Undefined = 2,
28
};
29
30
public
:
31
// member variables
32
// NOLINTBEGIN
33
::ll::UntypedStorage<4, 4>
mUnk6bda8f;
34
::ll::UntypedStorage<8, 200>
mUnkb10f21;
35
::ll::UntypedStorage<4, 16>
mUnkbda761;
36
::ll::UntypedStorage<4, 4>
mUnk9efdb3;
37
::ll::UntypedStorage<4, 4>
mUnka83d6b;
38
::ll::UntypedStorage<4, 4>
mUnka988eb;
39
::ll::UntypedStorage<8, 8>
mUnkdbbbdc;
40
::ll::UntypedStorage<4, 4>
mUnk75667f;
41
::ll::UntypedStorage<4, 4>
mUnk81ecf3;
42
::ll::UntypedStorage<4, 4>
mUnk4dead2;
43
::ll::UntypedStorage<8, 16>
mUnke1eaec;
44
::ll::UntypedStorage<1, 1>
mUnkf5c953;
45
// NOLINTEND
46
47
public
:
48
// prevent constructor by default
49
ReplaceItemCommand& operator=(ReplaceItemCommand
const
&);
50
ReplaceItemCommand(ReplaceItemCommand
const
&);
51
ReplaceItemCommand();
52
53
public
:
54
// virtual functions
55
// NOLINTBEGIN
56
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
57
58
virtual
~ReplaceItemCommand()
/*override*/
=
default
;
59
// NOLINTEND
60
61
public
:
62
// member functions
63
// NOLINTBEGIN
64
MCAPI
void
65
_outputError(
::CommandOutput
& output,
::Util::ReplacementResults
errorDetails, ::std::string
const
& itemName)
const
;
66
// NOLINTEND
67
68
public
:
69
// static functions
70
// NOLINTBEGIN
71
MCAPI
static
void
setup(
::CommandRegistry
& registry);
72
// NOLINTEND
73
74
public
:
75
// virtual function thunks
76
// NOLINTBEGIN
77
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
78
79
80
// NOLINTEND
81
82
public
:
83
// vftables
84
// NOLINTBEGIN
85
MCNAPI
static
void
**
$vftable
();
86
// NOLINTEND
87
};
Block
Definition
Block.h:43
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:19
CommandRegistry
Definition
CommandRegistry.h:47
Command
Definition
Command.h:17
ReplaceItemCommand::$vftable
static MCAPI void ** $vftable()
Util::ReplacementResults
Definition
ReplacementResults.h:7
ll::UntypedStorage
Definition
Alias.h:14
src
mc
server
commands
standard
ReplaceItemCommand.h
Generated on
for LeviLamina by
1.16.1