diff --git a/Facepunch.Steamworks/Server/Stats.cs b/Facepunch.Steamworks/Server/Stats.cs index 2238205..e30a22d 100644 --- a/Facepunch.Steamworks/Server/Stats.cs +++ b/Facepunch.Steamworks/Server/Stats.cs @@ -112,8 +112,18 @@ public float GetFloat( ulong steamid, string name, float defaultValue = 0 ) return data; } + /// + /// Unlocks the specified achievement for the specified user. Must have called Refresh on a steamid first. + /// Remember to use Commit after use. + /// + public bool SetAchievement( ulong steamid, string name ) + { + return server.native.gameServerStats.SetUserAchievement( steamid, name ); + } + /// /// Resets the unlock status of an achievement for the specified user. Must have called Refresh on a steamid first. + /// Remember to use Commit after use. /// public bool ClearAchievement( ulong steamid, string name ) {