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
12
class
CommandOrigin
;
13
class
CommandOutput
;
14
class
CommandRegistry
;
15
class
Player
;
16
// clang-format on
17
18
class
ControlSchemeCommand
:
public
::Command
{
19
public
:
20
// ControlSchemeCommand inner types define
21
enum class
Action : uchar {
22
Set = 0,
23
Clear = 1,
24
};
25
26
public
:
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
34
public
:
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
42
public
:
43
// static functions
44
// NOLINTBEGIN
45
MCAPI
static
void
setup(
::CommandRegistry
& registry);
46
// NOLINTEND
47
48
public
:
49
// virtual function thunks
50
// NOLINTBEGIN
51
MCAPI
void
$execute(
::CommandOrigin
const
& origin,
::CommandOutput
& output)
const
;
52
53
54
// NOLINTEND
55
56
public
:
57
// vftables
58
// NOLINTBEGIN
59
MCNAPI
static
void
**
$vftable
();
60
// NOLINTEND
61
};
CommandOrigin
Definition
CommandOrigin.h:32
CommandOutput
Definition
CommandOutput.h:20
CommandRegistry
Definition
CommandRegistry.h:50
Command
Definition
Command.h:17
ControlSchemeCommand
Definition
ControlSchemeCommand.h:18
ControlSchemeCommand::$vftable
static MCAPI void ** $vftable()
Player
Definition
Player.h:129
src
mc
server
commands
standard
ControlSchemeCommand.h
Generated on
for LeviLamina by
1.16.1