Add CVehicleProximityMigrationDataNode (#109)
This commit is contained in:
parent
f71748dd1d
commit
56aeddea31
@ -84,6 +84,7 @@
|
||||
#include "netsync/nodes/train/CTrainGameStateDataNode.hpp"
|
||||
#include "netsync/nodes/vehicle/CVehicleCreationDataNode.hpp"
|
||||
#include "netsync/nodes/vehicle/CVehicleGadgetDataNode.hpp"
|
||||
#include "netsync/nodes/vehicle/CVehicleProximityMigrationDataNode.hpp"
|
||||
#include "netsync/trees/CDynamicEntitySyncTreeBase.hpp"
|
||||
#include "netsync/trees/CEntitySyncTreeBase.hpp"
|
||||
#include "netsync/trees/CPhysicalSyncTreeBase.hpp"
|
||||
|
20
netsync/nodes/vehicle/CVehicleProximityMigrationDataNode.hpp
Normal file
20
netsync/nodes/vehicle/CVehicleProximityMigrationDataNode.hpp
Normal file
@ -0,0 +1,20 @@
|
||||
#pragma once
|
||||
#include <cstdint>
|
||||
#include "netsync/CProjectBaseSyncDataNode.hpp"
|
||||
|
||||
#pragma pack(push,4)
|
||||
class CVehicleProximityMigrationDataNode : CProjectBaseSyncDataNode
|
||||
{
|
||||
public:
|
||||
uint32_t m_max_occupants;
|
||||
bool m_has_occupants[16];
|
||||
int16_t m_occupants[16];
|
||||
char pad[16];
|
||||
bool m_override_position;
|
||||
char pad2[8];
|
||||
rage::fvector3 m_position;
|
||||
rage::vector3<int32_t> m_velocity;
|
||||
char pad3[352];
|
||||
}; //Size: 0x0180
|
||||
static_assert(sizeof(CVehicleProximityMigrationDataNode) == 0x288);
|
||||
#pragma pack(pop)
|
@ -6,8 +6,8 @@
|
||||
class CVoiceConnection
|
||||
{
|
||||
public:
|
||||
class rage::rlGamerInfo m_gamer_info; //0x0000
|
||||
char pad_0098[40]; //0x0098
|
||||
class rage::rlGamerInfo m_gamer_info; //0x0000
|
||||
char pad_0098[40]; //0x00F8
|
||||
}; //Size: 0x00C0
|
||||
static_assert(sizeof(CVoiceConnection) == 0x120);
|
||||
|
||||
@ -16,7 +16,7 @@ class CVoice
|
||||
public:
|
||||
class CVoiceConnection m_connection_storage[32]; //0x0000
|
||||
char pad_1800[8]; //0x1800
|
||||
class CVoiceConnection *m_connections[32]; //0x1808
|
||||
class CVoiceConnection* m_connections[32]; //0x1808
|
||||
uint32_t m_connection_count; //0x1908
|
||||
char pad_190C[3508]; //0x190C
|
||||
}; //Size: 0x1978
|
||||
|
Loading…
Reference in New Issue
Block a user