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.

39 lines
901 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Contains an interface to enable positional audio support in Mumble
  4. //
  5. // $NoKeywords: $
  6. //
  7. //===========================================================================//
  8. #ifndef MUMBLE_H
  9. #define MUMBLE_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "igamesystem.h"
  14. #include "GameEventListener.h"
  15. class CMumbleSystem : public CBaseGameSystemPerFrame, public CGameEventListener
  16. {
  17. public:
  18. // Methods of IGameSystem
  19. virtual bool Init();
  20. virtual void LevelInitPostEntity();
  21. virtual void LevelShutdownPreEntity();
  22. virtual void PostRender();
  23. // Methods of IGameSystem
  24. virtual void FireGameEvent( IGameEvent *event );
  25. private:
  26. char m_szSteamIDCurrentServer[32];
  27. int m_cubSteamIDCurrentServer;
  28. bool m_bHasSetPlayerUniqueId;
  29. int m_nTeamSetInUniqueId;
  30. };
  31. IGameSystem *MumbleSystem();
  32. #endif // MUMBLE_H