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
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<1, 1, bool> mRequireChatPerms;
22 ::ll::TypedStorage<1, 1, bool> mRequireTellPerms;
23 // NOLINTEND
24
25public:
26 // virtual functions
27 // NOLINTBEGIN
28 virtual ~MessagingCommand() /*override*/;
29 // NOLINTEND
30
31public:
32 // member functions
33 // NOLINTBEGIN
34 MCAPI bool checkChatPermissions(::CommandOrigin const& origin, ::CommandOutput& output) const;
35 // NOLINTEND
36
37public:
38 // static functions
39 // NOLINTBEGIN
40 MCAPI static bool checkIfTextProcessorIsHealthyAndSendChatIfNot(
41 ::CommandOriginIdentity const& identity,
42 ::Level const& level,
43 ::std::vector<::Safety::TextFilteringEvent> const& events
44 );
45 // NOLINTEND
46
47public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCFOLD void $dtor();
51 // NOLINTEND
52};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition Level.h:250
Definition MessagingCommand.h:17
Definition ServerCommand.h:22
Definition CommandOriginIdentity.h:5