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 SetInstruction;
23 struct TargetInstruction;
24 // clang-format on
25
26 // CameraInstruction inner types define
28 public:
29 // SetInstruction inner types declare
30 // clang-format off
31 struct EaseOption;
32 struct EntityOffsetOption;
33 struct FacingOption;
34 struct PosOption;
35 struct RotOption;
36 struct ViewOffsetOption;
37 // clang-format on
38
39 // SetInstruction inner types define
40 struct EaseOption {
41 public:
42 // member variables
43 // NOLINTBEGIN
44 ::ll::TypedStorage<4, 4, ::EasingType> mEasingType;
45 ::ll::TypedStorage<4, 4, float> mEasingTime;
46 // NOLINTEND
47
48 public:
49 // static functions
50 // NOLINTBEGIN
51 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::EaseOption>
53 // NOLINTEND
54 };
55
56 struct PosOption {
57 public:
58 // member variables
59 // NOLINTBEGIN
60 ::ll::TypedStorage<4, 12, ::Vec3> mPos;
61 // NOLINTEND
62
63 public:
64 // static functions
65 // NOLINTBEGIN
66 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::PosOption>
68 // NOLINTEND
69 };
70
71 struct RotOption {
72 public:
73 // member variables
74 // NOLINTBEGIN
75 ::ll::TypedStorage<4, 4, float> mRotX;
76 ::ll::TypedStorage<4, 4, float> mRotY;
77 // NOLINTEND
78
79 public:
80 // static functions
81 // NOLINTBEGIN
82 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::RotOption>
84 // NOLINTEND
85 };
86
88 public:
89 // member variables
90 // NOLINTBEGIN
91 ::ll::TypedStorage<4, 4, float> mViewOffsetX;
92 ::ll::TypedStorage<4, 4, float> mViewOffsetY;
93 // NOLINTEND
94
95 public:
96 // static functions
97 // NOLINTBEGIN
98 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::ViewOffsetOption>
100 // NOLINTEND
101 };
102
104 public:
105 // member variables
106 // NOLINTBEGIN
107 ::ll::TypedStorage<4, 4, float> mEntityOffsetX;
108 ::ll::TypedStorage<4, 4, float> mEntityOffsetY;
109 ::ll::TypedStorage<4, 4, float> mEntityOffsetZ;
110 // NOLINTEND
111
112 public:
113 // static functions
114 // NOLINTBEGIN
115 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::EntityOffsetOption>
117 // NOLINTEND
118 };
119
121 public:
122 // member variables
123 // NOLINTBEGIN
124 ::ll::TypedStorage<4, 12, ::Vec3> mFacingPos;
125 // NOLINTEND
126
127 public:
128 // static functions
129 // NOLINTBEGIN
130 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction::FacingOption>
132 // NOLINTEND
133 };
134
135 public:
136 // member variables
137 // NOLINTBEGIN
138 ::ll::TypedStorage<4, 4, uint> mPresetIndex;
139 ::ll::TypedStorage<4, 12, ::std::optional<::CameraInstruction::SetInstruction::EaseOption>> mEase;
140 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::SetInstruction::PosOption>> mPos;
141 ::ll::TypedStorage<4, 12, ::std::optional<::CameraInstruction::SetInstruction::RotOption>> mRot;
142 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::SetInstruction::FacingOption>> mFacing;
143 ::ll::TypedStorage<4, 12, ::std::optional<::CameraInstruction::SetInstruction::ViewOffsetOption>> mViewOffset;
144 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::SetInstruction::EntityOffsetOption>>
145 mEntityOffset;
146 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mDefault;
147 ::ll::TypedStorage<1, 1, bool> mRemoveIgnoreStartingValuesComponent;
148 // NOLINTEND
149
150 public:
151 // member functions
152 // NOLINTBEGIN
153 MCNAPI bool operator==(::CameraInstruction::SetInstruction const& other) const;
154
155 MCNAPI void write(::BinaryStream& stream) const;
156 // NOLINTEND
157
158 public:
159 // static functions
160 // NOLINTBEGIN
162
163 MCNAPI static ::Bedrock::Result<::CameraInstruction::SetInstruction> read(::ReadOnlyBinaryStream& stream);
164 // NOLINTEND
165 };
166
168 public:
169 // FadeInstruction inner types declare
170 // clang-format off
171 struct ColorOption;
172 struct TimeOption;
173 // clang-format on
174
175 // FadeInstruction inner types define
176 struct TimeOption {
177 public:
178 // member variables
179 // NOLINTBEGIN
180 ::ll::TypedStorage<4, 4, float> mFadeInTime;
181 ::ll::TypedStorage<4, 4, float> mHoldTime;
182 ::ll::TypedStorage<4, 4, float> mFadeOutTime;
183 // NOLINTEND
184
185 public:
186 // static functions
187 // NOLINTBEGIN
188 MCNAPI static ::Bedrock::Result<::CameraInstruction::FadeInstruction::TimeOption>
190 // NOLINTEND
191 };
192
193 struct ColorOption {
194 public:
195 // member variables
196 // NOLINTBEGIN
197 ::ll::TypedStorage<4, 4, float> mRed;
198 ::ll::TypedStorage<4, 4, float> mGreen;
199 ::ll::TypedStorage<4, 4, float> mBlue;
200 // NOLINTEND
201
202 public:
203 // static functions
204 // NOLINTBEGIN
205 MCNAPI static ::Bedrock::Result<::CameraInstruction::FadeInstruction::ColorOption>
207 // NOLINTEND
208 };
209
210 public:
211 // member variables
212 // NOLINTBEGIN
213 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::FadeInstruction::TimeOption>> mTime;
214 ::ll::TypedStorage<4, 16, ::std::optional<::CameraInstruction::FadeInstruction::ColorOption>> mColor;
215 // NOLINTEND
216
217 public:
218 // static functions
219 // NOLINTBEGIN
221
222 MCNAPI static ::Bedrock::Result<::CameraInstruction::FadeInstruction> read(::ReadOnlyBinaryStream& stream);
223 // NOLINTEND
224 };
225
227 public:
228 // member variables
229 // NOLINTBEGIN
232 // NOLINTEND
233
234 public:
235 // prevent constructor by default
236 TargetInstruction& operator=(TargetInstruction const&);
239
240 public:
241 // static functions
242 // NOLINTBEGIN
243 MCNAPI static ::Bedrock::Result<::CameraInstruction::TargetInstruction> read(::ReadOnlyBinaryStream& stream);
244 // NOLINTEND
245 };
246
247public:
248 // member variables
249 // NOLINTBEGIN
250 ::ll::TypedStorage<4, 96, ::std::optional<::CameraInstruction::SetInstruction>> mSet;
251 ::ll::TypedStorage<8, 32, ::std::optional<::CameraInstruction::TargetInstruction>> mTarget;
252 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mRemoveTarget;
253 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mClear;
254 ::ll::TypedStorage<4, 36, ::std::optional<::CameraInstruction::FadeInstruction>> mFade;
255 // NOLINTEND
256
257public:
258 // member functions
259 // NOLINTBEGIN
260 MCNAPI bool operator==(::CameraInstruction const& other) const;
261
262 MCNAPI void write(::BinaryStream& stream) const;
263 // NOLINTEND
264
265public:
266 // static functions
267 // NOLINTBEGIN
268 MCNAPI static ::Bedrock::Result<::CameraInstruction> read(::ReadOnlyBinaryStream& stream);
269 // NOLINTEND
270};
Definition BinaryStream.h:10
Definition ReadOnlyBinaryStream.h:8
Definition CameraInstruction.h:193
static MCAPI ::Bedrock::Result<::CameraInstruction::FadeInstruction::ColorOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:176
static MCAPI ::Bedrock::Result<::CameraInstruction::FadeInstruction::TimeOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:167
static MCAPI ::Bedrock::Result<::CameraInstruction::FadeInstruction > read(::ReadOnlyBinaryStream &stream)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition CameraInstruction.h:40
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::EaseOption > read(::ReadOnlyBinaryStream &stream)
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::EntityOffsetOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:120
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::FacingOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:56
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::PosOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:71
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::RotOption > read(::ReadOnlyBinaryStream &stream)
static MCAPI ::Bedrock::Result<::CameraInstruction::SetInstruction::ViewOffsetOption > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:27
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:226
static MCAPI ::Bedrock::Result<::CameraInstruction::TargetInstruction > read(::ReadOnlyBinaryStream &stream)
Definition CameraInstruction.h:17
MCAPI bool operator==(::CameraInstruction const &other) const
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