1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-04 00:23:25 +08:00

More changes for 2015-12-08 game update.

This commit is contained in:
Nicholas Hastings 2015-12-09 08:29:04 -05:00
parent 8537033af7
commit 12875a2b4b
3 changed files with 23 additions and 0 deletions

View File

@ -63,6 +63,7 @@ class ISPSharedMemory;
class CGamestatsData;
class CEngineHltvInfo_t;
class INetMessage;
class HltvReplayParams_t;
namespace google
{
@ -487,6 +488,15 @@ public:
// Update counts of external viewers (Twitch.tv)
virtual void UpdateHltvExternalViewers( uint32 totalSpectators, uint32 spectatorsLinkedToSteam) = 0;
virtual bool WasShutDownRequested( void ) const = 0;
virtual void *StartClientHltvReplay( int client , const HltvReplayParams_t & ) = 0;
virtual void *StopClientHltvReplay( int client ) = 0;
virtual int GetClientHltvReplayDelay( int client ) = 0;
virtual bool HasHltvReplay( void ) = 0;
virtual bool ClientCanStartHltvReplay( int client ) = 0;
virtual int ClientResetReplayRequestTime( int client ) = 0;
virtual bool AnyClientsInHltvReplayMode( void ) = 0;
};
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL005"
@ -625,7 +635,10 @@ public:
virtual bool OnPureServerFileValidationFailure( edict_t *pPlayer, const char *pszPathID, const char *pszFileName,
CRC32_t crcIOSequence, int eFileHashType, int cbFileLen, int nPackFileNumber, int nPackFileID ) = 0;
virtual void PrecacheParticleSystemFile( const char *pszFilename ) = 0;
virtual void ClientConnectionValidatePreNetChan( bool, const char *, int, unsigned long long ) = 0;
virtual void OnEngineClientNetworkEvent( edict_t *, unsigned long long, int, void * ) = 0;
virtual void GetNewestSubscribedFiles() = 0;
virtual bool ValidateAndAddActiveCaster( const CSteamID & ) = 0;
};
//-----------------------------------------------------------------------------

View File

@ -19,6 +19,7 @@ class INetMessage;
struct NetMessageCvar_t;
struct USERID_t;
class CMsg_CVars;
class HltvReplayParams_t;
enum CrossPlayPlatform_t
{
@ -108,6 +109,13 @@ public:
virtual bool IsHumanPlayer() const = 0;
virtual CrossPlayPlatform_t GetClientPlatform() const = 0;
virtual bool StartHltvReplay( const HltvReplayParams_t & ) = 0;
virtual void StopHltvReplay( void ) = 0;
virtual int GetHltvReplayDelay( void ) = 0;
virtual const char *GetHltvReplayStatus( void ) const = 0;
virtual bool CanStartHltvReplay( void ) = 0;
virtual void ResetReplayRequestTime( void ) = 0;
};
#endif // ICLIENT_H

View File

@ -25,6 +25,8 @@ public:
virtual ~INetChannelHandler( void ) {};
virtual void ConnectionStart(INetChannel *chan) = 0; // called first time network channel is established
virtual void ConnectionStop() = 0;
virtual void ConnectionClosing(const char *reason) = 0; // network channel is being closed by remote site