LeviLamina
Loading...
Searching...
No Matches
InputPermissionCommand.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/entity/enums/ClientInputLockCategory.h"
7#include "mc/server/commands/Command.h"
8#include "mc/server/commands/CommandSelector.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 InputPermissionCommand : public ::Command {
19public:
20 // InputPermissionCommand inner types define
21 enum class CommandActionType : int {
22 Set = 0,
23 Query = 1,
24 };
25
26 enum class CommandValueType : int {
27 Undefined = 0,
28 Enabled = 1,
29 Disabled = 2,
30 };
31
32public:
33 // member variables
34 // NOLINTBEGIN
35 ::ll::TypedStorage<4, 4, ::InputPermissionCommand::CommandActionType> mActionType;
36 ::ll::TypedStorage<8, 200, ::CommandSelector<::Player>> mTargets;
37 ::ll::TypedStorage<1, 1, ::ClientInputLockCategory> mPermission;
38 ::ll::TypedStorage<4, 4, ::InputPermissionCommand::CommandValueType> mValueType;
39 // NOLINTEND
40
41public:
42 // virtual functions
43 // NOLINTBEGIN
44 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
45 // NOLINTEND
46
47public:
48 // member functions
49 // NOLINTBEGIN
50 MCAPI void _executeQuery(::CommandOrigin const& origin, ::CommandOutput& output) const;
51
52 MCAPI void _executeQueryVerbose(::CommandOrigin const& origin, ::CommandOutput& output) const;
53
54 MCAPI void _executeSet(::CommandOrigin const& origin, ::CommandOutput& output) const;
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static void setup(::CommandRegistry& registry);
61 // NOLINTEND
62
63public:
64 // virtual function thunks
65 // NOLINTBEGIN
66 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
67
68
69 // NOLINTEND
70
71public:
72 // vftables
73 // NOLINTBEGIN
74 MCNAPI static void** $vftable();
75 // NOLINTEND
76};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:51
Definition InputPermissionCommand.h:18
static MCAPI void ** $vftable()
Definition Player.h:137