mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-09 18:29:35 +00:00
1
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
//========= 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();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user