LeviLamina
Loading...
Searching...
No Matches
SayCommand.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/server/commands/standard/MessagingCommand.h"
7
8
// auto generated forward declare list
9
// clang-format off
10
class
CommandOrigin
;
11
class
CommandOutput
;
12
class
CommandRegistry
;
13
class
Level
;
14
class
Player
;
15
struct
CommandOriginIdentity
;
16
// clang-format on
17
18
class
SayCommand :
public
::MessagingCommand {
19
public
:
20
// member variables
21
// NOLINTBEGIN
22
::ll::UntypedStorage<8, 32>
mUnk360023;
23
// NOLINTEND
24
25
public
:
26
// prevent constructor by default
27
SayCommand& operator=(SayCommand
const
&);
28
SayCommand(SayCommand
const
&);
29
SayCommand();
30
31
public
:
32
// virtual functions
33
// NOLINTBEGIN
34
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
35
36
virtual
~SayCommand()
/*override*/
=
default
;
37
// NOLINTEND
38
39
public
:
40
// static functions
41
// NOLINTBEGIN
42
MCAPI
static
void
_sendMessage(
43
::std::string
const
& message,
44
::std::optional<::std::string> filteredMessage,
45
::std::string
const
& sender,
46
::CommandOriginIdentity
const
& identity,
47
::Level
& level
48
);
49
50
MCAPI
static
bool
_trySendSayCommandEvent(
::Player
const
& player,
::Level
& level, ::std::string
const
& message);
51
52
MCAPI
static
void
setup(
::CommandRegistry
& registry);
53
// NOLINTEND
54
55
public
:
56
// virtual function thunks
57
// NOLINTBEGIN
58
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
59
60
61
// NOLINTEND
62
63
public
:
64
// vftables
65
// NOLINTBEGIN
66
MCNAPI
static
void
**
$vftable
();
67
// NOLINTEND
68
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:19
CommandRegistry
Definition
CommandRegistry.h:47
Level
Definition
Level.h:249
Player
Definition
Player.h:125
SayCommand::$vftable
static MCAPI void ** $vftable()
CommandOriginIdentity
Definition
CommandOriginIdentity.h:5
ll::UntypedStorage
Definition
Alias.h:14
src
mc
server
commands
standard
SayCommand.h
Generated on
for LeviLamina by
1.16.1