LeviLamina
Loading...
Searching...
No Matches
ICameraAPI.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/game_refs/WeakRef.h"
7
8// auto generated forward declare list
9// clang-format off
10class EntityContext;
11class Vec2;
12class Vec3;
13// clang-format on
14
16public:
17 // ICameraAPI inner types declare
18 // clang-format off
19 struct CameraMovementData;
20 struct ShakeParameters;
21 // clang-format on
22
23 // ICameraAPI inner types define
25 public:
26 // member variables
27 // NOLINTBEGIN
30 // NOLINTEND
31
32 public:
33 // prevent constructor by default
34 ShakeParameters& operator=(ShakeParameters const&);
37 };
38
39 enum class CameraMovementSpeed : int {
40 Fast = 0,
41 Slow = 1,
42 };
43
45 public:
46 // member variables
47 // NOLINTBEGIN
50 // NOLINTEND
51
52 public:
53 // prevent constructor by default
54 CameraMovementData& operator=(CameraMovementData const&);
57 };
58
59public:
60 // virtual functions
61 // NOLINTBEGIN
62 // vIndex: 0
63 virtual ~ICameraAPI() = default;
64
65 // vIndex: 1
66 virtual ::std::optional<::Vec3> tryGetActorInterpolatedPosition(::WeakRef<::EntityContext>, float) const = 0;
67
68 // vIndex: 2
69 virtual ::std::optional<::Vec2> tryGetActorRotation(::WeakRef<::EntityContext const> const) const = 0;
70
71 // vIndex: 3
72 virtual ::std::optional<::Vec3> tryGetActorPositionDelta(::WeakRef<::EntityContext>) const = 0;
73
74 // vIndex: 4
75 virtual ::std::optional<::ICameraAPI::ShakeParameters>
76 tryGetShakeParameters(::WeakRef<::EntityContext>, float, float, float) const = 0;
77
78 // vIndex: 5
79 virtual ::std::optional<float> tryGetFOV() const = 0;
80
81 // vIndex: 6
82 virtual ::ICameraAPI::CameraMovementData getCameraMovementVector() const = 0;
83
84 // vIndex: 7
85 virtual float getSecondsSinceProgramStart() const = 0;
86
87 // vIndex: 8
88 virtual ::WeakRef<::EntityContext> getDefaultCameraTarget() const = 0;
89
90 // vIndex: 9
91 virtual ::WeakRef<::EntityContext> getWeakEntity(int64) const = 0;
92
93 // vIndex: 10
94 virtual float getFrameAlpha() const = 0;
95
96 // vIndex: 11
97 virtual ::glm::vec2 getViewportSize() const = 0;
98
99 // vIndex: 12
100 virtual ::std::optional<::Vec3> clip(::glm::vec3 const&, ::glm::vec3 const&) = 0;
101
102 // vIndex: 13
103 virtual bool isInWall(::Vec3 const&) const = 0;
104
105 // vIndex: 14
106 virtual bool isAlive(::WeakRef<::EntityContext> const) const = 0;
107 // NOLINTEND
108
109public:
110 // destructor thunk
111 // NOLINTBEGIN
112
113 // NOLINTEND
114
115public:
116 // virtual function thunks
117 // NOLINTBEGIN
118
119 // NOLINTEND
120};
Definition EntityContext.h:16
Definition ICameraAPI.h:15
Definition Vec2.h:5
Definition Vec3.h:10
Definition WeakRef.h:8
Definition ICameraAPI.h:44
Definition ICameraAPI.h:24
Definition Alias.h:14