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