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 /game/client/mumble.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/client/mumble.h')
| -rw-r--r-- | game/client/mumble.h | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/game/client/mumble.h b/game/client/mumble.h new file mode 100644 index 0000000..114353b --- /dev/null +++ b/game/client/mumble.h @@ -0,0 +1,40 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: Contains an interface to enable positional audio support in Mumble +// +// $NoKeywords: $ +// +//===========================================================================// + +#ifndef MUMBLE_H +#define MUMBLE_H + +#ifdef _WIN32 +#pragma once +#endif + +#include "igamesystem.h" +#include "GameEventListener.h" + +class CMumbleSystem : public CBaseGameSystemPerFrame, public CGameEventListener +{ +public: + // Methods of IGameSystem + virtual bool Init(); + virtual void LevelInitPostEntity(); + virtual void LevelShutdownPreEntity(); + virtual void PostRender(); + + // Methods of IGameSystem + virtual void FireGameEvent( IGameEvent *event ); + +private: + char m_szSteamIDCurrentServer[32]; + int m_cubSteamIDCurrentServer; + bool m_bHasSetPlayerUniqueId; + int m_nTeamSetInUniqueId; +}; + +IGameSystem *MumbleSystem(); + +#endif // MUMBLE_H
\ No newline at end of file |