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#include "mc/server/commands/CommandSelector.h"
8#include "mc/world/level/camera/controlscheme/Scheme.h"
9
10// auto generated forward declare list
11// clang-format off
12class CommandOrigin;
13class CommandOutput;
14class CommandRegistry;
15class Player;
16// clang-format on
17
19public:
20 // ControlSchemeCommand inner types define
21 enum class Action : uchar {
22 Set = 0,
23 Clear = 1,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mPlayerTargets;
30 ::ll::TypedStorage<1, 1, ::ControlScheme::Scheme> mControlScheme;
31 ::ll::TypedStorage<1, 1, ::ControlSchemeCommand::Action> mAction;
32 // NOLINTEND
33
34public:
35 // virtual functions
36 // NOLINTBEGIN
37 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
38
39 virtual ~ControlSchemeCommand() /*override*/ = default;
40 // NOLINTEND
41
42public:
43 // static functions
44 // NOLINTBEGIN
45 MCAPI static void setup(::CommandRegistry& registry);
46 // NOLINTEND
47
48public:
49 // virtual function thunks
50 // NOLINTBEGIN
51 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
52
53
54 // NOLINTEND
55
56public:
57 // vftables
58 // NOLINTBEGIN
59 MCNAPI static void** $vftable();
60 // NOLINTEND
61};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Command.h:17
Definition ControlSchemeCommand.h:18
static MCAPI void ** $vftable()
Definition Player.h:129