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
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
15// clang-format on
16
18public:
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
28public:
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
35public:
36 // virtual functions
37 // NOLINTBEGIN
38 virtual void execute(::CommandOrigin const&, ::CommandOutput& output) const /*override*/;
39 // NOLINTEND
40
41public:
42 // virtual function thunks
43 // NOLINTBEGIN
44 MCAPI void $execute(::CommandOrigin const&, ::CommandOutput& output) const;
45 // NOLINTEND
46};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition PrivateKeyManager.h:10
Definition ServerCommand.h:22
Definition ServerIdentityCommand.h:17
Definition move_only_function.h:9