mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
1
This commit is contained in:
35
replay/sv_recordingsessionblockmanager.cpp
Normal file
35
replay/sv_recordingsessionblockmanager.cpp
Normal file
@@ -0,0 +1,35 @@
|
||||
//========= 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" );
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user