1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-19 20:16:10 +08:00

Updated INetChannel iface (bug 5058, r=DS).

This commit is contained in:
Nicholas Hastings
2011-08-21 13:42:41 -04:00
parent 7b620971fe
commit f7df65a747

View File

@ -71,7 +71,6 @@ public:
virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0; virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0;
virtual void SetCompressionMode( bool bUseCompression ) = 0; virtual void SetCompressionMode( bool bUseCompression ) = 0;
virtual unsigned int RequestFile(const char *filename) = 0; virtual unsigned int RequestFile(const char *filename) = 0;
virtual float GetTimeSinceLastReceived( void ) const = 0; // get time since last received packet in seconds
virtual void SetMaxBufferSize(bool bReliable, int nBytes, bool bVoice = false ) = 0; virtual void SetMaxBufferSize(bool bReliable, int nBytes, bool bVoice = false ) = 0;
@ -83,6 +82,8 @@ public:
// Max # of payload bytes before we must split/fragment the packet // Max # of payload bytes before we must split/fragment the packet
virtual void SetMaxRoutablePayloadSize( int nSplitSize ) = 0; virtual void SetMaxRoutablePayloadSize( int nSplitSize ) = 0;
virtual int GetMaxRoutablePayloadSize() = 0; virtual int GetMaxRoutablePayloadSize() = 0;
virtual int GetProtocolVersion() = 0;
}; };