source-engine-2018-hl2_src/replay/cl_recordingsessionblockmanager.cpp
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

41 lines
1.2 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#include "cl_recordingsessionblockmanager.h"
#include "cl_recordingsessionblock.h"
#include "cl_recordingsession.h"
#include "cl_replaycontext.h"
// memdbgon must be the last include file in a .cpp file!!!
#include "tier0/memdbgon.h"
//----------------------------------------------------------------------------------------
CClientRecordingSessionBlockManager::CClientRecordingSessionBlockManager( IReplayContext *pContext )
: CBaseRecordingSessionBlockManager( pContext )
{
}
CBaseRecordingSessionBlock *CClientRecordingSessionBlockManager::Create()
{
return new CClientRecordingSessionBlock( m_pContext );
}
IReplayContext *CClientRecordingSessionBlockManager::GetReplayContext() const
{
return g_pClientReplayContextInternal;
}
float CClientRecordingSessionBlockManager::GetNextThinkTime() const
{
return g_pEngine->GetHostTime() + 0.5f;
}
void CClientRecordingSessionBlockManager::Think()
{
BaseClass::Think();
}
//----------------------------------------------------------------------------------------