feat(netsync/nodes): update some data nodes (#164)

This commit is contained in:
Space V 2024-04-30 23:36:45 +02:00 committed by GitHub
parent b13929ce04
commit f2f73a8004
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 12 additions and 12 deletions

View File

@ -16,8 +16,8 @@ class CDynamicEntityGameStateDataNode : CSyncDataNodeInfrequent
{
public:
uint32_t m_interior_index; // 0x00C0
bool unk_00C4; // 0x00C4
bool unk_00C5; // 0x00C5
bool m_loads_collisions; // 0x00C4
bool m_retained; // 0x00C5
uint32_t m_decor_count; // 0x00C8
CDecorator m_decors[10]; // 0x00CC
char pad[8]; // TODO!

View File

@ -12,14 +12,14 @@ public:
uint32_t m_rear_rotor_health;
bool m_can_tail_boom_break_off;
bool m_is_tail_boom_broken;
bool m_unk;
bool m_has_custom_health;
bool m_disable_explode_from_body_damage;
uint32_t m_body_health;
uint32_t m_petrol_tank_health;
uint32_t m_engine_health;
float m_unk_deformation_level;
float m_unk2_deformation_level;
float m_unk3_deformation_level;
float m_main_rotor_damage_scale;
float m_rear_rotor_damage_scale;
float m_tail_boom_damage_scale;
};
static_assert(sizeof(CHeliHealthDataNode) == 0x118);
#pragma pack(pop)

View File

@ -12,8 +12,8 @@ public:
uint32_t m_ammos[65];
uint32_t m_ammo_quantities[65];
uint32_t m_num_ammos;
uint8_t unk_1680[105];
uint8_t unk_16E9[105];
uint8_t m_item_slot_tint[105];
uint8_t m_item_slot_num_components[105];
char pad_1680[1260];
bool m_infinite_ammos[65];
bool m_ammo_all_infinite;

View File

@ -11,8 +11,8 @@ public:
bool m_flag3; // 0xC2
bool m_flag4; // 0xC3
char m_pad; // 0xC4
uint32_t m_val1; // 0xC8
int16_t m_unk204; // 0xCC
uint32_t m_alpha_type; // 0xC8
int16_t m_custom_fade_duration; // 0xCC
bool m_unk5; // 0xCE
}; // 0x00CC
static_assert(sizeof(CPhysicalGameStateDataNode) == 0xD0);

View File

@ -5,13 +5,13 @@
#pragma pack(push, 8)
struct CPhysicalHealthDataNode : CSyncDataNodeInfrequent
{
bool unk_00C0; //0x00C0
bool m_has_max_health; //0x00C0
bool m_has_max_health_changed; //0x00C1
uint32_t m_max_health; //0x00C4
uint32_t m_current_health; //0x00C8
uint16_t m_weapon_damage_entity; //0x00CC
uint32_t m_weapon_damage_hash; //0x00D0
uint64_t unk_00D8; //0x00D8
uint64_t m_last_damaged_material_id; //0x00D8
};
static_assert(sizeof(CPhysicalHealthDataNode) == 0xE0);
#pragma pack(pop)