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
class
CommandRegistry
;
14
// clang-format on
15
16
class
AllowListCommand
:
public
::Command
{
17
public
:
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
28
public
:
29
// member variables
30
// NOLINTBEGIN
31
::ll::TypedStorage<4, 4, ::AllowListCommand::Action> mAction;
32
::ll::TypedStorage<8, 32, ::std::string> mName;
33
// NOLINTEND
34
35
public
:
36
// virtual functions
37
// NOLINTBEGIN
38
virtual
void
execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
/*override*/
;
39
40
virtual
~AllowListCommand
()
/*override*/
=
default
;
41
// NOLINTEND
42
43
public
:
44
// static functions
45
// NOLINTBEGIN
46
MCAPI
static
void
setup(
::CommandRegistry
& registry,
::AllowListFile
& allowListFile);
47
// NOLINTEND
48
49
public
:
50
// static variables
51
// NOLINTBEGIN
52
MCAPI static ::AllowListFile*& mAllowListFile();
53
// NOLINTEND
54
55
public
:
56
// virtual function thunks
57
// NOLINTBEGIN
58
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
59
// NOLINTEND
60
61
public
:
62
// vftables
63
// NOLINTBEGIN
64
MCNAPI
static
void
**
$vftable
();
65
// NOLINTEND
66
};
AllowListCommand
Definition
AllowListCommand.h:16
AllowListCommand::$vftable
static MCAPI void ** $vftable()
AllowListFile
Definition
AllowListFile.h:13
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
CommandRegistry
Definition
CommandRegistry.h:50
Command
Definition
Command.h:17
src-server
mc
server
commands
AllowListCommand.h
Generated on
for LeviLamina by
1.16.1