From 03f1b9938c4f2eeaca213f0d82f442935739a009 Mon Sep 17 00:00:00 2001 From: INeedBots Date: Sat, 14 Nov 2020 00:54:29 -0600 Subject: [PATCH] [Functions] Added NET_DeferPacketToClient --- src/Game/Functions.cpp | 1 + src/Game/Functions.hpp | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/Game/Functions.cpp b/src/Game/Functions.cpp index b051167f..02b5f1a3 100644 --- a/src/Game/Functions.cpp +++ b/src/Game/Functions.cpp @@ -194,6 +194,7 @@ namespace Game NET_AdrToString_t NET_AdrToString = NET_AdrToString_t(0x469880); NET_CompareAdr_t NET_CompareAdr = NET_CompareAdr_t(0x4D0AA0); + NET_DeferPacketToClient_t NET_DeferPacketToClient = NET_DeferPacketToClient_t(0x4C8AA0); NET_ErrorString_t NET_ErrorString = NET_ErrorString_t(0x4E7720); NET_Init_t NET_Init = NET_Init_t(0x491860); NET_IsLocalAddress_t NET_IsLocalAddress = NET_IsLocalAddress_t(0x402BD0); diff --git a/src/Game/Functions.hpp b/src/Game/Functions.hpp index 72a264c0..40024401 100644 --- a/src/Game/Functions.hpp +++ b/src/Game/Functions.hpp @@ -462,6 +462,9 @@ namespace Game typedef bool(__cdecl * NET_CompareAdr_t)(netadr_t a, netadr_t b); extern NET_CompareAdr_t NET_CompareAdr; + typedef void(__cdecl * NET_DeferPacketToClient_t)(netadr_t *, msg_t *); + extern NET_DeferPacketToClient_t NET_DeferPacketToClient; + typedef const char* (__cdecl * NET_ErrorString_t)(); extern NET_ErrorString_t NET_ErrorString;