GTAV-Classes-private/netsync/nodes/physical/CPhysicalHealthDataNode.hpp

17 lines
520 B
C++
Raw Permalink Normal View History

2024-09-25 08:11:17 -04:00
#pragma once
#include <cstdint>
#include "netsync/CProjectBaseSyncDataNode.hpp"
#pragma pack(push, 8)
struct CPhysicalHealthDataNode : CSyncDataNodeInfrequent
{
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 m_last_damaged_material_id; //0x00D8
};
static_assert(sizeof(CPhysicalHealthDataNode) == 0xE0);
#pragma pack(pop)