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
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 CommandKeyword : uchar {
28 None = 0,
29 Code = 1,
30 CodeStatus = 2,
31 };
32
33 enum class SubscriptionType : int {
34 None = 0,
35 Scoreboard = 1,
36 };
37
38 enum class CodeBuilderRuntimeAction : int {
39 None = 0,
40 Start = 1,
41 Stop = 2,
42 Pause = 3,
43 };
44
45public:
46 // member variables
47 // NOLINTBEGIN
58 // NOLINTEND
59
60public:
61 // prevent constructor by default
62 CodeBuilderCommand& operator=(CodeBuilderCommand const&);
65
66public:
67 // virtual functions
68 // NOLINTBEGIN
69 // vIndex: 2
70 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
71
72 // vIndex: 0
73 virtual ~CodeBuilderCommand() /*override*/ = default;
74 // NOLINTEND
75
76public:
77 // static functions
78 // NOLINTBEGIN
79 MCAPI static void setup(::CommandRegistry& registry);
80 // NOLINTEND
81
82public:
83 // destructor thunk
84 // NOLINTBEGIN
85
86 // NOLINTEND
87
88public:
89 // virtual function thunks
90 // NOLINTBEGIN
91 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
92 // NOLINTEND
93
94public:
95 // vftables
96 // NOLINTBEGIN
97 MCAPI static void** $vftable();
98 // NOLINTEND
99};
Definition CodeBuilderCommand.h:15
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition Scoreboard.h:32
Definition Alias.h:14