aboutsummaryrefslogtreecommitdiff
path: root/sp/src/game/server/gamedll_replay.cpp
blob: e9ccde1d7d92d75c74f8cf327f2431cde4ce0f70 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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 )