LeviLamina
Loading...
Searching...
No Matches
CameraAimAssistCommandPresetDefinition.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/shared_types/util/Reference.h"
8#include "mc/platform/Result.h"
9#include "mc/world/level/camera/aimassist/camera_aim_assist/TargetMode.h"
10
11// auto generated forward declare list
12// clang-format off
13class BinaryStream;
15namespace cereal { struct ReflectionCtx; }
16// clang-format on
17
18namespace SharedTypes::v1_21_50 {
19
20struct CameraAimAssistCommandPresetDefinition {
21public:
22 // member variables
23 // NOLINTBEGIN
24 ::ll::TypedStorage<8, 40, ::std::optional<::SharedTypes::Reference<5>>> mPresetId;
25 ::ll::TypedStorage<1, 2, ::std::optional<::CameraAimAssist::TargetMode>> mTargetMode;
26 ::ll::TypedStorage<4, 12, ::std::optional<::Vec2>> mAngle;
27 ::ll::TypedStorage<4, 8, ::std::optional<float>> mDistance;
28 // NOLINTEND
29
30public:
31 // prevent constructor by default
32 CameraAimAssistCommandPresetDefinition& operator=(CameraAimAssistCommandPresetDefinition const&);
33 CameraAimAssistCommandPresetDefinition(CameraAimAssistCommandPresetDefinition const&);
34 CameraAimAssistCommandPresetDefinition();
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI CameraAimAssistCommandPresetDefinition(::SharedTypes::v1_21_50::CameraAimAssistCommandPresetDefinition&&);
40
41 MCAPI ::SharedTypes::v1_21_50::CameraAimAssistCommandPresetDefinition&
43
44 MCAPI bool operator==(::SharedTypes::v1_21_50::CameraAimAssistCommandPresetDefinition const& rhs) const;
45
46 MCAPI void write(::BinaryStream& stream) const;
47
48 MCAPI ~CameraAimAssistCommandPresetDefinition();
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void bindType(::cereal::ReflectionCtx& ctx);
55
56 MCAPI static ::Bedrock::Result<::SharedTypes::v1_21_50::CameraAimAssistCommandPresetDefinition>
57 read(::ReadOnlyBinaryStream& stream);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
64 // NOLINTEND
65
66public:
67 // destructor thunk
68 // NOLINTBEGIN
69 MCFOLD void $dtor();
70 // NOLINTEND
71};
72
73} // namespace SharedTypes::v1_21_50
Definition BinaryStream.h:11
Definition ReadOnlyBinaryStream.h:8
Definition CameraAimAssistCommandPresetDefinition.h:20
Definition ReflectionCtx.h:11
Definition ctx.h:5