mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2024-12-22 14:37:30 +08:00
0132075d1c
* feat(metric): add rlMetric * fix(metric): serializer fix * feat(tls): add tlsContext * feat(fwEntity): add entity classes * fix: add import * fix(vector): constexpr ctors * feat(ped): add CPed * feat(sync): add sync nodes * feat(netsync): add netSyncDataNode::IsActive * feat(netsync): first node * fix: make GetData accessible * fix: make netSyncDataNode an abstract class * fix(netsync): the compiler is too smart for its own good * feat(netsync): add CObjectCreationData * feat(netsync): add CPlayerAppearanceData * feat(netsync): CVehicleCreationData * feat(netsync): add CPickupCreationData * feat(netsync): add CPhysicalAttachData * feat(netsync): add CVehicleProximityMigrationData * feat(netsync): add CPedTaskTreeData * feat(network): add CScriptedGameEvent ---------
31 lines
766 B
C++
31 lines
766 B
C++
#pragma once
|
|
#include "scriptIdBase.hpp"
|
|
|
|
#pragma pack(push, 8)
|
|
namespace rage
|
|
{
|
|
class scriptId : public scriptIdBase
|
|
{
|
|
public:
|
|
joaat_t m_ScriptHash; // 0x08
|
|
};
|
|
static_assert(sizeof(scriptId) == 0x10);
|
|
}
|
|
|
|
class CGameScriptId : public rage::scriptId
|
|
{
|
|
public:
|
|
int m_Timestamp; // 0x10 (verify)
|
|
int m_ObjectBrainPositionHash; // 0x14
|
|
union
|
|
{
|
|
int m_PedBrainObjectId; // 0x18
|
|
int m_WorldPointBrainIndex; // 0x18
|
|
int m_FallbackId; // 0x18
|
|
};
|
|
int m_InstanceHash; // 0x1C (derived from brain parameters)
|
|
bool m_IsPedBrainScript; // 0x20
|
|
};
|
|
|
|
static_assert(sizeof(CGameScriptId) == 0x28);
|
|
#pragma pack(pop) |