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/server/commands/Command.h"
7
8// auto generated forward declare list
9// clang-format off
10class CommandOrigin;
11class CommandOutput;
12class CommandRegistry;
13// clang-format on
14
16public:
17 // InputPermissionCommand inner types define
18 enum class CommandActionType : int {
19 Set = 0,
20 Query = 1,
21 };
22
23 enum class CommandValueType : int {
24 Undefined = 0,
25 Enabled = 1,
26 Disabled = 2,
27 };
28
29public:
30 // member variables
31 // NOLINTBEGIN
36 // NOLINTEND
37
38public:
39 // prevent constructor by default
43
44public:
45 // virtual functions
46 // NOLINTBEGIN
47 // vIndex: 2
48 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
49
50 // vIndex: 0
51 virtual ~InputPermissionCommand() /*override*/ = default;
52 // NOLINTEND
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI void _executeQuery(::CommandOrigin const& origin, ::CommandOutput& output) const;
58
59 MCAPI void _executeQueryVerbose(::CommandOrigin const& origin, ::CommandOutput& output) const;
60
61 MCAPI void _executeSet(::CommandOrigin const& origin, ::CommandOutput& output) const;
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCAPI static void setup(::CommandRegistry& registry);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73
74 // NOLINTEND
75
76public:
77 // virtual function thunks
78 // NOLINTBEGIN
79 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
80 // NOLINTEND
81
82public:
83 // vftables
84 // NOLINTBEGIN
85 MCAPI static void** $vftable();
86 // NOLINTEND
87};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition InputPermissionCommand.h:15
Definition Alias.h:14