LeviLamina
Loading...
Searching...
No Matches
CodeBuilderCommand.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 CodeBuilderCommand : public ::Command {
16public:
17 // CodeBuilderCommand inner types define
18 enum class Action : int {
19 Navigate = 0,
20 Reset = 1,
21 Subscribe = 2,
22 Unsubscribe = 3,
23 RuntimeAction = 4,
24 Check = 5,
25 };
26
27 enum class CodeBuilderRuntimeAction : int {
28 None = 0,
29 Start = 1,
30 Stop = 2,
31 Pause = 3,
32 };
33
34 enum class CommandKeyword : uchar {
35 None = 0,
36 Code = 1,
37 CodeStatus = 2,
38 };
39
40 enum class SubscriptionType : int {
41 None = 0,
42 Scoreboard = 1,
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
58 // NOLINTEND
59
60public:
61 // prevent constructor by default
62 CodeBuilderCommand& operator=(CodeBuilderCommand const&);
63 CodeBuilderCommand(CodeBuilderCommand const&);
64 CodeBuilderCommand();
65
66public:
67 // virtual functions
68 // NOLINTBEGIN
69 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
70
71 virtual ~CodeBuilderCommand() /*override*/ = default;
72 // NOLINTEND
73
74public:
75 // static functions
76 // NOLINTBEGIN
77 MCAPI static void setup(::CommandRegistry& registry);
78 // NOLINTEND
79
80public:
81 // virtual function thunks
82 // NOLINTBEGIN
83 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
84
85
86 // NOLINTEND
87
88public:
89 // vftables
90 // NOLINTBEGIN
91 MCNAPI static void** $vftable();
92 // NOLINTEND
93};
static MCAPI void ** $vftable()
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:47
Definition Command.h:17
Definition Scoreboard.h:34
Definition Alias.h:14