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
12class CommandOrigin;
13class CommandOutput;
14class CommandRegistry;
15class Level;
16class Player;
18// clang-format on
19
20class TellCommand : public ::MessagingCommand {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mTargets;
25 ::ll::TypedStorage<8, 32, ::CommandMessage> mMessage;
26 // NOLINTEND
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
32 // NOLINTEND
33
34public:
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
49public:
50 // virtual function thunks
51 // NOLINTBEGIN
52 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
53
54
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Level.h:255
Definition Player.h:137
Definition TellCommand.h:20
static MCAPI void ** $vftable()
Definition CommandOriginIdentity.h:5