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
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 // vIndex: 2
45 virtual void execute(::CommandOrigin const&, ::CommandOutput& output) const /*override*/;
46
47 // vIndex: 0
48 virtual ~AllowListCommand() /*override*/ = default;
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void setup(::CommandRegistry& registry, ::AllowListFile& allowListFile);
55 // NOLINTEND
56
57public:
58 // static variables
59 // NOLINTBEGIN
60 MCAPI static ::AllowListFile*& mAllowListFile();
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72 MCAPI void $execute(::CommandOrigin const&, ::CommandOutput& output) const;
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCAPI static void** $vftable();
79 // NOLINTEND
80};
Definition AllowListCommand.h:16
Definition AllowListFile.h:13
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition Alias.h:14