RDR-Classes/network/sync/physical/CPhysicalAttachData.hpp
maybegreat48 0132075d1c
Netsync stuff (#5)
* feat(metric): add rlMetric

* fix(metric): serializer fix

* feat(tls): add tlsContext

* feat(fwEntity): add entity classes

* fix: add import

* fix(vector): constexpr ctors

* feat(ped): add CPed

* feat(sync): add sync nodes

* feat(netsync): add netSyncDataNode::IsActive

* feat(netsync): first node

* fix: make GetData accessible

* fix: make netSyncDataNode an abstract class

* fix(netsync): the compiler is too smart for its own good

* feat(netsync): add CObjectCreationData

* feat(netsync): add CPlayerAppearanceData

* feat(netsync): CVehicleCreationData

* feat(netsync): add CPickupCreationData

* feat(netsync): add CPhysicalAttachData

* feat(netsync): add CVehicleProximityMigrationData

* feat(netsync): add CPedTaskTreeData

* feat(network): add CScriptedGameEvent

---------
2023-10-09 15:01:36 +02:00

21 lines
667 B
C++

#pragma once
#include <cstdint>
#include "rage/vector.hpp"
#include <cstddef>
#pragma pack(push, 8)
class CPhysicalAttachData
{
public:
bool m_IsAttached; //0x0000
uint16_t m_AttachObjectId; //0x0002
alignas(16) rage::fvector3 m_Offset; //0x0010
rage::fvector4 m_Orientation; //0x0020
rage::fvector3 m_ParentOffset; //0x0030
uint16_t m_OtherAttachBone; //0x0040
uint16_t m_AttachBone; //0x0042
uint32_t m_AttachFlags; //0x0044
char pad_0048[24]; //0x0048
}; //Size: 0x0060
#pragma pack(pop)
static_assert(sizeof(CPhysicalAttachData) == 0x60);