LeviLamina
Loading...
Searching...
No Matches
MessagingCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/ServerCommand.h"
7#include "mc/server/safety/TextFilteringEvent.h"
8
9// auto generated forward declare list
10// clang-format off
11class CommandOrigin;
12class CommandOutput;
13class Level;
15// clang-format on
16
17class MessagingCommand : public ::ServerCommand {
18public:
19 // member variables
20 // NOLINTBEGIN
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 MessagingCommand& operator=(MessagingCommand const&);
28 MessagingCommand(MessagingCommand const&);
29 MessagingCommand();
30
31public:
32 // virtual functions
33 // NOLINTBEGIN
34 virtual ~MessagingCommand() /*override*/;
35 // NOLINTEND
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI bool checkChatPermissions(::CommandOrigin const& origin, ::CommandOutput& output) const;
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCAPI static bool checkIfTextProcessorIsHealthyAndSendChatIfNot(
47 ::CommandOriginIdentity const& identity,
48 ::Level const& level,
49 ::std::vector<::Safety::TextFilteringEvent> const& events
50 );
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCFOLD void $dtor();
57 // NOLINTEND
58};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition Level.h:249
Definition ServerCommand.h:22
Definition CommandOriginIdentity.h:5
Definition Alias.h:14