Added Stats.ResetAll

This commit is contained in:
Garry Newman 2017-07-08 13:40:01 +01:00
parent 598f44e9f8
commit 499b0d64c5

View File

@ -103,6 +103,16 @@ namespace Facepunch.Steamworks
return Set( name, val, store ); return Set( name, val, store );
} }
/// <summary>
/// Practically wipes the slate clean for this user. If includeAchievements is true, will wipe
/// any achievements too.
/// </summary>
/// <returns></returns>
public bool ResetAll( bool includeAchievements )
{
return client.native.userstats.ResetAllStats( includeAchievements );
}
public void Dispose() public void Dispose()
{ {
client = null; client = null;