blob: 6397a552bf6ef97b50d72926e7d2dd02c2abe524 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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();
}
//----------------------------------------------------------------------------------------
|