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