fix(CPlayerGamerDataNode): Use proper class and update members. (#40)

This commit is contained in:
Reece Watson 2022-09-30 13:04:45 -04:00 committed by GitHub
parent db4f3d2be6
commit 8c353622df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,44 +1,29 @@
#pragma once
#include <cstdint>
#include "../../network/ClanData.hpp"
#pragma pack(push, 1)
class CPlayerGamerDataNode
{
public:
char pad_0000[192]; //0x0000
int64_t unk_00C0; //0x00C0
int64_t m_clan_id; //0x00C8
int32_t unk_00D0; //0x00D0
int32_t unk_00D4; //0x00D4
int32_t unk_00D8; //0x00D8
bool m_is_rockstar_clan; //0x00DC
bool m_square_clan_tag; //0x00DD
char m_clan_name[25]; //0x00DE
char m_clan_tag[5]; //0x00F7
char unk_00FC[65]; //0x00FC
char pad_013D[3]; //0x013D
int64_t m_clan_id_2; //0x0140
char m_clan_role[25]; //0x0148
char pad_0161[3]; //0x0161
int32_t unk_0164; //0x0164
int64_t unk_0168; //0x0168
char pad_0170[8]; //0x0170
bool unk_0178; //0x0178
bool unk_0179; //0x0179
char unk_017A[25]; //0x017A
bool unk_0193; //0x0193
bool unk_0194; //0x0194
char unk_0195[125]; //0x0195
ClanData m_clan_data; //0x00C0
bool m_need_crew_rank_sysflags; //0x0178
bool m_need_crew_rank_title; //0x0179
char m_crew_rank_title[25]; //0x017A
bool m_has_started_transition; //0x0193
bool m_has_transition_info; //0x0194
char m_transition_info_buffer[125]; //0x0195
bool m_is_rockstar_dev; //0x0212
bool m_is_rockstar_qa; //0x0213
bool m_is_cheater; //0x0214
char pad_0215[3]; //0x0215
uint32_t unk_0218; //0x0218
bool unk_021C; //0x021C
uint32_t m_matchmaking_group; //0x0218
bool m_need_mute_data; //0x021C
char pad_021D[3]; //0x021D
int32_t unk_0220; //0x0220
int32_t unk_0224; //0x0224
int32_t m_mute_count; //0x0220
int32_t m_mute_talkers_count; //0x0224
uint32_t unk_0228; //0x0228
bool m_has_communication_privilege; //0x022C
char pad_022D[3]; //0x022D