RDR-Classes/network/netGameEvent.hpp
maybegreat48 0132075d1c
Netsync stuff (#5)
* 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

---------
2023-10-09 15:01:36 +02:00

19 lines
429 B
C++

#pragma once
#include <cstdint>
class CNetGamePlayer;
namespace rage
{
class netGameEvent
{
public:
virtual ~netGameEvent() = 0; // 0x00
std::int16_t m_EventType; // 0x08
bool m_RequiresReply; // 0x0A
char m_Pad1[0xD]; // 0x0B
class CNetGamePlayer* m_Sender; // 0x18
char m_Pad2[0x18]; // 0x20
};
static_assert(sizeof(rage::netGameEvent) == 0x38);
}