Temp-Classes/datanodes/CPhysicalAttachDataNode.hpp
Reece Watson 634ccb0237 feat(DataNodes): Add multiple data nodes and sync classes. (#14)
* feat(DataNodes): Add multiple data nodes and sync classes.

* fix(CPlayerAppearanceDataNode): Update class to 1.61.
2022-08-06 16:29:59 +02:00

38 lines
1.1 KiB
C++

#pragma once
#include <cstdint>
#pragma pack(push,2)
class CPhysicalAttachDataNode
{
public:
char pad_0000[192]; //0x0000
bool m_attached; //0x00C0
bool unk_00C1; //0x00C1
uint16_t m_attached_to; //0x00C2
char pad_00C4[12]; //0x00C4
float m_offset_x; //0x00D0
float m_offset_y; //0x00D4
float m_offset_z; //0x00D8
char pad_00DC[4]; //0x00DC
float m_orientation_x; //0x00E0
float m_orientation_y; //0x00E4
float m_orientation_z; //0x00E8
float m_orientation_w; //0x00EC
float m_parent_offset_x; //0x00F0
float m_parent_offset_y; //0x00F4
float m_parent_offset_z; //0x00F8
char pad_00FC[4]; //0x00FC
uint16_t m_other_attach_bone; //0x0100
uint16_t m_attach_bone; //0x0102
uint32_t m_attach_flags; //0x0104
bool m_allow_initial_separation; //0x0108
char pad_00109[3]; //0x0109
float unk_010C; //0x010C
float unk_0110; //0x0110
bool unk_0114; //0x0114
bool unk_0115; //0x0115
bool m_is_cargo_vehicle; //0x0116
}; //Size: 0x0118
static_assert(sizeof(CPhysicalAttachDataNode) == 0x118);
#pragma pack(pop)