mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-12-06 18:18:23 +00:00
Update INetChannel/INetChannelInfo
This commit is contained in:
parent
4499acb4f5
commit
5f8e10cb7c
@ -86,8 +86,6 @@ public:
|
|||||||
virtual int SendMessages( const char *pDebugName, bf_write *data ) = 0;
|
virtual int SendMessages( const char *pDebugName, bf_write *data ) = 0;
|
||||||
virtual void ClearBitsToSend( void ) = 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 UpdateMessageStats( int msggroup, int bits, bool ) = 0;
|
||||||
|
|
||||||
virtual void unk011() = 0;
|
virtual void unk011() = 0;
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
#define MAX_FLOWS 2 // in & out
|
#define MAX_FLOWS 2 // in & out
|
||||||
|
|
||||||
struct SNetChannelLatencyStats;
|
struct SNetChannelLatencyStats;
|
||||||
|
struct netadr_t;
|
||||||
|
|
||||||
struct NetChanStat_t
|
struct NetChanStat_t
|
||||||
{
|
{
|
||||||
@ -55,6 +56,7 @@ public:
|
|||||||
|
|
||||||
virtual const char *GetName( void ) const = 0; // get channel name
|
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 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 GetTime( void ) const = 0; // current net time
|
||||||
virtual float GetTimeConnected( void ) const = 0; // get connection time in seconds
|
virtual float GetTimeConnected( void ) const = 0; // get connection time in seconds
|
||||||
virtual int GetBufferSize( void ) const = 0; // netchannel packet history size
|
virtual int GetBufferSize( void ) const = 0; // netchannel packet history size
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user