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