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
33
virtual
~TellCommand
()
/*override*/
=
default
;
34
// NOLINTEND
35
36
public
:
37
// static functions
38
// NOLINTBEGIN
39
MCAPI
static
void
_sendMessageToPlayer(
40
::Player
& player,
41
::std::string
const
& message,
42
::std::optional<::std::string> filteredMessage,
43
::std::string
const
& sender,
44
::CommandOriginIdentity
const
& identity,
45
::Level
& level
46
);
47
48
MCAPI
static
void
setup(
::CommandRegistry
& registry);
49
// NOLINTEND
50
51
public
:
52
// virtual function thunks
53
// NOLINTBEGIN
54
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
55
56
57
// NOLINTEND
58
59
public
:
60
// vftables
61
// NOLINTBEGIN
62
MCNAPI
static
void
**
$vftable
();
63
// NOLINTEND
64
};
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
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