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.
35 lines
1.1 KiB
35 lines
1.1 KiB
//========= Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
//=======================================================================================//
|
|
|
|
#include "sv_recordingsessionblockmanager.h"
|
|
#include "sv_recordingsessionblock.h"
|
|
#include "sv_replaycontext.h"
|
|
|
|
// memdbgon must be the last include file in a .cpp file!!!
|
|
#include "tier0/memdbgon.h"
|
|
|
|
//----------------------------------------------------------------------------------------
|
|
|
|
CServerRecordingSessionBlockManager::CServerRecordingSessionBlockManager( IReplayContext *pContext )
|
|
: CBaseRecordingSessionBlockManager( pContext )
|
|
{
|
|
}
|
|
|
|
CBaseRecordingSessionBlock *CServerRecordingSessionBlockManager::Create()
|
|
{
|
|
return new CServerRecordingSessionBlock( m_pContext );
|
|
}
|
|
|
|
IReplayContext *CServerRecordingSessionBlockManager::GetReplayContext() const
|
|
{
|
|
extern CServerReplayContext *g_pServerReplayContext;
|
|
return g_pServerReplayContext;
|
|
}
|
|
|
|
void CServerRecordingSessionBlockManager::PreLoad()
|
|
{
|
|
ConMsg( "Loading recording session blocks - this may take a minute...\n" );
|
|
}
|
|
|
|
//----------------------------------------------------------------------------------------
|