From 27b8e66d2fc45456663abe8e61916a68db43c6d6 Mon Sep 17 00:00:00 2001 From: h0mev Date: Thu, 18 Jul 2024 22:20:42 +0800 Subject: [PATCH] Fix crash when g_RehldsData->SetPaused() be called --- reapi/include/cssdk/engine/rehlds_interfaces.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/reapi/include/cssdk/engine/rehlds_interfaces.h b/reapi/include/cssdk/engine/rehlds_interfaces.h index 8431d1c..5797617 100644 --- a/reapi/include/cssdk/engine/rehlds_interfaces.h +++ b/reapi/include/cssdk/engine/rehlds_interfaces.h @@ -129,6 +129,13 @@ public: virtual void SetName(const char* name) = 0; virtual class ISteamGameServer *GetSteamGameServer() = 0; virtual struct netadr_s *GetNetFrom() = 0; + virtual double GetOldTime() = 0; + virtual void SetNetFrom(struct netadr_s *from) = 0; + virtual void SetWorldmapCrc(uint32 crcValue) = 0; + virtual void SetDecalNameNum(int num) = 0; + + virtual bool IsActive() = 0; + virtual void SetActive(bool state) = 0; virtual bool IsPaused() = 0; virtual void SetPaused(bool state) = 0;