1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-09-20 12:36:05 +08:00

Update from SDK 2013

This commit is contained in:
Kenzzer
2025-02-19 18:39:00 -05:00
committed by Nicholas Hastings
parent 6d5c024820
commit 94b660e16e
7474 changed files with 2597282 additions and 1254065 deletions

View File

@ -0,0 +1,23 @@
//========= Copyright Valve Corporation, All rights reserved. ============//
#include "cbase.h"
#if defined( REPLAY_ENABLED )
#include "replay/iserverreplay.h"
#include "replay_gamestats_shared.h"
//----------------------------------------------------------------------------------------
class CServerReplayImp : public IServerReplay
{
public:
virtual void UploadOgsData( KeyValues *pData, bool bIncludeTimeField )
{
GetReplayGameStatsHelper().UploadError( pData, bIncludeTimeField );
}
};
static CServerReplayImp s_ServerReplayImp;
EXPOSE_SINGLE_INTERFACE_GLOBALVAR( CServerReplayImp, IServerReplay, SERVER_REPLAY_INTERFACE_VERSION, s_ServerReplayImp );
#endif // #if defined( REPLAY_ENABLED )