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

46 lines
1.2 KiB
C++

//========= Copyright Valve Corporation, All rights reserved. ============//
//
//=======================================================================================//
#ifndef RECORDINGSESSIONBLOCKMANAGER_H
#define RECORDINGSESSIONBLOCKMANAGER_H
#ifdef _WIN32
#pragma once
#endif
//----------------------------------------------------------------------------------------
#include "baserecordingsessionblockmanager.h"
//----------------------------------------------------------------------------------------
class CClientRecordingSessionBlockManager : public CBaseRecordingSessionBlockManager
{
typedef CBaseRecordingSessionBlockManager BaseClass;
public:
CClientRecordingSessionBlockManager( IReplayContext *pContext );
//
// CGenericPersistentManager
//
virtual CBaseRecordingSessionBlock *Create();
private:
//
// CGenericPersistentManager
//
virtual IReplayContext *GetReplayContext() const;
//
// CBaseThinker
//
virtual float GetNextThinkTime() const;
virtual void Think();
virtual bool ShouldLoadBlocks() const { return false; }
};
//----------------------------------------------------------------------------------------
#endif // RECORDINGSESSIONBLOCKMANAGER_H