RDR-Classes/network/sync/vehicle/CVehicleGadgetData.hpp

22 lines
405 B
C++
Raw Normal View History

2024-06-13 17:03:39 -04:00
#pragma once
#include <cstdint>
class CGadgetData
{
public:
uint32_t m_type;
uint8_t m_data[0xF3];
};
static_assert(sizeof(CGadgetData) == 0xF8);
class alignas(16) CVehicleGadgetNodeData
2024-06-13 17:03:39 -04:00
{
public:
bool m_has_position;
char pad_0001[15];
float m_position[4];
uint32_t m_num_gadgets;
char pad_0002[12];
2024-06-13 17:03:39 -04:00
CGadgetData m_gadgets[2];
};
static_assert(sizeof(CVehicleGadgetNodeData) == 0x220);