1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-23 01:59:43 +08:00

Partial revert.

WE WENT TOO FAR
This commit is contained in:
Nick Hastings 2018-07-06 20:53:03 -04:00
parent 19c6fe10f4
commit 6f67535513
2 changed files with 2 additions and 0 deletions

View File

@ -56,6 +56,7 @@ public:
virtual void Shutdown(const char *reason) = 0;
virtual void ProcessPlayback( void ) = 0;
virtual bool ProcessStream( void ) = 0;
virtual void ProcessPacket( struct netpacket_s* packet, bool bHasHeader ) = 0;
virtual bool SendNetMsg(INetMessage &msg, bool bForceReliable = false, bool bVoice = false ) = 0;

View File

@ -66,6 +66,7 @@ public:
virtual bool IsValidPacket( int flow, int frame_number ) const = 0; // true if packet was not lost/dropped/chocked/flushed
virtual float GetPacketTime( int flow, int frame_number ) const = 0; // time when packet was send
virtual int GetPacketBytes( int flow, int frame_number, int group ) const = 0; // group size of this packet
virtual bool GetStreamProgress( int flow, int *received, int *total ) const = 0; // TCP progress if transmitting
virtual float GetTimeSinceLastReceived( void ) const = 0; // get time since last recieved packet in seconds
virtual float GetCommandInterpolationAmount( int flow, int frame_number ) const = 0;
virtual void GetPacketResponseLatency( int flow, int frame_number, int *pnLatencyMsecs, int *pnChoke ) const = 0;