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;
13// clang-format on
14
16public:
17 // AllowListCommand inner types define
18 enum class Action : int {
19 List = 0,
20 On = 1,
21 Off = 2,
22 AddName = 3,
23 RemoveName = 4,
24 Reload = 5,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<4, 4, ::AllowListCommand::Action> mAction;
31 ::ll::TypedStorage<8, 32, ::std::string> mName;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
38 // NOLINTEND
39
40public:
41 // static variables
42 // NOLINTBEGIN
43 MCAPI static ::AllowListFile*& mAllowListFile();
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
50 // NOLINTEND
51};
Definition AllowListCommand.h:15
Definition AllowListFile.h:13
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition Command.h:17