From 499b0d64c50e5a2ddd13d442c7ebf5f4450d21f6 Mon Sep 17 00:00:00 2001 From: Garry Newman Date: Sat, 8 Jul 2017 13:40:01 +0100 Subject: [PATCH] Added Stats.ResetAll --- Facepunch.Steamworks/Client/Stats.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Facepunch.Steamworks/Client/Stats.cs b/Facepunch.Steamworks/Client/Stats.cs index 5b8eac3..ba77319 100644 --- a/Facepunch.Steamworks/Client/Stats.cs +++ b/Facepunch.Steamworks/Client/Stats.cs @@ -103,6 +103,16 @@ namespace Facepunch.Steamworks return Set( name, val, store ); } + /// + /// Practically wipes the slate clean for this user. If includeAchievements is true, will wipe + /// any achievements too. + /// + /// + public bool ResetAll( bool includeAchievements ) + { + return client.native.userstats.ResetAllStats( includeAchievements ); + } + public void Dispose() { client = null;