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:

committed by
Nicholas Hastings

parent
6d5c024820
commit
94b660e16e
23
game/server/gamedll_replay.cpp
Normal file
23
game/server/gamedll_replay.cpp
Normal 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 )
|
Reference in New Issue
Block a user