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
18class ControlSchemeCommand : public ::Command {
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 // NOLINTEND
39
40public:
41 // static functions
42 // NOLINTBEGIN
43 MCAPI static void setup(::CommandRegistry& registry);
44 // NOLINTEND
45
46public:
47 // virtual function thunks
48 // NOLINTBEGIN
49 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
50
51
52 // NOLINTEND
53
54public:
55 // vftables
56 // NOLINTBEGIN
57 MCNAPI static void** $vftable();
58 // NOLINTEND
59};
60
61// clang-format off
62template <>
63MCAPI ::ll::type_id_ref Bedrock::typeid_storage_impl<class CommandRegistry, ::ControlSchemeCommand::Action>();
64// clang-format on
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition ControlSchemeCommand.h:18
static MCAPI void ** $vftable()
Definition Player.h:137