LeviLamina
Loading...
Searching...
No Matches
CameraInstruction.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/math/EasingType.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/platform/Result.h"
9
10// auto generated forward declare list
11// clang-format off
12class BinaryStream;
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
18public:
19 // CameraInstruction inner types declare
20 // clang-format off
21 struct FadeInstruction;
22 struct FovInstruction;
23 struct SetInstruction;
24 struct TargetInstruction;
25 // clang-format on
26
27 // CameraInstruction inner types define
29 public:
30 // SetInstruction inner types declare
31 // clang-format off
32 struct EaseOption;
33 struct EntityOffsetOption;
34 struct FacingOption;
35 struct PosOption;
36 struct RotOption;
37 struct ViewOffsetOption;
38 // clang-format on
39
40 // SetInstruction inner types define
41 struct EaseOption {
42 public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<4, 4, ::EasingType> mEasingType;
46 ::ll::TypedStorage<4, 4, float> mEasingTime;
47 // NOLINTEND
48
49 public:
50 // static functions
51 // NOLINTBEGIN
52 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::EaseOption>
54 // NOLINTEND
55 };
56
57 struct PosOption {
58 public:
59 // member variables
60 // NOLINTBEGIN
61 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
62 // NOLINTEND
63
64 public:
65 // static functions
66 // NOLINTBEGIN
67 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::PosOption>
69 // NOLINTEND
70 };
71
72 struct RotOption {
73 public:
74 // member variables
75 // NOLINTBEGIN
76 ::ll::TypedStorage<4, 4, float> mRotX;
77 ::ll::TypedStorage<4, 4, float> mRotY;
78 // NOLINTEND
79
80 public:
81 // static functions
82 // NOLINTBEGIN
83 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::RotOption>
85 // NOLINTEND
86 };
87
89 public:
90 // member variables
91 // NOLINTBEGIN
92 ::ll::TypedStorage<4, 4, float> mViewOffsetX;
93 ::ll::TypedStorage<4, 4, float> mViewOffsetY;
94 // NOLINTEND
95
96 public:
97 // static functions
98 // NOLINTBEGIN
99 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::ViewOffsetOption>
101 // NOLINTEND
102 };
103
105 public:
106 // member variables
107 // NOLINTBEGIN
108 ::ll::TypedStorage<4, 4, float> mEntityOffsetX;
109 ::ll::TypedStorage<4, 4, float> mEntityOffsetY;
110 ::ll::TypedStorage<4, 4, float> mEntityOffsetZ;
111 // NOLINTEND
112
113 public:
114 // static functions
115 // NOLINTBEGIN
116 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::EntityOffsetOption>
118 // NOLINTEND
119 };
120
122 public:
123 // member variables
124 // NOLINTBEGIN
125 ::ll::TypedStorage<4, 12, ::Vec3> mFacingPos;
126 // NOLINTEND
127
128 public:
129 // static functions
130 // NOLINTBEGIN
131 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::FacingOption>
133 // NOLINTEND
134 };
135
136 public:
137 // member variables
138 // NOLINTBEGIN
139 ::ll::TypedStorage<4, 4, uint> mPresetIndex;
140 ::ll::TypedStorage<4, 12, ::std::optional<::CameraInstruction::SetInstruction::EaseOption>> mEase;
141 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::SetInstruction::PosOption>> mPos;
142 ::ll::TypedStorage<4, 12, ::std::optional<::CameraInstruction::SetInstruction::RotOption>> mRot;
143 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::SetInstruction::FacingOption>> mFacing;
144 ::ll::TypedStorage<4, 12, ::std::optional<::CameraInstruction::SetInstruction::ViewOffsetOption>> mViewOffset;
145 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::SetInstruction::EntityOffsetOption>>
146 mEntityOffset;
147 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mDefault;
148 ::ll::TypedStorage<1, 1, bool> mRemoveIgnoreStartingValuesComponent;
149 // NOLINTEND
150
151 public:
152 // member functions
153 // NOLINTBEGIN
154 MCNAPI bool operator==(::CameraInstruction::SetInstruction const& other) const;
155
156 MCNAPI void write(::BinaryStream& stream) const;
157 // NOLINTEND
158
159 public:
160 // static functions
161 // NOLINTBEGIN
163
164 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction> read(::ReadOnlyBinaryStream& stream);
165 // NOLINTEND
166 };
167
169 public:
170 // FadeInstruction inner types declare
171 // clang-format off
172 struct ColorOption;
173 struct TimeOption;
174 // clang-format on
175
176 // FadeInstruction inner types define
177 struct TimeOption {
178 public:
179 // member variables
180 // NOLINTBEGIN
181 ::ll::TypedStorage<4, 4, float> mFadeInTime;
182 ::ll::TypedStorage<4, 4, float> mHoldTime;
183 ::ll::TypedStorage<4, 4, float> mFadeOutTime;
184 // NOLINTEND
185
186 public:
187 // static functions
188 // NOLINTBEGIN
189 MCNAPI static ::Bedrock::Result<::CameraInstruction::FadeInstruction::TimeOption>
191 // NOLINTEND
192 };
193
194 struct ColorOption {
195 public:
196 // member variables
197 // NOLINTBEGIN
198 ::ll::TypedStorage<4, 4, float> mRed;
199 ::ll::TypedStorage<4, 4, float> mGreen;
200 ::ll::TypedStorage<4, 4, float> mBlue;
201 // NOLINTEND
202
203 public:
204 // static functions
205 // NOLINTBEGIN
206 MCNAPI static ::Bedrock::Result<::CameraInstruction::FadeInstruction::ColorOption>
208 // NOLINTEND
209 };
210
211 public:
212 // member variables
213 // NOLINTBEGIN
214 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::FadeInstruction::TimeOption>> mTime;
215 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::FadeInstruction::ColorOption>> mColor;
216 // NOLINTEND
217
218 public:
219 // member functions
220 // NOLINTBEGIN
221 MCNAPI bool operator==(::CameraInstruction::FadeInstruction const& other) const;
222 // NOLINTEND
223
224 public:
225 // static functions
226 // NOLINTBEGIN
228
229 MCNAPI static ::Bedrock::Result<::CameraInstruction::FadeInstruction> read(::ReadOnlyBinaryStream& stream);
230 // NOLINTEND
231 };
232
234 public:
235 // member variables
236 // NOLINTBEGIN
239 // NOLINTEND
240
241 public:
242 // prevent constructor by default
243 TargetInstruction& operator=(TargetInstruction const&);
246
247 public:
248 // static functions
249 // NOLINTBEGIN
250 MCNAPI static ::Bedrock::Result<::CameraInstruction::TargetInstruction> read(::ReadOnlyBinaryStream& stream);
251 // NOLINTEND
252 };
253
255 public:
256 // member variables
257 // NOLINTBEGIN
262 // NOLINTEND
263
264 public:
265 // prevent constructor by default
266 FovInstruction& operator=(FovInstruction const&);
269
270 public:
271 // static functions
272 // NOLINTBEGIN
273 MCNAPI static ::Bedrock::Result<::CameraInstruction::FovInstruction> read(::ReadOnlyBinaryStream& stream);
274 // NOLINTEND
275 };
276
277public:
278 // member variables
279 // NOLINTBEGIN
280 ::ll::TypedStorage<4, 96, ::std::optional<::CameraInstruction::SetInstruction>> mSet;
281 ::ll::TypedStorage<8, 32, ::std::optional<::CameraInstruction::TargetInstruction>> mTarget;
282 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mRemoveTarget;
283 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mClear;
284 ::ll::TypedStorage<4, 36, ::std::optional<::CameraInstruction::FadeInstruction>> mFade;
285 ::ll::TypedStorage<4, 20, ::std::optional<::CameraInstruction::FovInstruction>> mFieldOfView;
286 // NOLINTEND
287
288public:
289 // member functions
290 // NOLINTBEGIN
291 MCNAPI bool operator==(::CameraInstruction const& other) const;
292
293 MCNAPI void write(::BinaryStream& stream) const;
294 // NOLINTEND
295
296public:
297 // static functions
298 // NOLINTBEGIN
300
301 MCNAPI static ::Bedrock::Result<::CameraInstruction> read(::ReadOnlyBinaryStream& stream);
302 // NOLINTEND
303};
Definition BinaryStream.h:10
Definition ReadOnlyBinaryStream.h:8
Definition CameraInstruction.h:194
static MCAPI ::Bedrock::Result<::CameraInstruction::FadeInstruction::ColorOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:177
static MCAPI ::Bedrock::Result<::CameraInstruction::FadeInstruction::TimeOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:168
static MCAPI ::Bedrock::Result<::CameraInstruction::FadeInstruction > read(::ReadOnlyBinaryStream &stream)
MCAPI bool operator==(::CameraInstruction::FadeInstruction const &other) const
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition CameraInstruction.h:254
static MCAPI ::Bedrock::Result<::CameraInstruction::FovInstruction > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:41
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::EaseOption > read(::ReadOnlyBinaryStream &stream)
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::EntityOffsetOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:121
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::FacingOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:57
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::PosOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:72
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::RotOption > read(::ReadOnlyBinaryStream &stream)
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::ViewOffsetOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:28
MCAPI void write(::BinaryStream &stream) const
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI bool operator==(::CameraInstruction::SetInstruction const &other) const
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:233
static MCAPI ::Bedrock::Result<::CameraInstruction::TargetInstruction > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:17
MCAPI bool operator==(::CameraInstruction const &other) const
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void write(::BinaryStream &stream) const
static MCAPI ::Bedrock::Result<::CameraInstruction > read(::ReadOnlyBinaryStream &stream)
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14