LeviLamina
Loading...
Searching...
No Matches
TickingAreaCommand.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;
13class Dimension;
14class Level;
16// clang-format on
17
19public:
20 // TickingAreaCommand inner types define
21 enum class Mode : int {
22 Add = 0,
23 Remove = 1,
24 RemoveAll = 2,
25 List = 3,
26 Preload = 4,
27 };
28
29 enum class AddAreaType : int {
30 Bounds = 0,
31 Circle = 1,
32 };
33
34 enum class TargetDimensions : int {
35 CurrentDimension = 0,
36 AllDimensions = 1,
37 };
38
39public:
40 // member variables
41 // NOLINTBEGIN
52 // NOLINTEND
53
54public:
55 // prevent constructor by default
56 TickingAreaCommand& operator=(TickingAreaCommand const&);
59
60public:
61 // virtual functions
62 // NOLINTBEGIN
63 // vIndex: 2
64 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
65
66 // vIndex: 0
67 virtual ~TickingAreaCommand() /*override*/ = default;
68 // NOLINTEND
69
70public:
71 // member functions
72 // NOLINTBEGIN
73 MCAPI void
74 _add(::CommandOrigin const& origin, ::CommandOutput& output, ::Level& level, ::Dimension& dimension) const;
75
76 MCAPI void
77 _list(::CommandOrigin const& output, ::CommandOutput& level, ::Level& dimension, ::Dimension& origin) const;
78
79 MCAPI void
80 _preload(::CommandOrigin const& origin, ::CommandOutput& output, ::Level& level, ::Dimension& dimension) const;
81
82 MCAPI void
83 _remove(::CommandOrigin const& origin, ::CommandOutput& output, ::Level& level, ::Dimension& dimension) const;
84
85 MCAPI void
86 _removeAll(::CommandOrigin const& output, ::CommandOutput& level, ::Level& dimension, ::Dimension& origin) const;
87 // NOLINTEND
88
89public:
90 // static functions
91 // NOLINTBEGIN
92 MCAPI static ::std::string formatTickingAreaList(::std::vector<::TickingAreaDescription> const& tickingAreas);
93
94 MCAPI static void setup(::CommandRegistry& registry);
95 // NOLINTEND
96
97public:
98 // destructor thunk
99 // NOLINTBEGIN
100
101 // NOLINTEND
102
103public:
104 // virtual function thunks
105 // NOLINTBEGIN
106 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
107 // NOLINTEND
108
109public:
110 // vftables
111 // NOLINTBEGIN
112 MCAPI static void** $vftable();
113 // NOLINTEND
114};
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition Dimension.h:83
Definition Level.h:234
Definition TickingAreaCommand.h:18
Definition Bounds.h:10
Definition TickingAreaDescription.h:5
Definition Alias.h:14