Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

37 lines
1.1 KiB

//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#ifndef SV_RECORDINGSESSIONBLOCKMANAGER_H
#define SV_RECORDINGSESSIONBLOCKMANAGER_H
#ifdef _WIN32
#pragma once
#endif
//----------------------------------------------------------------------------------------
#include "baserecordingsessionblockmanager.h"
//----------------------------------------------------------------------------------------
//
// Maintains a persistent list of session blocks in a keyvalues file
//
class CServerRecordingSessionBlockManager : public CBaseRecordingSessionBlockManager
{
typedef CBaseRecordingSessionBlockManager BaseClass;
public:
CServerRecordingSessionBlockManager( IReplayContext *pContext );
virtual CBaseRecordingSessionBlock *Create();
virtual IReplayContext *GetReplayContext() const;
private:
virtual bool ShouldLoadBlocks() const { return false; }
virtual void PreLoad();
};
//----------------------------------------------------------------------------------------
#endif // SV_RECORDINGSESSIONBLOCKMANAGER_H