source-engine/replay/sv_recordingsessionblockmanager.cpp

36 lines
1.1 KiB
C++
Raw Permalink Normal View History

2020-04-22 16:56:21 +00:00
//========= 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" );
}
//----------------------------------------------------------------------------------------