2022-01-28 00:02:15 +01:00
|
|
|
#pragma once
|
2022-06-01 07:49:36 +02:00
|
|
|
|
2022-08-25 22:06:34 +02:00
|
|
|
#include "../rage/vector.hpp"
|
2022-01-28 00:02:15 +01:00
|
|
|
|
2022-06-01 07:49:36 +02:00
|
|
|
#include <cstdint>
|
|
|
|
|
2022-01-28 00:02:15 +01:00
|
|
|
namespace rage
|
|
|
|
{
|
|
|
|
class nonPhysicalPlayerDataBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual ~nonPhysicalPlayerDataBase();
|
2022-10-30 13:26:20 -04:00
|
|
|
virtual void read();
|
|
|
|
virtual void write();
|
|
|
|
virtual void calculate_size();
|
2022-01-28 00:02:15 +01:00
|
|
|
virtual void log();
|
|
|
|
}; //Size: 0x0008
|
|
|
|
static_assert(sizeof(nonPhysicalPlayerDataBase) == 0x8);
|
|
|
|
}
|
|
|
|
|
2022-01-29 21:34:01 +01:00
|
|
|
#pragma pack(push, 4)
|
2022-01-28 00:02:15 +01:00
|
|
|
class CNonPhysicalPlayerData : public rage::nonPhysicalPlayerDataBase
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
int32_t m_bubble_id; //0x0008
|
|
|
|
int32_t m_player_id; //0x000C
|
2022-01-28 01:15:26 +01:00
|
|
|
rage::fvector3 m_position; //0x0010
|
2022-01-28 00:02:15 +01:00
|
|
|
}; //Size: 0x001C
|
|
|
|
static_assert(sizeof(CNonPhysicalPlayerData) == 0x1C);
|
2022-01-29 21:34:01 +01:00
|
|
|
#pragma pack(pop)
|