LeviLamina
Loading...
Searching...
No Matches
CameraPreset.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/platform/Result.h"
7
8// auto generated forward declare list
9// clang-format off
10class BinaryStream;
12class Vec2;
13class Vec3;
14namespace SharedTypes::v1_21_50 { struct CameraPresetAimAssistDefinition; }
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
19public:
20 // CameraPreset inner types define
21 enum class AudioListener : uchar {
22 Camera = 0,
23 Player = 1,
24 };
25
26public:
27 // member variables
28 // NOLINTBEGIN
29 ::ll::TypedStorage<8, 32, ::std::string> mName;
30 ::ll::TypedStorage<8, 32, ::std::string> mInheritFrom;
31 ::ll::TypedStorage<4, 8, ::std::optional<float>> mPosX;
32 ::ll::TypedStorage<4, 8, ::std::optional<float>> mPosY;
33 ::ll::TypedStorage<4, 8, ::std::optional<float>> mPosZ;
34 ::ll::TypedStorage<4, 8, ::std::optional<float>> mRotX;
35 ::ll::TypedStorage<4, 8, ::std::optional<float>> mRotY;
36 ::ll::TypedStorage<4, 8, ::std::optional<float>> mCameraRotationSpeed;
37 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mSnapToTarget;
38 ::ll::TypedStorage<4, 12, ::std::optional<::Vec2>> mHorizontalRotationLimit;
39 ::ll::TypedStorage<4, 12, ::std::optional<::Vec2>> mVerticalRotationLimit;
40 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mContinueTargeting;
41 ::ll::TypedStorage<4, 8, ::std::optional<float>> mTrackingRadius;
42 ::ll::TypedStorage<4, 12, ::std::optional<::Vec2>> mViewOffset;
43 ::ll::TypedStorage<4, 16, ::std::optional<::Vec3>> mEntityOffset;
44 ::ll::TypedStorage<4, 8, ::std::optional<float>> mRadius;
45 ::ll::TypedStorage<4, 8, ::std::optional<float>> mYawLimitMin;
46 ::ll::TypedStorage<4, 8, ::std::optional<float>> mYawLimitMax;
47 ::ll::TypedStorage<1, 2, ::std::optional<::CameraPreset::AudioListener>> mListener;
48 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mPlayerEffects;
49 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mAlignTargetAndCameraForward;
50 ::ll::TypedStorage<8, 72, ::std::optional<::SharedTypes::v1_21_50::CameraPresetAimAssistDefinition>> mAimAssist;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI CameraPreset(::CameraPreset const&);
57
59
60 MCAPI ::CameraPreset& operator=(::CameraPreset&&);
61
62 MCAPI ::CameraPreset& operator=(::CameraPreset const&);
63
64 MCAPI void setHorizontalRotationLimit(::std::array<float, 2> const& arr);
65
66 MCAPI void setVerticalRotationLimit(::std::array<float, 2> const& arr);
67
68 MCAPI void write(::BinaryStream& stream) const;
69
70 MCAPI ~CameraPreset();
71 // NOLINTEND
72
73public:
74 // static functions
75 // NOLINTBEGIN
76 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
77
78 MCAPI static ::Bedrock::Result<::CameraPreset> read(::ReadOnlyBinaryStream& stream);
79 // NOLINTEND
80
81public:
82 // constructor thunks
83 // NOLINTBEGIN
84 MCAPI void* $ctor(::CameraPreset const&);
85
86 MCAPI void* $ctor(::CameraPreset&&);
87 // NOLINTEND
88
89public:
90 // destructor thunk
91 // NOLINTBEGIN
92 MCAPI void $dtor();
93 // NOLINTEND
94};
Definition BinaryStream.h:10
Definition Player.h:119
Definition ReadOnlyBinaryStream.h:8
Definition Vec2.h:5
Definition Vec3.h:10
Definition CameraPreset.h:18
Definition ReflectionCtx.h:11
Definition ctx.h:5