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