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/minecraft_camera/camera_instruction_options/AttachToEntityInstruction.h"
7#include "mc/deps/minecraft_camera/camera_instruction_options/FadeInstruction.h"
8#include "mc/deps/minecraft_camera/camera_instruction_options/FovInstruction.h"
9#include "mc/deps/minecraft_camera/camera_instruction_options/SetInstruction.h"
10#include "mc/deps/minecraft_camera/camera_instruction_options/SplineInstruction.h"
11#include "mc/deps/minecraft_camera/camera_instruction_options/TargetInstruction.h"
12#include "mc/platform/Result.h"
13
14// auto generated forward declare list
15// clang-format off
16class BinaryStream;
18namespace cereal { struct ReflectionCtx; }
19// clang-format on
20
21struct CameraInstruction {
22public:
23 // CameraInstruction inner types define
24 using AttachToEntityInstruction = ::CameraInstructionOptions::AttachToEntityInstruction;
25
26 using FadeInstruction = ::CameraInstructionOptions::FadeInstruction;
27
28 using FovInstruction = ::CameraInstructionOptions::FovInstruction;
29
30 using SetInstruction = ::CameraInstructionOptions::SetInstruction;
31
32 using SplineInstruction = ::CameraInstructionOptions::SplineInstruction;
33
34 using TargetInstruction = ::CameraInstructionOptions::TargetInstruction;
35
36public:
37 // member variables
38 // NOLINTBEGIN
39 ::ll::TypedStorage<8, 16, ::std::optional<::CameraInstructionOptions::AttachToEntityInstruction>> mAttachToEntity;
40 ::ll::TypedStorage<4, 36, ::std::optional<::CameraInstructionOptions::FadeInstruction>> mFade;
41 ::ll::TypedStorage<4, 20, ::std::optional<::CameraInstructionOptions::FovInstruction>> mFieldOfView;
42 ::ll::TypedStorage<4, 96, ::std::optional<::CameraInstructionOptions::SetInstruction>> mSet;
43 ::ll::TypedStorage<8, 88, ::std::optional<::CameraInstructionOptions::SplineInstruction>> mSpline;
44 ::ll::TypedStorage<8, 32, ::std::optional<::CameraInstructionOptions::TargetInstruction>> mTarget;
45 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mClear;
46 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mDetachFromEntity;
47 ::ll::TypedStorage<1, 2, ::std::optional<bool>> mRemoveTarget;
48 // NOLINTEND
49
50public:
51 // prevent constructor by default
52 CameraInstruction();
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCNAPI CameraInstruction(::CameraInstruction&&);
58
59 MCNAPI CameraInstruction(::CameraInstruction const&);
60
61 MCNAPI ::CameraInstruction& operator=(::CameraInstruction&&);
62
63 MCNAPI ::CameraInstruction& operator=(::CameraInstruction const&);
64
65 MCNAPI bool operator==(::CameraInstruction const& other) const;
66
67 MCNAPI void write(::BinaryStream& stream) const;
68
70 // NOLINTEND
71
72public:
73 // static functions
74 // NOLINTBEGIN
75 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
76
77 MCNAPI static ::Bedrock::Result<::CameraInstruction> read(::ReadOnlyBinaryStream& stream);
78 // NOLINTEND
79
80public:
81 // constructor thunks
82 // NOLINTBEGIN
83 MCNAPI void* $ctor(::CameraInstruction&&);
84
85 MCNAPI void* $ctor(::CameraInstruction const&);
86 // NOLINTEND
87
88public:
89 // destructor thunk
90 // NOLINTBEGIN
91 MCNAPI void $dtor();
92 // NOLINTEND
93};
Definition BinaryStream.h:11
Definition ReadOnlyBinaryStream.h:8
Definition AttachToEntityInstruction.h:16
Definition FadeInstruction.h:16
Definition FovInstruction.h:16
Definition SetInstruction.h:17
Definition SplineInstruction.h:17
Definition TargetInstruction.h:16
MCAPI bool operator==(::CameraInstruction const &other) const
MCAPI void * $ctor(::CameraInstruction &&)
MCAPI CameraInstruction(::CameraInstruction &&)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void write(::BinaryStream &stream) const
MCAPI void * $ctor(::CameraInstruction const &)
static MCAPI ::Bedrock::Result<::CameraInstruction > read(::ReadOnlyBinaryStream &stream)
MCAPI void $dtor()
MCAPI ~CameraInstruction()
MCAPI::CameraInstruction & operator=(::CameraInstruction &&)
MCAPI CameraInstruction(::CameraInstruction const &)
MCAPI::CameraInstruction & operator=(::CameraInstruction const &)
Definition ReflectionCtx.h:11
Definition ctx.h:5