From 33830e274e7ea2b4e936f6c3f34a220f1b22aaaa Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Mon, 27 May 2019 15:24:28 +0100 Subject: [PATCH] Added SteamServer.ClearKeys() --- Facepunch.Steamworks/SteamServer.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Facepunch.Steamworks/SteamServer.cs b/Facepunch.Steamworks/SteamServer.cs index afd7422..98fb482 100644 --- a/Facepunch.Steamworks/SteamServer.cs +++ b/Facepunch.Steamworks/SteamServer.cs @@ -365,6 +365,15 @@ public static void SetKey( string Key, string Value ) Internal.SetKeyValue( Key, Value ); } + /// + /// Remove all key values + /// + public static void ClearKeys() + { + KeyValue.Clear(); + Internal.ClearAllKeyValues(); + } + /// /// Start authorizing a ticket. This user isn't authorized yet. Wait for a call to OnAuthChange. ///