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 TargetEntity = 8,
33 TargetOffset = 9,
34 RemoveTarget = 10,
35 ViewOffset = 11,
36 EntityOffset = 12,
37 Default = 13,
38 Clear = 14,
39 Fade = 15,
40 Time = 16,
41 Color = 17,
42 };
43
44public:
45 // member variables
46 // NOLINTBEGIN
88 // NOLINTEND
89
90public:
91 // prevent constructor by default
92 CameraCommand& operator=(CameraCommand const&);
94
95public:
96 // virtual functions
97 // NOLINTBEGIN
98 // vIndex: 2
99 virtual void execute(::CommandOrigin const& origin, ::CommandOutput& output) const /*override*/;
100
101 // vIndex: 0
102 virtual ~CameraCommand() /*override*/ = default;
103 // NOLINTEND
104
105public:
106 // member functions
107 // NOLINTBEGIN
108 MCAPI CameraCommand();
109
110 MCAPI void forEachSelectedPlayersCameraStates(
111 ::CommandOrigin const& origin,
112 ::std::function<void(::ServerCameraStatesComponent&)> callback
113 ) const;
114
115 MCAPI bool prepareInstruction(
116 ::CameraInstruction& cameraInstruction,
117 ::CameraPresets const& cameraPresets,
118 ::CommandOrigin const& origin,
119 ::CommandOutput& output,
120 ::Experiments const& experiments,
121 ::BaseGameVersion const& baseGameVersion
122 ) const;
123 // NOLINTEND
124
125public:
126 // static functions
127 // NOLINTBEGIN
128 MCAPI static void setup(::CommandRegistry& registry, ::Experiments const*);
129 // NOLINTEND
130
131public:
132 // static variables
133 // NOLINTBEGIN
134 MCAPI static char const*& ENUM_OPTION_CLEAR();
135
136 MCAPI static char const*& ENUM_OPTION_COLOR();
137
138 MCAPI static char const*& ENUM_OPTION_DEFAULT();
139
140 MCAPI static char const*& ENUM_OPTION_EASE();
141
142 MCAPI static char const*& ENUM_OPTION_ENTITY_OFFSET();
143
144 MCAPI static char const*& ENUM_OPTION_FACING();
145
146 MCAPI static char const*& ENUM_OPTION_FADE();
147
148 MCAPI static char const*& ENUM_OPTION_FOV();
149
150 MCAPI static char const*& ENUM_OPTION_FOV_CLEAR();
151
152 MCAPI static char const*& ENUM_OPTION_POS();
153
154 MCAPI static char const*& ENUM_OPTION_ROT();
155
156 MCAPI static char const*& ENUM_OPTION_SET();
157
158 MCAPI static char const*& ENUM_OPTION_TARGET();
159
160 MCAPI static char const*& ENUM_OPTION_TARGET_OFFSET();
161
162 MCAPI static char const*& ENUM_OPTION_TARGET_REMOVE();
163
164 MCAPI static char const*& ENUM_OPTION_TIME();
165
166 MCAPI static char const*& ENUM_OPTION_VIEW_OFFSET();
167
168 MCAPI static char const*& OPTION_CLEAR();
169
170 MCAPI static char const*& OPTION_COLOR();
171
172 MCAPI static char const*& OPTION_DEFAULT();
173
174 MCAPI static char const*& OPTION_EASE();
175
176 MCAPI static char const*& OPTION_ENTITY_OFFSET();
177
178 MCAPI static char const*& OPTION_FACING();
179
180 MCAPI static char const*& OPTION_FADE();
181
182 MCAPI static char const*& OPTION_FOV();
183
184 MCAPI static char const*& OPTION_FOV_CLEAR();
185
186 MCAPI static char const*& OPTION_POS();
187
188 MCAPI static char const*& OPTION_ROT();
189
190 MCAPI static char const*& OPTION_SET();
191
192 MCAPI static char const*& OPTION_TARGET();
193
194 MCAPI static char const*& OPTION_TARGET_OFFSET();
195
196 MCAPI static char const*& OPTION_TARGET_REMOVE();
197
198 MCAPI static char const*& OPTION_TIME();
199
200 MCAPI static char const*& OPTION_VIEW_OFFSET();
201
202 MCAPI static ::BaseGameVersion const& REMOVE_IGNORE_STARTING_VALUE_COMPONENT_VERSION();
203 // NOLINTEND
204
205public:
206 // constructor thunks
207 // NOLINTBEGIN
208 MCAPI void* $ctor();
209 // NOLINTEND
210
211public:
212 // virtual function thunks
213 // NOLINTBEGIN
214 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
215 // NOLINTEND
216
217public:
218 // vftables
219 // NOLINTBEGIN
220 MCNAPI static void** $vftable();
221 // NOLINTEND
222};
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