LeviLamina
Loading...
Searching...
No Matches
ControlSchemeCommand.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 CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13// clang-format on
14
15class ControlSchemeCommand : public ::Command {
16public:
17 // ControlSchemeCommand inner types define
18 enum class Action : uchar {
19 Set = 0,
20 Clear = 1,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 ControlSchemeCommand& operator=(ControlSchemeCommand const&);
34 ControlSchemeCommand(ControlSchemeCommand const&);
35 ControlSchemeCommand();
36
37public:
38 // virtual functions
39 // NOLINTBEGIN
40 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
41
42 virtual ~ControlSchemeCommand() /*override*/ = default;
43 // NOLINTEND
44
45public:
46 // static functions
47 // NOLINTBEGIN
48 MCAPI static void setup(::CommandRegistry& registry);
49 // NOLINTEND
50
51public:
52 // virtual function thunks
53 // NOLINTBEGIN
54 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
55
56
57 // NOLINTEND
58
59public:
60 // vftables
61 // NOLINTBEGIN
62 MCNAPI static void** $vftable();
63 // NOLINTEND
64};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Command.h:17
static MCAPI void ** $vftable()
Definition Alias.h:14