LeviLamina
Loading...
Searching...
No Matches
ServerIdentityCommand.h
1
#pragma once
2
3
#include "mc/_HeaderOutputPredefine.h"
4
5
// auto generated inclusion list
6
#include "mc/platform/brstd/move_only_function.h"
7
#include "mc/server/commands/ServerCommand.h"
8
9
// auto generated forward declare list
10
// clang-format off
11
class
CommandOrigin
;
12
class
CommandOutput
;
13
class
CommandRegistry
;
14
class
PrivateKeyManager
;
15
// clang-format on
16
17
class
ServerIdentityCommand
:
public
::ServerCommand
{
18
public
:
19
// ServerIdentityCommand inner types define
20
enum class
Action :
int
{
21
Save = 0,
22
Delete = 1,
23
Status = 2,
24
};
25
26
using
Registrator =
::brstd::move_only_function
<void(
::CommandRegistry
&)>;
27
28
public
:
29
// member variables
30
// NOLINTBEGIN
31
::ll::TypedStorage<4, 4, ::ServerIdentityCommand::Action> mAction;
32
::ll::TypedStorage<8, 16, ::std::weak_ptr<::PrivateKeyManager>> mServerIdentityKey;
33
// NOLINTEND
34
35
public
:
36
// virtual functions
37
// NOLINTBEGIN
38
virtual
void
execute(
::CommandOrigin
const
&,
::CommandOutput
& output)
const
/*override*/
;
39
// NOLINTEND
40
41
public
:
42
// virtual function thunks
43
// NOLINTBEGIN
44
MCAPI
void
$execute(
::CommandOrigin
const
&,
::CommandOutput
& output)
const
;
45
// NOLINTEND
46
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
CommandRegistry
Definition
CommandRegistry.h:51
PrivateKeyManager
Definition
PrivateKeyManager.h:10
ServerCommand
Definition
ServerCommand.h:22
ServerIdentityCommand
Definition
ServerIdentityCommand.h:17
brstd::move_only_function
Definition
move_only_function.h:9
src-server
mc
server
commands
ServerIdentityCommand.h
Generated on
for LeviLamina by
1.16.1