Team Fortress 2 Source Code as on 22/4/2020
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.

36 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. //=======================================================================================//
  4. #ifndef SV_RECORDINGSESSIONBLOCKMANAGER_H
  5. #define SV_RECORDINGSESSIONBLOCKMANAGER_H
  6. #ifdef _WIN32
  7. #pragma once
  8. #endif
  9. //----------------------------------------------------------------------------------------
  10. #include "baserecordingsessionblockmanager.h"
  11. //----------------------------------------------------------------------------------------
  12. //
  13. // Maintains a persistent list of session blocks in a keyvalues file
  14. //
  15. class CServerRecordingSessionBlockManager : public CBaseRecordingSessionBlockManager
  16. {
  17. typedef CBaseRecordingSessionBlockManager BaseClass;
  18. public:
  19. CServerRecordingSessionBlockManager( IReplayContext *pContext );
  20. virtual CBaseRecordingSessionBlock *Create();
  21. virtual IReplayContext *GetReplayContext() const;
  22. private:
  23. virtual bool ShouldLoadBlocks() const { return false; }
  24. virtual void PreLoad();
  25. };
  26. //----------------------------------------------------------------------------------------
  27. #endif // SV_RECORDINGSESSIONBLOCKMANAGER_H