diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /public/ihltvdirector.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'public/ihltvdirector.h')
| -rw-r--r-- | public/ihltvdirector.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/public/ihltvdirector.h b/public/ihltvdirector.h new file mode 100644 index 0000000..870511f --- /dev/null +++ b/public/ihltvdirector.h @@ -0,0 +1,37 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//=============================================================================// + +#ifndef IHLTVDIRECTOR_H +#define IHLTVDIRECTOR_H +#ifdef _WIN32 +#pragma once +#endif + +class IHLTVServer; +class KeyValues; +class Vector; + +#define INTERFACEVERSION_HLTVDIRECTOR "HLTVDirector001" + +class IHLTVDirector +{ +public: + virtual ~IHLTVDirector() {} + + virtual bool IsActive( void ) = 0; // true if director is active + + virtual void SetHLTVServer( IHLTVServer *hltv ) = 0; // give the director the engine HLTV interface + virtual IHLTVServer* GetHLTVServer( void ) = 0; // get current HLTV server interface + + virtual int GetDirectorTick( void ) = 0; // get current broadcast tick from director + virtual int GetPVSEntity( void ) = 0; // get current view entity (PVS), 0 if coords are used + virtual Vector GetPVSOrigin( void ) = 0; // get current PVS origin + virtual float GetDelay( void ) = 0; // returns current delay in seconds + + virtual const char** GetModEvents() = 0; +}; + +#endif // IHLTVDIRECTOR_H |