Counter Strike : Global Offensive Source Code
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

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. //=============================================================================//
  6. #ifndef IREPLAYDIRECTOR_H
  7. #define IREPLAYDIRECTOR_H
  8. #ifdef _WIN32
  9. #pragma once
  10. #endif
  11. class IReplayServer;
  12. class KeyValues;
  13. class Vector;
  14. #define INTERFACEVERSION_REPLAYDIRECTOR "ReplayDirector001"
  15. class IReplayDirector
  16. {
  17. public:
  18. virtual ~IReplayDirector() {}
  19. virtual bool IsActive( void ) = 0; // true if director is active
  20. virtual void SetReplayServer( IReplayServer *Replay ) = 0; // give the director the engine Replay interface
  21. virtual IReplayServer* GetReplayServer( void ) = 0; // get current Replay server interface
  22. virtual int GetDirectorTick( void ) = 0; // get current broadcast tick from director
  23. virtual int GetPVSEntity( void ) = 0; // get current view entity (PVS), 0 if coords are used
  24. virtual Vector GetPVSOrigin( void ) = 0; // get current PVS origin
  25. virtual float GetDelay( void ) = 0; // returns current delay in seconds
  26. virtual const char** GetModEvents() = 0;
  27. };
  28. #endif // IREPLAYDIRECTOR_H