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.

38 lines
974 B

  1. //===== Copyright c 1996-2009, Valve Corporation, All rights reserved. ======//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //===========================================================================//
  7. #ifndef IMATCHVOICE_H
  8. #define IMATCHVOICE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. abstract_class IMatchVoice
  13. {
  14. public:
  15. // Whether remote player talking can be visualized / audible
  16. virtual bool CanPlaybackTalker( XUID xuidTalker ) = 0;
  17. // Whether we are explicitly muting a remote player
  18. virtual bool IsTalkerMuted( XUID xuidTalker ) = 0;
  19. // Whether we are muting any player on the player's machine
  20. virtual bool IsMachineMuted( XUID xuidPlayer ) = 0;
  21. // Whether voice recording mode is currently active
  22. virtual bool IsVoiceRecording() = 0;
  23. // Enable or disable voice recording
  24. virtual void SetVoiceRecording( bool bRecordingEnabled ) = 0;
  25. // Enable or disable voice mute for a given talker
  26. virtual void MuteTalker( XUID xuidTalker, bool bMute ) = 0;
  27. };
  28. #endif