From 131544e53855de8686f6228cd7f58d3171a9af39 Mon Sep 17 00:00:00 2001
From: Forever Gone <78507032+Faint0002@users.noreply.github.com>
Date: Mon, 12 Jun 2023 10:32:03 -0400
Subject: [PATCH] Added atRTTI to CEventNetwork (#1399)
---
src/gta/net_game_event.hpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/gta/net_game_event.hpp b/src/gta/net_game_event.hpp
index e96342c7..d13aed0f 100644
--- a/src/gta/net_game_event.hpp
+++ b/src/gta/net_game_event.hpp
@@ -1,6 +1,7 @@
#pragma once
#include "fwddec.hpp"
#include "pointers.hpp"
+#include
#include
@@ -539,7 +540,7 @@ namespace rage
class CEventNetwork
{
public:
- virtual ~CEventNetwork() = default;//0x0000 (0)
+ DEFINE_RAGE_RTTI(rage::CEventNetwork);
virtual void unk_0008() = 0; //0x0008 (1)
virtual void unk_0010() = 0; //0x0010 (2)
virtual eEventNetworkType get_type() = 0; //0x0018 (3)