LeviLamina
Loading...
Searching...
No Matches
CameraCommand.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 CameraPresets;
11class CommandOrigin;
12class CommandOutput;
13class CommandRegistry;
14class Experiments;
17// clang-format on
18
19class CameraCommand : public ::Command {
20public:
21 // CameraCommand inner types define
22 enum class CameraCommandOption : uchar {
23 None = 0,
24 Set = 1,
25 Ease = 2,
26 Pos = 3,
27 Rot = 4,
28 Facing = 5,
29 TargetEntity = 6,
30 TargetOffset = 7,
31 RemoveTarget = 8,
32 ViewOffset = 9,
33 EntityOffset = 10,
34 Default = 11,
35 Clear = 12,
36 Fade = 13,
37 Time = 14,
38 Color = 15,
39 };
40
41public:
42 // member variables
43 // NOLINTBEGIN
81 // NOLINTEND
82
83public:
84 // prevent constructor by default
85 CameraCommand& operator=(CameraCommand const&);
87
88public:
89 // virtual functions
90 // NOLINTBEGIN
91 // vIndex: 2
92 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
93
94 // vIndex: 0
95 virtual ~CameraCommand() /*override*/ = default;
96 // NOLINTEND
97
98public:
99 // member functions
100 // NOLINTBEGIN
101 MCAPI CameraCommand();
102
103 MCAPI void forEachSelectedPlayersCameraStates(
104 ::CommandOrigin const& origin,
105 ::std::function<void(::ServerCameraStatesComponent&)> callback
106 ) const;
107
108 MCAPI bool prepareInstruction(
109 ::CameraInstruction& cameraInstruction,
110 ::CameraPresets const& cameraPresets,
111 ::CommandOrigin const& origin,
112 ::CommandOutput& output,
113 ::Experiments const& experiments
114 ) const;
115 // NOLINTEND
116
117public:
118 // static functions
119 // NOLINTBEGIN
120 MCAPI static void setup(::CommandRegistry& registry, ::Experiments const*);
121 // NOLINTEND
122
123public:
124 // static variables
125 // NOLINTBEGIN
126 MCAPI static char const*& ENUM_OPTION_CLEAR();
127
128 MCAPI static char const*& ENUM_OPTION_COLOR();
129
130 MCAPI static char const*& ENUM_OPTION_DEFAULT();
131
132 MCAPI static char const*& ENUM_OPTION_EASE();
133
134 MCAPI static char const*& ENUM_OPTION_ENTITY_OFFSET();
135
136 MCAPI static char const*& ENUM_OPTION_FACING();
137
138 MCAPI static char const*& ENUM_OPTION_FADE();
139
140 MCAPI static char const*& ENUM_OPTION_POS();
141
142 MCAPI static char const*& ENUM_OPTION_ROT();
143
144 MCAPI static char const*& ENUM_OPTION_SET();
145
146 MCAPI static char const*& ENUM_OPTION_TARGET();
147
148 MCAPI static char const*& ENUM_OPTION_TARGET_OFFSET();
149
150 MCAPI static char const*& ENUM_OPTION_TARGET_REMOVE();
151
152 MCAPI static char const*& ENUM_OPTION_TIME();
153
154 MCAPI static char const*& ENUM_OPTION_VIEW_OFFSET();
155
156 MCAPI static char const*& OPTION_CLEAR();
157
158 MCAPI static char const*& OPTION_COLOR();
159
160 MCAPI static char const*& OPTION_DEFAULT();
161
162 MCAPI static char const*& OPTION_EASE();
163
164 MCAPI static char const*& OPTION_ENTITY_OFFSET();
165
166 MCAPI static char const*& OPTION_FACING();
167
168 MCAPI static char const*& OPTION_FADE();
169
170 MCAPI static char const*& OPTION_POS();
171
172 MCAPI static char const*& OPTION_ROT();
173
174 MCAPI static char const*& OPTION_SET();
175
176 MCAPI static char const*& OPTION_TARGET();
177
178 MCAPI static char const*& OPTION_TARGET_OFFSET();
179
180 MCAPI static char const*& OPTION_TARGET_REMOVE();
181
182 MCAPI static char const*& OPTION_TIME();
183
184 MCAPI static char const*& OPTION_VIEW_OFFSET();
185 // NOLINTEND
186
187public:
188 // constructor thunks
189 // NOLINTBEGIN
190 MCAPI void* $ctor();
191 // NOLINTEND
192
193public:
194 // virtual function thunks
195 // NOLINTBEGIN
196 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
197 // NOLINTEND
198
199public:
200 // vftables
201 // NOLINTBEGIN
202 MCNAPI static void** $vftable();
203 // NOLINTEND
204};
Definition CameraCommand.h:19
static MCAPI void ** $vftable()
Definition CameraPresets.h:18
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:45
Definition Command.h:17
Definition Experiments.h:14
Definition Pos.h:5
Definition CameraInstruction.h:17
Definition ServerCameraStatesComponent.h:10
Definition Alias.h:14