mirror of
https://github.com/YimMenu/RDR-Classes.git
synced 2024-12-22 22:47:31 +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 ---------
22 lines
776 B
C++
22 lines
776 B
C++
#pragma once
|
|
#include "netGameEvent.hpp"
|
|
#include "script/scriptId.hpp"
|
|
#include "rage/atPlayerBits.hpp"
|
|
|
|
#pragma pack(push, 8)
|
|
class CScriptedGameEvent : public rage::netGameEvent
|
|
{
|
|
public:
|
|
CGameScriptId m_ScriptId; // 0x38
|
|
int m_DataSize; // 0x60
|
|
bool m_Unk; // 0x64 (netComponent && *(netComponent + 0x16C) == 32)
|
|
bool m_ScriptIdOverridden; // 0x65
|
|
bool m_HasScriptMetadataIdx; // 0x66
|
|
std::uint64_t m_Data[54]; // 0x68
|
|
rage::atPlayerBits m_ReceiverBits; // 0x218
|
|
int m_ScriptMetadataIndex; // 0x21C
|
|
int m_ScriptHash; // 0x220
|
|
int16_t m_Status; // 0x224
|
|
};
|
|
#pragma pack(pop)
|
|
static_assert(sizeof(CScriptedGameEvent) == 0x228); |