feat(Project): Copy pastable into BigBaseV2 source
This commit is contained in:
parent
6a7b3760dc
commit
2f2fa03b83
@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
class CAmmoInfo
|
class CAmmoInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
@ -1,17 +1,18 @@
|
|||||||
#include "CHandlingData.h"
|
#pragma once
|
||||||
#include "CVehicleDrawHandler.h"
|
#include "CHandlingData.hpp"
|
||||||
#include "CVehicleModelInfo.h"
|
#include "CVehicleDrawHandler.hpp"
|
||||||
#include "pgBase.h"
|
#include "CVehicleModelInfo.hpp"
|
||||||
|
#include "pgBase.hpp"
|
||||||
|
|
||||||
class CAutomobile
|
class CAutomobile
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
char pad_0000[32]; //0x0000
|
char pad_0000[32]; //0x0000
|
||||||
class CVehicleModelInfo *m_vehicle_model; //0x0020
|
class CVehicleModelInfo* m_vehicle_model; //0x0020
|
||||||
char pad_0028[8]; //0x0028
|
char pad_0028[8]; //0x0028
|
||||||
class pgBase *m_posbase; //0x0030
|
class pgBase* m_posbase; //0x0030
|
||||||
char pad_0038[16]; //0x0038
|
char pad_0038[16]; //0x0038
|
||||||
class CVehicleDrawHandler *m_mods; //0x0048
|
class CVehicleDrawHandler* m_mods; //0x0048
|
||||||
char pad_0050[313]; //0x0050
|
char pad_0050[313]; //0x0050
|
||||||
uint8_t m_godmode; //0x0189
|
uint8_t m_godmode; //0x0189
|
||||||
char pad_018A[246]; //0x018A
|
char pad_018A[246]; //0x018A
|
||||||
@ -33,7 +34,7 @@ public:
|
|||||||
char pad_0848[192]; //0x0848
|
char pad_0848[192]; //0x0848
|
||||||
float m_engine_health; //0x0908
|
float m_engine_health; //0x0908
|
||||||
char pad_090C[44]; //0x090C
|
char pad_090C[44]; //0x090C
|
||||||
class CHandlingData *m_handling; //0x0938
|
class CHandlingData* m_handling; //0x0938
|
||||||
char pad_0940[2]; //0x0940
|
char pad_0940[2]; //0x0940
|
||||||
uint8_t m_is_drivable; //0x0942
|
uint8_t m_is_drivable; //0x0942
|
||||||
uint8_t m_tyres_can_burst; //0x0943
|
uint8_t m_tyres_can_burst; //0x0943
|
||||||
@ -45,8 +46,8 @@ public:
|
|||||||
char pad_0ABF[413]; //0x0ABF
|
char pad_0ABF[413]; //0x0ABF
|
||||||
float m_gravity; //0x0C5C
|
float m_gravity; //0x0C5C
|
||||||
char pad_0C60[8]; //0x0C60
|
char pad_0C60[8]; //0x0C60
|
||||||
class CPed *m_driver; //0x0C68
|
class CPed* m_driver; //0x0C68
|
||||||
class CPed *m_passengers[15]; //0x0C70
|
class CPed* m_passengers[15]; //0x0C70
|
||||||
class CPed *m_last_driver; //0x0CE8
|
class CPed* m_last_driver; //0x0CE8
|
||||||
}; //Size: 0x0CF0
|
}; //Size: 0x0CF0
|
||||||
static_assert(sizeof(CAutomobile) == 0xCF0);
|
static_assert(sizeof(CAutomobile) == 0xCF0);
|
@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
class CHandlingData
|
class CHandlingData
|
||||||
{
|
{
|
||||||
public:
|
public:
|
@ -1,9 +0,0 @@
|
|||||||
#include "CPed.h"
|
|
||||||
|
|
||||||
class CPedFactory
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
char pad_0000[8]; //0x0000
|
|
||||||
class CPed *m_local_ped; //0x0008
|
|
||||||
}; //Size: 0x0010
|
|
||||||
static_assert(sizeof(CPedFactory) == 0x10);
|
|
18
CNetGamePlayer.hpp
Normal file
18
CNetGamePlayer.hpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#include "CPlayerInfo.hpp"
|
||||||
|
|
||||||
|
class CNetGamePlayer
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
char pad_0000[24]; //0x0000
|
||||||
|
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[110]; //0x0022
|
||||||
|
uint8_t m_player_flag; //0x0090
|
||||||
|
char pad_0091[15]; //0x0091
|
||||||
|
class CPlayerInfo* m_player_info; //0x00A0
|
||||||
|
char pad_00A8[40]; //0x00A8
|
||||||
|
uint32_t m_bubble_id; //0x00D0
|
||||||
|
}; //Size: 0x00D4
|
||||||
|
static_assert(sizeof(CNetGamePlayer) == 0xD4);
|
@ -1,21 +1,24 @@
|
|||||||
#include "CAutomobile.h"
|
#pragma once
|
||||||
#include "CPedModelInfo.h"
|
#include "CAutomobile.hpp"
|
||||||
#include "CPedWeaponManager.h"
|
#include "CPedModelInfo.hpp"
|
||||||
#include "CPlayerInfo.h"
|
#include "CPedWeaponManager.hpp"
|
||||||
#include "pgBase.h"
|
#include "CPlayerInfo.hpp"
|
||||||
|
#include "pgBase.hpp"
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
class CPed
|
class CPed
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
char pad_0000[32]; //0x0000
|
char pad_0000[32]; //0x0000
|
||||||
class CPedModelInfo *m_ped_model_info; //0x0020
|
class CPedModelInfo* m_ped_model_info; //0x0020
|
||||||
uint8_t m_entity_type; //0x0028
|
uint8_t m_entity_type; //0x0028
|
||||||
char pad_0029[3]; //0x0029
|
char pad_0029[3]; //0x0029
|
||||||
uint8_t m_invisible; //0x002C
|
uint8_t m_invisible; //0x002C
|
||||||
char pad_002D[1]; //0x002D
|
char pad_002D[1]; //0x002D
|
||||||
uint8_t m_freeze_momentum; //0x002E
|
uint8_t m_freeze_momentum; //0x002E
|
||||||
char pad_002F[1]; //0x002F
|
char pad_002F[1]; //0x002F
|
||||||
class pgBase *m_posbase; //0x0030
|
class pgBase* m_posbase; //0x0030
|
||||||
char pad_0038[88]; //0x0038
|
char pad_0038[88]; //0x0038
|
||||||
rage::vector3 m_camera; //0x0090
|
rage::vector3 m_camera; //0x0090
|
||||||
char pad_009C[237]; //0x009C
|
char pad_009C[237]; //0x009C
|
||||||
@ -29,11 +32,11 @@ public:
|
|||||||
char pad_02A4[124]; //0x02A4
|
char pad_02A4[124]; //0x02A4
|
||||||
rage::vector3 m_velocity; //0x0320
|
rage::vector3 m_velocity; //0x0320
|
||||||
char pad_032C[2564]; //0x032C
|
char pad_032C[2564]; //0x032C
|
||||||
class CAutomobile *m_vehicle; //0x0D30
|
class CAutomobile* m_vehicle; //0x0D30
|
||||||
char pad_0D38[912]; //0x0D38
|
char pad_0D38[912]; //0x0D38
|
||||||
class CPlayerInfo *m_player_info; //0x10C8
|
class CPlayerInfo* m_player_info; //0x10C8
|
||||||
char pad_10D0[8]; //0x10D0
|
char pad_10D0[8]; //0x10D0
|
||||||
class CPedWeaponManager *m_weapon_manager; //0x10D8
|
class CPedWeaponManager* m_weapon_manager; //0x10D8
|
||||||
char pad_10E0[812]; //0x10E0
|
char pad_10E0[812]; //0x10E0
|
||||||
uint8_t m_bike_seatbelt; //0x140C
|
uint8_t m_bike_seatbelt; //0x140C
|
||||||
char pad_140D[11]; //0x140D
|
char pad_140D[11]; //0x140D
|
||||||
@ -44,3 +47,5 @@ public:
|
|||||||
float m_armor; //0x14E0
|
float m_armor; //0x14E0
|
||||||
}; //Size: 0x14E4
|
}; //Size: 0x14E4
|
||||||
static_assert(sizeof(CPed) == 0x14E4);
|
static_assert(sizeof(CPed) == 0x14E4);
|
||||||
|
|
||||||
|
#pragma pack(pop)
|
@ -1,9 +1,10 @@
|
|||||||
#include "CPed.h"
|
#pragma once
|
||||||
|
#include "CPed.hpp"
|
||||||
|
|
||||||
class CPedFactory
|
class CPedFactory
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
char pad_0000[8]; //0x0000
|
char pad_0000[8]; //0x0000
|
||||||
class CPed *m_local_ped; //0x0008
|
class CPed* m_local_ped; //0x0008
|
||||||
}; //Size: 0x0010
|
}; //Size: 0x0010
|
||||||
static_assert(sizeof(CPedFactory) == 0x10);
|
static_assert(sizeof(CPedFactory) == 0x10);
|
@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
class CPedModelInfo
|
class CPedModelInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
@ -1,14 +1,15 @@
|
|||||||
#include "CWeaponInfo.h"
|
#pragma once
|
||||||
|
#include "CWeaponInfo.hpp"
|
||||||
|
|
||||||
class CPedWeaponManager
|
class CPedWeaponManager
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
char pad_0000[16]; //0x0000
|
char pad_0000[16]; //0x0000
|
||||||
class CPed *m_owner; //0x0010
|
class CPed* m_owner; //0x0010
|
||||||
uint32_t m_selected_weapon_hash; //0x0018
|
uint32_t m_selected_weapon_hash; //0x0018
|
||||||
char pad_001C[4]; //0x001C
|
char pad_001C[4]; //0x001C
|
||||||
class CWeaponInfo *m_weapon_info; //0x0020
|
class CWeaponInfo* m_weapon_info; //0x0020
|
||||||
char pad_0028[72]; //0x0028
|
char pad_0028[72]; //0x0028
|
||||||
class CWeaponInfo *m_vehicle_weapon_info; //0x0070
|
class CWeaponInfo* m_vehicle_weapon_info; //0x0070
|
||||||
}; //Size: 0x0078
|
}; //Size: 0x0078
|
||||||
static_assert(sizeof(CPedWeaponManager) == 0x78);
|
static_assert(sizeof(CPedWeaponManager) == 0x78);
|
@ -1,16 +1,34 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
|
#pragma warning(push)
|
||||||
|
#pragma warning(disable : 4201) // nonstandard extension used: nameless struct/union
|
||||||
|
union netAddress
|
||||||
|
{
|
||||||
|
std::uint32_t m_raw;
|
||||||
|
struct
|
||||||
|
{
|
||||||
|
std::uint8_t m_field4;
|
||||||
|
std::uint8_t m_field3;
|
||||||
|
std::uint8_t m_field2;
|
||||||
|
std::uint8_t m_field1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
#pragma warning(pop)
|
||||||
|
|
||||||
|
#pragma pack(push, 1)
|
||||||
class CPlayerInfo
|
class CPlayerInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
char pad_0000[40]; //0x0000
|
char pad_0000[40]; //0x0000
|
||||||
uint64_t m_rockstar_id; //0x0028
|
uint64_t m_rockstar_id; //0x0028
|
||||||
char pad_0030[52]; //0x0030
|
char pad_0030[52]; //0x0030
|
||||||
uint32_t m_relay_ip; //0x0064
|
netAddress m_relay_ip; //0x0064
|
||||||
uint16_t m_relay_port; //0x0068
|
uint16_t m_relay_port; //0x0068
|
||||||
char pad_006A[2]; //0x006A
|
char pad_006A[2]; //0x006A
|
||||||
uint32_t m_external_ip; //0x006C
|
netAddress m_external_ip; //0x006C
|
||||||
uint16_t m_external_port; //0x0070
|
uint16_t m_external_port; //0x0070
|
||||||
char pad_0072[2]; //0x0072
|
char pad_0072[2]; //0x0072
|
||||||
uint32_t m_internal_ip; //0x0074
|
netAddress m_internal_ip; //0x0074
|
||||||
uint16_t m_internal_port; //0x0078
|
uint16_t m_internal_port; //0x0078
|
||||||
char pad_007A[22]; //0x007A
|
char pad_007A[22]; //0x007A
|
||||||
uint64_t m_rockstar_id2; //0x0090
|
uint64_t m_rockstar_id2; //0x0090
|
||||||
@ -21,7 +39,7 @@ public:
|
|||||||
char pad_0174[20]; //0x0174
|
char pad_0174[20]; //0x0174
|
||||||
uint32_t m_water_proof; //0x0188
|
uint32_t m_water_proof; //0x0188
|
||||||
char pad_018C[92]; //0x018C
|
char pad_018C[92]; //0x018C
|
||||||
class CPed *m_ped; //0x01E8
|
class CPed* m_ped; //0x01E8
|
||||||
char pad_01F0[40]; //0x01F0
|
char pad_01F0[40]; //0x01F0
|
||||||
uint32_t m_frame_flags; //0x0218
|
uint32_t m_frame_flags; //0x0218
|
||||||
char pad_021C[52]; //0x021C
|
char pad_021C[52]; //0x021C
|
||||||
@ -50,3 +68,5 @@ public:
|
|||||||
float m_melee_weapon_defence_mult; //0x0D2C
|
float m_melee_weapon_defence_mult; //0x0D2C
|
||||||
}; //Size: 0x0D30
|
}; //Size: 0x0D30
|
||||||
static_assert(sizeof(CPlayerInfo) == 0xD30);
|
static_assert(sizeof(CPlayerInfo) == 0xD30);
|
||||||
|
|
||||||
|
#pragma pack(pop)
|
@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
class CVehicleDrawHandler
|
class CVehicleDrawHandler
|
||||||
{
|
{
|
||||||
public:
|
public:
|
@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
class CVehicleModelInfo
|
class CVehicleModelInfo
|
||||||
{
|
{
|
||||||
public:
|
public:
|
@ -1,4 +1,5 @@
|
|||||||
#include "CAmmoInfo.h"
|
#pragma once
|
||||||
|
#include "CAmmoInfo.hpp"
|
||||||
|
|
||||||
class CWeaponInfo
|
class CWeaponInfo
|
||||||
{
|
{
|
||||||
@ -9,7 +10,7 @@ public:
|
|||||||
char pad_0018[12]; //0x0018
|
char pad_0018[12]; //0x0018
|
||||||
uint32_t m_impact_explosion; //0x0024
|
uint32_t m_impact_explosion; //0x0024
|
||||||
char pad_0028[56]; //0x0028
|
char pad_0028[56]; //0x0028
|
||||||
class CAmmoInfo *m_ammo_info; //0x0060
|
class CAmmoInfo* m_ammo_info; //0x0060
|
||||||
char pad_0068[20]; //0x0068
|
char pad_0068[20]; //0x0068
|
||||||
float m_spread; //0x007C
|
float m_spread; //0x007C
|
||||||
char pad_0080[60]; //0x0080
|
char pad_0080[60]; //0x0080
|
BIN
gtav.rcnet
BIN
gtav.rcnet
Binary file not shown.
@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
class pgBase
|
class pgBase
|
||||||
{
|
{
|
||||||
public:
|
public:
|
Loading…
x
Reference in New Issue
Block a user