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
33 virtual ~TellCommand() /*override*/ = default;
34 // NOLINTEND
35
36public:
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
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Level.h:249
Definition Player.h:125
Definition TellCommand.h:20
static MCAPI void ** $vftable()
Definition CommandOriginIdentity.h:5