From 589da35b1ca407cd6519f62201e3cf389cd034b2 Mon Sep 17 00:00:00 2001 From: Scarface <69252375+NtQueryInformationProcess@users.noreply.github.com> Date: Sat, 22 Jul 2023 19:38:09 +0200 Subject: [PATCH] Add CPlayerCameraData (#127) --- player/CPlayerAngles.hpp | 3 +-- player/CPlayerCameraData.hpp | 11 +++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 player/CPlayerCameraData.hpp diff --git a/player/CPlayerAngles.hpp b/player/CPlayerAngles.hpp index 3616a97..bdbdb8b 100644 --- a/player/CPlayerAngles.hpp +++ b/player/CPlayerAngles.hpp @@ -1,8 +1,7 @@ #pragma once #include "../rage/vector.hpp" - -class CPlayerCameraData; +#include "CPlayerCameraData.hpp" class CPlayerAngles { diff --git a/player/CPlayerCameraData.hpp b/player/CPlayerCameraData.hpp new file mode 100644 index 0000000..4570ada --- /dev/null +++ b/player/CPlayerCameraData.hpp @@ -0,0 +1,11 @@ +#pragma once + +class CPlayerCameraData +{ +public: + char m_unk_0x0[0x30]; + float m_fov; + char m_unk_0x34[0x24]; + uint32_t m_zoom_state; +}; +static_assert(sizeof(CPlayerCameraData) == 0x5C);