You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
705 B
23 lines
705 B
//========= 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 )
|