LeviLamina
Loading...
Searching...
No Matches
TellCommand.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/server/commands/CommandMessage.h"
7
#include "mc/server/commands/CommandSelector.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
Level
;
16
class
Player
;
17
struct
CommandOriginIdentity
;
18
// clang-format on
19
20
class
TellCommand
:
public
::MessagingCommand {
21
public
:
22
// member variables
23
// NOLINTBEGIN
24
::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mTargets;
25
::ll::TypedStorage<8, 32, ::CommandMessage> mMessage;
26
// NOLINTEND
27
28
public
:
29
// virtual functions
30
// NOLINTBEGIN
31
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
32
// NOLINTEND
33
34
public
:
35
// static functions
36
// NOLINTBEGIN
37
MCAPI
static
void
_sendMessageToPlayer(
38
::Player
& player,
39
::std::string
const
& message,
40
::std::optional<::std::string> filteredMessage,
41
::std::string
const
& sender,
42
::CommandOriginIdentity
const
& identity,
43
::Level
& level
44
);
45
46
MCAPI
static
void
setup(
::CommandRegistry
& registry);
47
// NOLINTEND
48
49
public
:
50
// virtual function thunks
51
// NOLINTBEGIN
52
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
53
54
55
// NOLINTEND
56
57
public
:
58
// vftables
59
// NOLINTBEGIN
60
MCNAPI
static
void
**
$vftable
();
61
// NOLINTEND
62
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
CommandRegistry
Definition
CommandRegistry.h:51
Level
Definition
Level.h:255
Player
Definition
Player.h:137
TellCommand
Definition
TellCommand.h:20
TellCommand::$vftable
static MCAPI void ** $vftable()
CommandOriginIdentity
Definition
CommandOriginIdentity.h:5
src
mc
server
commands
standard
TellCommand.h
Generated on
for LeviLamina by
1.16.1