Added 1.51 Natives from 272.

Fixed CPed and netPlayerData classes for 1.51 offsets.
This commit is contained in:
gir489 2020-08-11 18:51:49 -04:00
parent 6880dfcbee
commit adecc49471
3 changed files with 6129 additions and 6132 deletions

File diff suppressed because it is too large Load Diff

View File

@ -26,23 +26,22 @@ namespace rage
class netPlayerData class netPlayerData
{ {
public: public:
std::uint64_t m_unk1; // 0x00 char pad_0000[16]; //0x0000
std::uint64_t m_unk2; // 0x08 uint32_t m_sec_key_time; //0x0010
std::uint32_t m_sec_key_time; // 0x10 netAddress m_lan_ip; //0x0014
netAddress m_lan_ip; // 0x14 uint16_t m_lan_port; //0x0018
std::uint16_t m_lan_port; // 0x18 char pad_001A[2]; //0x001A
char m_pad1[0x02]; // 0x1A netAddress m_relay_ip; //0x001C
netAddress m_relay_ip; // 0x1C uint32_t m_relay_port; //0x0020
std::uint16_t m_relay_port; // 0x20 netAddress m_online_ip; //0x0024
char m_pad2[0x02]; // 0x22 uint16_t m_online_port; //0x0028
netAddress m_online_ip; // 0x24 char pad_002A[22]; //0x002A
std::uint16_t m_online_port; // 0x26 int32_t m_host_token; //0x0040
char m_pad3[0x1E]; // 0x28 char pad_0044[12]; //0x0044
std::uint64_t m_rockstar_id; // 0x48 uint64_t m_rockstar_id; //0x0050
bool m_id_flag; // 0x50 char pad_0058[12]; //0x0058
char m_pad4[0x0B]; // 0x51 char m_name[20]; //0x0064
char m_name[0x14]; // 0x5C }; //Size: 0x0078
};
class nonPhysicalPlayerDataBase class nonPhysicalPlayerDataBase
{ {

View File

@ -56,11 +56,9 @@ namespace rage
char pad_0D30[892]; //0x0D30 char pad_0D30[892]; //0x0D30
int8_t m_decal_index; //0x10AC int8_t m_decal_index; //0x10AC
int8_t m_decal_info; //0x10AD int8_t m_decal_info; //0x10AD
char pad_10AE[10]; //0x10AE char pad_10AE[26]; //0x10AE
class CPlayerInfo* m_player_info; //0x10B8 class CPlayerInfo* m_player_info; //0x10C8
char pad_10C0[1072]; //0x10C0 };
class CVehicle* m_last_vehicle2; //0x14F0
}; //Size: 0x14F8
class CPlayerInfo class CPlayerInfo
{ {