Skip to content
LeviMC
English
AutoLightDark
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/deps/core/math/Vec2.h"
7#include "mc/deps/core/math/Vec3.h"
8#include "mc/deps/shared_types/util/Identifier.h"
9#include "mc/deps/shared_types/util/Reference.h"
10#include "mc/deps/shared_types/v1_21_50/camera/CameraAimAssistCommandPresetDefinition.h"
11
12// auto generated forward declare list
13// clang-format off
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17namespace SharedTypes::v1_21_70 {
18
20public:
21 // CameraPreset inner types define
22 enum class AudioListener : uchar {
23 Camera = 0,
24 Player = 1,
25 };
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<8, 32, ::SharedTypes::Identifier<7>> mName;
31 ::ll::TypedStorage<8, 32, ::SharedTypes::Reference<7>> mInheritFrom;
32 ::ll::TypedStorage<4, 8, ::std::optional<float>> mPosX;
33 ::ll::TypedStorage<4, 8, ::std::optional<float>> mPosY;
34 ::ll::TypedStorage<4, 8, ::std::optional<float>> mPosZ;
35 ::ll::TypedStorage<4, 8, ::std::optional<float>> mRotX;
36 ::ll::TypedStorage<4, 8, ::std::optional<float>> mRotY;
37 ::ll::TypedStorage<4, 8, ::std::optional<float>> mCameraRotationSpeed;
38 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mSnapToTarget;
39 ::ll::TypedStorage<4, 12, ::std::optional<::Vec2>> mHorizontalRotationLimit;
40 ::ll::TypedStorage<4, 12, ::std::optional<::Vec2>> mVerticalRotationLimit;
41 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mContinueTargeting;
42 ::ll::TypedStorage<4, 8, ::std::optional<float>> mTrackingRadius;
43 ::ll::TypedStorage<4, 12, ::std::optional<::Vec2>> mViewOffset;
44 ::ll::TypedStorage<4, 16, ::std::optional<::Vec3>> mEntityOffset;
45 ::ll::TypedStorage<4, 8, ::std::optional<float>> mRadius;
46 ::ll::TypedStorage<4, 8, ::std::optional<float>> mYawLimitMin;
47 ::ll::TypedStorage<4, 8, ::std::optional<float>> mYawLimitMax;
48 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_21_70::CameraPreset::AudioListener>> mListener;
49 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mPlayerEffects;
50 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mAlignTargetAndCameraForward;
51 ::ll::TypedStorage<8, 72, ::std::optional<::SharedTypes::v1_21_50::CameraAimAssistCommandPresetDefinition>>
52 mAimAssist;
53 // NOLINTEND
54
55public:
56 // static functions
57 // NOLINTBEGIN
58 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
59 // NOLINTEND
60};
61
62} // namespace SharedTypes::v1_21_70
Definition Player.h:131
Definition CameraPreset.h:19
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5