GTAV-Classes/player/CNonPhysicalPlayerData.hpp

31 lines
695 B
C++
Raw Normal View History

2024-09-24 21:24:45 -04:00
#pragma once
#include "../rage/vector.hpp"
#include <cstdint>
namespace rage
{
class nonPhysicalPlayerDataBase
{
public:
virtual ~nonPhysicalPlayerDataBase();
virtual void read();
virtual void write();
virtual void calculate_size();
virtual void log();
}; //Size: 0x0008
static_assert(sizeof(nonPhysicalPlayerDataBase) == 0x8);
}
#pragma pack(push, 4)
class CNonPhysicalPlayerData : public rage::nonPhysicalPlayerDataBase
{
public:
int32_t m_bubble_id; //0x0008
int32_t m_player_id; //0x000C
rage::fvector3 m_position; //0x0010
}; //Size: 0x001C
static_assert(sizeof(CNonPhysicalPlayerData) == 0x1C);
#pragma pack(pop)