From 9ac0a7cb8b6eb84413f3bd700645014ba01613be Mon Sep 17 00:00:00 2001 From: Dan199624 <69252375+Dan199624@users.noreply.github.com> Date: Mon, 9 Jan 2023 18:34:25 +0200 Subject: [PATCH] feat(DataNodes): added CPedOrientationDataNode (#95) --- datanodes/ped/CPedOrientationDataNode.hpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 datanodes/ped/CPedOrientationDataNode.hpp diff --git a/datanodes/ped/CPedOrientationDataNode.hpp b/datanodes/ped/CPedOrientationDataNode.hpp new file mode 100644 index 0000000..e8c521e --- /dev/null +++ b/datanodes/ped/CPedOrientationDataNode.hpp @@ -0,0 +1,14 @@ +#pragma once + +#pragma pack(push, 4) +class CPedOrientationDataNode +{ +public: + char gap0[192];//0x0000 + bool m_has_desired_heading_x;//0x00C1 + bool m_has_desired_heading_y;//0x00C2 + float m_desired_heading_x;//0x000C4 + float m_desired_heading_y;//0x000C8 +}; +static_assert(sizeof(CPedOrientationDataNode) == 0xCC); +#pragma pack(pop)