mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
feat: Add CCameraAngles, CCameraManagerAngles, CGameCameraAngles, CPlayerAngles (#7)
This commit is contained in:
parent
4a0157c69d
commit
5ca943f4cd
12
camera/CCameraAngles.hpp
Normal file
12
camera/CCameraAngles.hpp
Normal file
@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include "../player/CPlayerAngles.hpp"
|
||||
|
||||
class CCameraAngles
|
||||
{
|
||||
public:
|
||||
char pad_0000[960]; //0x0000
|
||||
CPlayerAngles* angles; //0x03C0
|
||||
char pad_03C8[60]; //0x03C8
|
||||
}; //Size: 0x0408
|
||||
static_assert(sizeof(CCameraAngles) == 0x408);
|
10
camera/CCameraManagerAngles.hpp
Normal file
10
camera/CCameraManagerAngles.hpp
Normal file
@ -0,0 +1,10 @@
|
||||
#pragma once
|
||||
|
||||
#include "CCameraAngles.hpp"
|
||||
|
||||
class CCameraManagerAngles
|
||||
{
|
||||
public:
|
||||
CCameraAngles* m_angles; //0x0000
|
||||
}; //Size: 0x0008
|
||||
static_assert(sizeof(CCameraManagerAngles) == 0x8);
|
11
camera/CGameCameraAngles.hpp
Normal file
11
camera/CGameCameraAngles.hpp
Normal file
@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
#include "CCameraManagerAngles.hpp"
|
||||
|
||||
class CGameCameraAngles
|
||||
{
|
||||
public:
|
||||
CCameraManagerAngles* m_angles; //0x0000
|
||||
char pad_0008[56]; //0x0008
|
||||
}; //Size: 0x0040
|
||||
static_assert(sizeof(CGameCameraAngles) == 0x40);
|
22
player/CPlayerAngles.hpp
Normal file
22
player/CPlayerAngles.hpp
Normal file
@ -0,0 +1,22 @@
|
||||
#pragma once
|
||||
|
||||
#include "../rage/vector.hpp"
|
||||
|
||||
class CPlayerCameraData;
|
||||
|
||||
class CPlayerAngles
|
||||
{
|
||||
public:
|
||||
char pad_0000[16]; //0x0000
|
||||
CPlayerCameraData* m_cam_data; //0x0010
|
||||
char pad_0018[24]; //0x0018
|
||||
rage::fvector3 m_right; //0x0030
|
||||
char pad_003C[4]; //0x003C
|
||||
rage::fvector3 m_forward; //0x0040
|
||||
char pad_004C[4]; //0x004C
|
||||
rage::fvector3 m_up; //0x0050
|
||||
char pad_005C[4]; //0x005C
|
||||
rage::fvector3 m_position; //0x0060
|
||||
char pad_006C[36]; //0x006C
|
||||
}; //Size: 0x0090
|
||||
static_assert(sizeof(CPlayerAngles) == 0x90);
|
Loading…
Reference in New Issue
Block a user