mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-05 17:13:36 +08:00
More changes for 2015-12-08 game update.
This commit is contained in:
parent
8537033af7
commit
12875a2b4b
@ -63,6 +63,7 @@ class ISPSharedMemory;
|
|||||||
class CGamestatsData;
|
class CGamestatsData;
|
||||||
class CEngineHltvInfo_t;
|
class CEngineHltvInfo_t;
|
||||||
class INetMessage;
|
class INetMessage;
|
||||||
|
class HltvReplayParams_t;
|
||||||
|
|
||||||
namespace google
|
namespace google
|
||||||
{
|
{
|
||||||
@ -487,6 +488,15 @@ public:
|
|||||||
|
|
||||||
// Update counts of external viewers (Twitch.tv)
|
// Update counts of external viewers (Twitch.tv)
|
||||||
virtual void UpdateHltvExternalViewers( uint32 totalSpectators, uint32 spectatorsLinkedToSteam) = 0;
|
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"
|
#define INTERFACEVERSION_SERVERGAMEDLL "ServerGameDLL005"
|
||||||
@ -625,7 +635,10 @@ public:
|
|||||||
virtual bool OnPureServerFileValidationFailure( edict_t *pPlayer, const char *pszPathID, const char *pszFileName,
|
virtual bool OnPureServerFileValidationFailure( edict_t *pPlayer, const char *pszPathID, const char *pszFileName,
|
||||||
CRC32_t crcIOSequence, int eFileHashType, int cbFileLen, int nPackFileNumber, int nPackFileID ) = 0;
|
CRC32_t crcIOSequence, int eFileHashType, int cbFileLen, int nPackFileNumber, int nPackFileID ) = 0;
|
||||||
virtual void PrecacheParticleSystemFile( const char *pszFilename ) = 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 void GetNewestSubscribedFiles() = 0;
|
||||||
|
virtual bool ValidateAndAddActiveCaster( const CSteamID & ) = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@ -19,6 +19,7 @@ class INetMessage;
|
|||||||
struct NetMessageCvar_t;
|
struct NetMessageCvar_t;
|
||||||
struct USERID_t;
|
struct USERID_t;
|
||||||
class CMsg_CVars;
|
class CMsg_CVars;
|
||||||
|
class HltvReplayParams_t;
|
||||||
|
|
||||||
enum CrossPlayPlatform_t
|
enum CrossPlayPlatform_t
|
||||||
{
|
{
|
||||||
@ -108,6 +109,13 @@ public:
|
|||||||
virtual bool IsHumanPlayer() const = 0;
|
virtual bool IsHumanPlayer() const = 0;
|
||||||
|
|
||||||
virtual CrossPlayPlatform_t GetClientPlatform() 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
|
#endif // ICLIENT_H
|
||||||
|
@ -26,6 +26,8 @@ public:
|
|||||||
|
|
||||||
virtual void ConnectionStart(INetChannel *chan) = 0; // called first time network channel is established
|
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
|
virtual void ConnectionClosing(const char *reason) = 0; // network channel is being closed by remote site
|
||||||
|
|
||||||
virtual void ConnectionCrashed(const char *reason) = 0; // network error occured
|
virtual void ConnectionCrashed(const char *reason) = 0; // network error occured
|
||||||
|
Loading…
x
Reference in New Issue
Block a user