1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2025-01-07 09:43:40 +08:00
hl2sdk/public/matchmaking/imatchvoice.h
Evgeniy Kazakov 1e7658ae33
Added headers for matchmaking library [L4D2] (#66)
* Added headers for matchmaking library

* Header for L4D differs from L4D2 one, despite both games using same interface name
2020-08-15 17:37:09 +00:00

39 lines
974 B
C++

//===== Copyright c 1996-2009, Valve Corporation, All rights reserved. ======//
//
// Purpose:
//
// $NoKeywords: $
//===========================================================================//
#ifndef IMATCHVOICE_H
#define IMATCHVOICE_H
#ifdef _WIN32
#pragma once
#endif
abstract_class IMatchVoice
{
public:
// Whether remote player talking can be visualized / audible
virtual bool CanPlaybackTalker( XUID xuidTalker ) = 0;
// Whether we are explicitly muting a remote player
virtual bool IsTalkerMuted( XUID xuidTalker ) = 0;
// Whether we are muting any player on the player's machine
virtual bool IsMachineMuted( XUID xuidPlayer ) = 0;
// Whether voice recording mode is currently active
virtual bool IsVoiceRecording() = 0;
// Enable or disable voice recording
virtual void SetVoiceRecording( bool bRecordingEnabled ) = 0;
// Enable or disable voice mute for a given talker
virtual void MuteTalker( XUID xuidTalker, bool bMute ) = 0;
};
#endif