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/deps/game_refs/StackRefResult.h"
7#include "mc/server/commands/Command.h"
8
9// auto generated forward declare list
10// clang-format off
11class CameraPresets;
12class CommandOrigin;
13class CommandOutput;
14class CommandRegistry;
15class EntityRegistry;
16class 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 bool prepareInstruction(
105 ::CameraInstruction& cameraInstruction,
106 ::CameraPresets const& cameraPresets,
107 ::CommandOrigin const& origin,
108 ::CommandOutput& output,
109 ::Experiments const& experiments,
111 ) const;
112 // NOLINTEND
113
114public:
115 // static functions
116 // NOLINTBEGIN
117 MCAPI static void setup(::CommandRegistry& registry, ::Experiments const*);
118 // NOLINTEND
119
120public:
121 // static variables
122 // NOLINTBEGIN
123 MCAPI static char const*& ENUM_OPTION_CLEAR();
124
125 MCAPI static char const*& ENUM_OPTION_COLOR();
126
127 MCAPI static char const*& ENUM_OPTION_DEFAULT();
128
129 MCAPI static char const*& ENUM_OPTION_EASE();
130
131 MCAPI static char const*& ENUM_OPTION_ENTITY_OFFSET();
132
133 MCAPI static char const*& ENUM_OPTION_FACING();
134
135 MCAPI static char const*& ENUM_OPTION_FADE();
136
137 MCAPI static char const*& ENUM_OPTION_POS();
138
139 MCAPI static char const*& ENUM_OPTION_ROT();
140
141 MCAPI static char const*& ENUM_OPTION_SET();
142
143 MCAPI static char const*& ENUM_OPTION_TARGET();
144
145 MCAPI static char const*& ENUM_OPTION_TARGET_OFFSET();
146
147 MCAPI static char const*& ENUM_OPTION_TARGET_REMOVE();
148
149 MCAPI static char const*& ENUM_OPTION_TIME();
150
151 MCAPI static char const*& ENUM_OPTION_VIEW_OFFSET();
152
153 MCAPI static char const*& OPTION_CLEAR();
154
155 MCAPI static char const*& OPTION_COLOR();
156
157 MCAPI static char const*& OPTION_DEFAULT();
158
159 MCAPI static char const*& OPTION_EASE();
160
161 MCAPI static char const*& OPTION_ENTITY_OFFSET();
162
163 MCAPI static char const*& OPTION_FACING();
164
165 MCAPI static char const*& OPTION_FADE();
166
167 MCAPI static char const*& OPTION_POS();
168
169 MCAPI static char const*& OPTION_ROT();
170
171 MCAPI static char const*& OPTION_SET();
172
173 MCAPI static char const*& OPTION_TARGET();
174
175 MCAPI static char const*& OPTION_TARGET_OFFSET();
176
177 MCAPI static char const*& OPTION_TARGET_REMOVE();
178
179 MCAPI static char const*& OPTION_TIME();
180
181 MCAPI static char const*& OPTION_VIEW_OFFSET();
182 // NOLINTEND
183
184public:
185 // constructor thunks
186 // NOLINTBEGIN
187 MCAPI void* $ctor();
188 // NOLINTEND
189
190public:
191 // destructor thunk
192 // NOLINTBEGIN
193
194 // NOLINTEND
195
196public:
197 // virtual function thunks
198 // NOLINTBEGIN
199 MCAPI void $execute(::CommandOrigin const& origin, ::CommandOutput& output) const;
200 // NOLINTEND
201
202public:
203 // vftables
204 // NOLINTBEGIN
205 MCAPI static void** $vftable();
206 // NOLINTEND
207};
Definition CameraCommand.h:20
Definition CameraPresets.h:18
Definition CommandOrigin.h:32
Definition CommandOutput.h:19
Definition CommandRegistry.h:44
Definition Command.h:17
Definition EntityRegistry.h:15
Definition Experiments.h:14
Definition Pos.h:5
Definition StackRefResult.h:7
Definition CameraInstruction.h:17
Definition Alias.h:14