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
10
class
AllowListFile
;
11
class
CommandOrigin
;
12
class
CommandOutput
;
13
// clang-format on
14
15
class
AllowListCommand
:
public
::Command
{
16
public
:
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
27
public
:
28
// member variables
29
// NOLINTBEGIN
30
::ll::TypedStorage<4, 4, ::AllowListCommand::Action> mAction;
31
::ll::TypedStorage<8, 32, ::std::string> mName;
32
// NOLINTEND
33
34
public
:
35
// virtual functions
36
// NOLINTBEGIN
37
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
38
// NOLINTEND
39
40
public
:
41
// static variables
42
// NOLINTBEGIN
43
MCAPI static ::AllowListFile*& mAllowListFile();
44
// NOLINTEND
45
46
public
:
47
// virtual function thunks
48
// NOLINTBEGIN
49
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
50
// NOLINTEND
51
};
AllowListCommand
Definition
AllowListCommand.h:15
AllowListFile
Definition
AllowListFile.h:13
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
Command
Definition
Command.h:17
src-server
mc
server
commands
AllowListCommand.h
Generated on
for LeviLamina by
1.16.1