source-engine-2018-hl2_src/replay/cl_recordingsessionblockmanager.h

46 lines
1.2 KiB
C
Raw Permalink Normal View History

2020-04-23 00:56:21 +08:00
//========= 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