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
21 ::ll::TypedStorage<1, 1, bool> mRequireChatPerms;
22 ::ll::TypedStorage<1, 1, bool> mRequireTellPerms;
23 // NOLINTEND
24
25public:
26 // prevent constructor by default
27 MessagingCommand();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCAPI MessagingCommand(bool requireChatPerms, bool requireTellPerms);
33
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 // constructor thunks
49 // NOLINTBEGIN
50 MCAPI void* $ctor(bool requireChatPerms, bool requireTellPerms);
51 // NOLINTEND
52
53public:
54 // vftables
55 // NOLINTBEGIN
56 MCNAPI static void** $vftable();
57 // NOLINTEND
58};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition Level.h:255
static MCAPI void ** $vftable()
Definition ServerCommand.h:22
Definition CommandOriginIdentity.h:5