LeviLamina
Loading...
Searching...
No Matches
TitleRawCommand.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/network/packet/SetTitlePacketPayload.h"
7
#include "mc/server/commands/CommandSelectorResults.h"
8
#include "mc/server/commands/standard/MessagingCommand.h"
9
10
// auto generated forward declare list
11
// clang-format off
12
class
CommandOrigin
;
13
class
CommandOutput
;
14
class
CommandRegistry
;
15
class
Player
;
16
// clang-format on
17
18
class
TitleRawCommand :
public
::MessagingCommand {
19
public
:
20
// TitleRawCommand inner types define
21
enum class
Mode :
int
{
22
Clear = 0,
23
Reset = 1,
24
Title = 2,
25
Subtitle = 3,
26
ActionBar = 4,
27
Times = 5,
28
Undefined = 6,
29
};
30
31
public
:
32
// member variables
33
// NOLINTBEGIN
34
::ll::UntypedStorage<4, 4>
mUnk6c5234;
35
::ll::UntypedStorage<8, 200>
mUnkd8086f;
36
::ll::UntypedStorage<8, 16>
mUnkafc916;
37
::ll::UntypedStorage<4, 4>
mUnk2c88f9;
38
::ll::UntypedStorage<4, 4>
mUnkee094f;
39
::ll::UntypedStorage<4, 4>
mUnk32257a;
40
// NOLINTEND
41
42
public
:
43
// prevent constructor by default
44
TitleRawCommand& operator=(TitleRawCommand
const
&);
45
TitleRawCommand(TitleRawCommand
const
&);
46
TitleRawCommand();
47
48
public
:
49
// virtual functions
50
// NOLINTBEGIN
51
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
52
53
virtual
~TitleRawCommand()
/*override*/
=
default
;
54
// NOLINTEND
55
56
public
:
57
// member functions
58
// NOLINTBEGIN
59
MCAPI
bool
_sendTitlePacketTextObject(
60
::SetTitlePacketPayload::TitleType type,
61
::CommandOrigin
const
& origin,
62
::CommandOutput
& output,
63
::CommandSelectorResults<::Player>
const
& targets
64
)
const
;
65
// NOLINTEND
66
67
public
:
68
// static functions
69
// NOLINTBEGIN
70
MCAPI
static
void
setup(
::CommandRegistry
& registry);
71
// NOLINTEND
72
73
public
:
74
// virtual function thunks
75
// NOLINTBEGIN
76
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
77
78
79
// NOLINTEND
80
81
public
:
82
// vftables
83
// NOLINTBEGIN
84
MCNAPI
static
void
**
$vftable
();
85
// NOLINTEND
86
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:19
CommandRegistry
Definition
CommandRegistry.h:47
CommandSelectorResults
Definition
CommandSelectorResults.h:6
Player
Definition
Player.h:125
TitleRawCommand::$vftable
static MCAPI void ** $vftable()
ll::UntypedStorage
Definition
Alias.h:14
src
mc
server
commands
standard
TitleRawCommand.h
Generated on
for LeviLamina by
1.16.1