From 1a21ada9bef33a6dc204eaaa17a2c4061a246bc0 Mon Sep 17 00:00:00 2001 From: "zer0.k" <61156310+zer0k-z@users.noreply.github.com> Date: Sun, 31 Aug 2025 22:46:41 +0200 Subject: [PATCH] Update INetChannel & INetChannelInfo (#333) --- public/inetchannel.h | 2 -- public/inetchannelinfo.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/public/inetchannel.h b/public/inetchannel.h index fa235966..3f345207 100644 --- a/public/inetchannel.h +++ b/public/inetchannel.h @@ -86,8 +86,6 @@ public: virtual int SendMessages( const char *pDebugName, bf_write *data ) = 0; virtual void ClearBitsToSend( void ) = 0; - virtual const netadr_t &GetRemoteAddress( void ) const = 0; - virtual void UpdateMessageStats( int msggroup, int bits, bool ) = 0; virtual void unk011() = 0; diff --git a/public/inetchannelinfo.h b/public/inetchannelinfo.h index e2a65a27..4766005a 100644 --- a/public/inetchannelinfo.h +++ b/public/inetchannelinfo.h @@ -22,6 +22,7 @@ #define MAX_FLOWS 2 // in & out struct SNetChannelLatencyStats; +struct netadr_t; struct NetChanStat_t { @@ -55,6 +56,7 @@ public: virtual const char *GetName( void ) const = 0; // get channel name virtual const char *GetAddress( void ) const = 0; // get channel IP address as string + virtual const netadr_t &GetRemoteAddress( void ) const = 0; virtual float GetTime( void ) const = 0; // current net time virtual float GetTimeConnected( void ) const = 0; // get connection time in seconds virtual int GetBufferSize( void ) const = 0; // netchannel packet history size