mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2024-12-22 14:37:30 +08:00
CVehicleGadgetNodeData (#12)
This commit is contained in:
parent
1d566f2332
commit
c6c93b1286
@ -13,6 +13,7 @@
|
|||||||
#include "network/sync/player/CPlayerHealthData.hpp"
|
#include "network/sync/player/CPlayerHealthData.hpp"
|
||||||
#include "network/sync/vehicle/CVehicleCreationData.hpp"
|
#include "network/sync/vehicle/CVehicleCreationData.hpp"
|
||||||
#include "network/sync/vehicle/CVehicleProximityMigrationData.hpp"
|
#include "network/sync/vehicle/CVehicleProximityMigrationData.hpp"
|
||||||
|
#include "network/sync/vehicle/CVehicleGadgetData.hpp"
|
||||||
#include "network/sync/CProjectBaseSyncDataNode.hpp"
|
#include "network/sync/CProjectBaseSyncDataNode.hpp"
|
||||||
#include "network/sync/netSyncDataNode.hpp"
|
#include "network/sync/netSyncDataNode.hpp"
|
||||||
#include "network/sync/netSyncNodeBase.hpp"
|
#include "network/sync/netSyncNodeBase.hpp"
|
||||||
|
21
network/sync/vehicle/CVehicleGadgetData.hpp
Normal file
21
network/sync/vehicle/CVehicleGadgetData.hpp
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
#pragma once
|
||||||
|
#include <cstdint>
|
||||||
|
|
||||||
|
class CGadgetData
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
uint32_t m_type;
|
||||||
|
uint8_t m_data[0xF3];
|
||||||
|
};
|
||||||
|
static_assert(sizeof(CGadgetData) == 0xF8);
|
||||||
|
|
||||||
|
class CVehicleGadgetNodeData
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
bool m_has_position;
|
||||||
|
char pad_0001[15];
|
||||||
|
float m_position[4];
|
||||||
|
uint32_t m_num_gadgets;
|
||||||
|
CGadgetData m_gadgets[2];
|
||||||
|
};
|
||||||
|
static_assert(sizeof(CVehicleGadgetNodeData) == 0x214); // Needs to be 0x220, prob from packing at 16.
|
Loading…
Reference in New Issue
Block a user