LeviLamina
Loading...
Searching...
No Matches
AllowListCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/server/commands/Command.h"
7
8// auto generated forward declare list
9// clang-format off
10class AllowListFile;
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14// clang-format on
15
16class AllowListCommand : public ::Command {
17public:
18 // AllowListCommand inner types define
19 enum class Action : int {
20 List = 0,
21 On = 1,
22 Off = 2,
23 AddName = 3,
24 RemoveName = 4,
25 Reload = 5,
26 };
27
28public:
29 // member variables
30 // NOLINTBEGIN
33 // NOLINTEND
34
35public:
36 // prevent constructor by default
37 AllowListCommand& operator=(AllowListCommand const&);
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual void execute(::CommandOrigin const&, ::CommandOutput& output) const /*override*/;
45
46 virtual ~AllowListCommand() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // static functions
51 // NOLINTBEGIN
52 MCAPI static void setup(::CommandRegistry& registry, ::AllowListFile& allowListFile);
53 // NOLINTEND
54
55public:
56 // static variables
57 // NOLINTBEGIN
58 MCAPI static ::AllowListFile*& mAllowListFile();
59 // NOLINTEND
60
61public:
62 // virtual function thunks
63 // NOLINTBEGIN
64 MCAPI void $execute(::CommandOrigin const&, ::CommandOutput& output) const;
65 // NOLINTEND
66
67public:
68 // vftables
69 // NOLINTBEGIN
70 MCNAPI static void** $vftable();
71 // NOLINTEND
72};
Definition AllowListCommand.h:16
static MCAPI void ** $vftable()
Definition Alias.h:14