Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
MeCommand.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/standard/MessagingCommand.h"
8
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14class Level;
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 32, ::CommandMessage> mMessage;
22 // NOLINTEND
23
24public:
25 // virtual functions
26 // NOLINTBEGIN
27 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
28 // NOLINTEND
29
30public:
31 // static functions
32 // NOLINTBEGIN
33 MCNAPI static bool _sendEvent(
34 ::Level& level,
35 ::std::string const& sender,
36 ::std::string const& message,
37 ::std::optional<::std::string> const& filteredMessage
38 );
39
40 MCAPI static void setup(::CommandRegistry& registry);
41 // NOLINTEND
42
43public:
44 // virtual function thunks
45 // NOLINTBEGIN
46 MCNAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
47
48
49 // NOLINTEND
50};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition Level.h:255
Definition MeCommand.h:17
static MCAPI bool _sendEvent(::Level &level, ::std::string const &sender, ::std::string const &message, ::std::optional<::std::string > const &filteredMessage)
MCAPI void $execute(::CommandOrigin const &origin, ::CommandOutput &output) const
Definition MessagingCommand.h:17