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:
@ -71,7 +71,6 @@ public:
|
||||
virtual void SetFileTransmissionMode(bool bBackgroundMode) = 0;
|
||||
virtual void SetCompressionMode( bool bUseCompression ) = 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;
|
||||
|
||||
@ -83,6 +82,8 @@ public:
|
||||
// Max # of payload bytes before we must split/fragment the packet
|
||||
virtual void SetMaxRoutablePayloadSize( int nSplitSize ) = 0;
|
||||
virtual int GetMaxRoutablePayloadSize() = 0;
|
||||
|
||||
virtual int GetProtocolVersion() = 0;
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user