GTAV-Classes/network/netPlayer.hpp

42 lines
1.2 KiB
C++
Raw Normal View History

2024-09-24 21:24:45 -04:00
#pragma once
#include "../rage/rlGamerInfo.hpp"
#include "../player/CNonPhysicalPlayerData.hpp"
namespace rage
{
#pragma pack(push, 8)
class netPlayer
{
public:
virtual void* _0x00();
virtual void* _0x08();
virtual uint32_t _0x10();
virtual netPlayer* _0x18(void*);
virtual bool _0x20(void*);
virtual bool _0x28(void**);
virtual void destructor();
virtual void reset();
virtual bool is_valid();
virtual const char* get_name();
virtual void _0x50();
virtual bool is_host();
virtual rage::rlGamerInfo* get_net_data();
virtual void _0x68();
char pad_0008[8]; //0x0008
CNonPhysicalPlayerData* m_non_physical_player; //0x0010
uint32_t m_msg_id; //0x0018
char pad_001C[4]; //0x001C
uint8_t m_active_id; //0x0020
uint8_t m_player_id; //0x0021
char pad_0022[3]; //0x0022
uint16_t m_complaints; //0x0026
char pad_0027[17]; //0x0028
class CNetGamePlayer* m_unk_net_player_list[10]; //0x0040
char pad_0090[4]; //0x0090
uint64_t pad_0098; //0x0098
}; //Size: 0x00A0
static_assert(sizeof(netPlayer) == 0xA0);
#pragma pack(pop)
}