mirror of
https://github.com/Mr-X-GTA/GTAV-Classes-1.git
synced 2024-12-22 14:37:31 +08:00
Update CNetGamePlayer (#151)
This commit is contained in:
parent
b874a00c18
commit
a41a089a50
@ -11,9 +11,11 @@
|
|||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#pragma pack(push, 8)
|
#pragma pack(push, 8)
|
||||||
|
// WARNING: most fields are out of date
|
||||||
class CNetGamePlayer : public rage::netPlayer
|
class CNetGamePlayer : public rage::netPlayer
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
void* m_unk;
|
||||||
CPlayerInfo* m_player_info; //0x00A0
|
CPlayerInfo* m_player_info; //0x00A0
|
||||||
uint32_t m_matchmaking_group; //0x0008
|
uint32_t m_matchmaking_group; //0x0008
|
||||||
bool m_is_spectating; //0x000C
|
bool m_is_spectating; //0x000C
|
||||||
@ -39,6 +41,7 @@ public:
|
|||||||
char pad_01AB[5]; //0x01AB
|
char pad_01AB[5]; //0x01AB
|
||||||
rage::rlSessionInfo m_transition_session_info; //0x01A3
|
rage::rlSessionInfo m_transition_session_info; //0x01A3
|
||||||
char pad_022D[16]; //0x022D
|
char pad_022D[16]; //0x022D
|
||||||
|
void* m_unk2;
|
||||||
uint64_t unk_0230; //0x0230
|
uint64_t unk_0230; //0x0230
|
||||||
uint64_t unk_0238; //0x0238
|
uint64_t unk_0238; //0x0238
|
||||||
uint32_t m_mute_count; //0x0240
|
uint32_t m_mute_count; //0x0240
|
||||||
@ -59,5 +62,5 @@ public:
|
|||||||
uint32_t m_account_id; //0x02B4
|
uint32_t m_account_id; //0x02B4
|
||||||
uint32_t m_unk_02BC; //0x02BC
|
uint32_t m_unk_02BC; //0x02BC
|
||||||
}; //Size: 0x02C0
|
}; //Size: 0x02C0
|
||||||
static_assert(sizeof(CNetGamePlayer) == 0x320);
|
static_assert(sizeof(CNetGamePlayer) == 0x330);
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
@ -1,34 +1,34 @@
|
|||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
#include "netPlayerMgrBase.hpp"
|
#include "netPlayerMgrBase.hpp"
|
||||||
#include "CNetGamePlayer.hpp"
|
#include "CNetGamePlayer.hpp"
|
||||||
#include "../player/CNonPhysicalPlayerData.hpp"
|
#include "../player/CNonPhysicalPlayerData.hpp"
|
||||||
|
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
|
|
||||||
#pragma pack(push, 2)
|
#pragma pack(push, 2)
|
||||||
class CNetworkPlayerMgr : public rage::netPlayerMgrBase
|
class CNetworkPlayerMgr : public rage::netPlayerMgrBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
CNetGamePlayer m_net_players[32]; //0x08E0
|
CNetGamePlayer m_net_players[32]; //0x08E0
|
||||||
uint64_t unk_60E0; //0x60E0
|
uint64_t unk_60E0; //0x60E0
|
||||||
uint64_t unk_60E8; //0x60E8
|
uint64_t unk_60E8; //0x60E8
|
||||||
uint64_t unk_60F0; //0x60F0
|
uint64_t unk_60F0; //0x60F0
|
||||||
uint64_t unk_60F8; //0x60F8
|
uint64_t unk_60F8; //0x60F8
|
||||||
CNetGamePlayer m_net_players_2[32]; //0x6100
|
CNetGamePlayer m_net_players_2[32]; //0x6100
|
||||||
uint64_t unk_B900; //0xB900
|
uint64_t unk_B900; //0xB900
|
||||||
uint64_t unk_B908; //0xB908
|
uint64_t unk_B908; //0xB908
|
||||||
uint64_t unk_B910; //0xB910
|
uint64_t unk_B910; //0xB910
|
||||||
uint64_t unk_B918; //0xB918
|
uint64_t unk_B918; //0xB918
|
||||||
uint64_t unk_B920; //0xB920
|
uint64_t unk_B920; //0xB920
|
||||||
uint64_t unk_B928; //0xB928
|
uint64_t unk_B928; //0xB928
|
||||||
uint64_t unk_B930; //0xB930
|
uint64_t unk_B930; //0xB930
|
||||||
uint32_t unk_B938; //0xB938
|
uint32_t unk_B938; //0xB938
|
||||||
char pad_B93C[3]; //0xB93C
|
char pad_B93C[3]; //0xB93C
|
||||||
bool unk_B93F; //0xB93F
|
bool unk_B93F; //0xB93F
|
||||||
uint32_t unk_B940; //0xB940
|
uint32_t unk_B940; //0xB940
|
||||||
uint32_t unk_B944; //0xB944
|
uint32_t unk_B944; //0xB944
|
||||||
uint16_t unk_B948; //0xB948
|
uint16_t unk_B948; //0xB948
|
||||||
}; //Size: 0xB94A
|
}; //Size: 0xB94A
|
||||||
static_assert(sizeof(CNetworkPlayerMgr) == 0xD152);
|
static_assert(sizeof(CNetworkPlayerMgr) == 0xD552);
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
Loading…
Reference in New Issue
Block a user