mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2024-12-23 01:59:43 +08:00
Update INetChannel, INetChannelInfo.
This commit is contained in:
parent
00d0a73ad1
commit
19c6fe10f4
@ -47,8 +47,6 @@ public:
|
||||
virtual void SetDataRate(float rate) = 0;
|
||||
virtual bool RegisterMessage(INetMessageBinder *msg) = 0;
|
||||
virtual bool UnregisterMessage(INetMessageBinder *msg) = 0;
|
||||
virtual bool StartStreaming( unsigned int challengeNr ) = 0;
|
||||
virtual void ResetStreaming( void ) = 0;
|
||||
virtual void SetTimeout(float seconds, bool bForceExact = false) = 0;
|
||||
virtual void SetDemoRecorder(IDemoRecorder *recorder) = 0;
|
||||
virtual void SetChallengeNr(unsigned int chnr) = 0;
|
||||
@ -58,7 +56,6 @@ 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;
|
||||
@ -110,7 +107,7 @@ public:
|
||||
virtual bool IsRemoteDisconnected() const = 0;
|
||||
virtual bool WasLastMessageReliable() const = 0;
|
||||
virtual unsigned int GetChannelEncryptionKey( void ) const = 0;
|
||||
virtual bool EnqueueVeryLargeAsyncTransfer(INetMessage &msg) = 0;
|
||||
virtual bool EnqueueVeryLargeAsyncTransfer( INetMessage &msg ) = 0;
|
||||
};
|
||||
|
||||
|
||||
|
@ -66,7 +66,6 @@ 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;
|
||||
|
Loading…
Reference in New Issue
Block a user