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
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
46 virtual ~InputPermissionCommand() /*override*/ = default;
47 // NOLINTEND
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI void _executeQuery(::CommandOrigin const& origin, ::CommandOutput& output) const;
53
54 MCAPI void _executeQueryVerbose(::CommandOrigin const& origin, ::CommandOutput& output) const;
55
56 MCAPI void _executeSet(::CommandOrigin const& origin, ::CommandOutput& output) const;
57 // NOLINTEND
58
59public:
60 // static functions
61 // NOLINTBEGIN
62 MCAPI static void setup(::CommandRegistry& registry);
63 // NOLINTEND
64
65public:
66 // virtual function thunks
67 // NOLINTBEGIN
68 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
69
70
71 // NOLINTEND
72
73public:
74 // vftables
75 // NOLINTBEGIN
76 MCNAPI static void** $vftable();
77 // NOLINTEND
78};
Definition CommandOrigin.h:32
Definition CommandOutput.h:20
Definition CommandRegistry.h:50
Definition Command.h:17
Definition InputPermissionCommand.h:18
static MCAPI void ** $vftable()
Definition Player.h:129