From 01e2e6c24a3a89e8c0487821b2c5462eed94b6c0 Mon Sep 17 00:00:00 2001 From: Andreas Stange Date: Thu, 15 Feb 2024 21:59:56 +0100 Subject: [PATCH] added SteamFriends.SetInGameVoiceSpeaking --- Facepunch.Steamworks/SteamFriends.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Facepunch.Steamworks/SteamFriends.cs b/Facepunch.Steamworks/SteamFriends.cs index 6b8f86bb..0d3b625f 100644 --- a/Facepunch.Steamworks/SteamFriends.cs +++ b/Facepunch.Steamworks/SteamFriends.cs @@ -376,6 +376,15 @@ public static bool ListenForFriendsMessages } } + /// + /// Let Steam know that the user is currently using voice chat in game. + /// This will suppress the microphone for all voice communication in the Steam UI. + /// + public static void SetInGameVoiceSpeaking(SteamId steamID, bool speaking) + { + Internal.SetInGameVoiceSpeaking( steamID, speaking ); + } + /// /// Gets whether or not the current user is following the user with the given . ///