mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2025-01-04 00:23:27 +08:00
79b0389bcf
* update * align?
22 lines
405 B
C++
22 lines
405 B
C++
#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
|
|
{
|
|
public:
|
|
bool m_has_position;
|
|
char pad_0001[15];
|
|
float m_position[4];
|
|
uint32_t m_num_gadgets;
|
|
char pad_0002[12];
|
|
CGadgetData m_gadgets[2];
|
|
};
|
|
static_assert(sizeof(CVehicleGadgetNodeData) == 0x220); |