Added missing Stats.StoreStats() API-method that one needs to call to make Steam Achievements show in Steam while the game is still running.

This commit is contained in:
Christoffer Anselm 2017-06-08 01:14:19 +02:00
parent 7e3527799a
commit 3ffe684726

View File

@ -14,6 +14,11 @@ namespace Facepunch.Steamworks
client = c; client = c;
} }
public bool StoreStats()
{
return client.native.userstats.StoreStats();
}
public void UpdateStats() public void UpdateStats()
{ {
client.native.userstats.RequestCurrentStats(); client.native.userstats.RequestCurrentStats();