mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-24 13:45:37 +03:00
Renamed Achievement.Percentage to GlobalUnlockedPercentage, fixed description
This commit is contained in:
parent
63a12ff7c6
commit
d6b3966c9d
@ -56,7 +56,7 @@ public void GetNames()
|
||||
Console.WriteLine( " - - " + ach.Description );
|
||||
Console.WriteLine( " - - " + ach.State );
|
||||
Console.WriteLine( " - - " + ach.UnlockTime );
|
||||
Console.WriteLine( " - - " + ach.Percentage );
|
||||
Console.WriteLine( " - - " + ach.GlobalUnlockedPercentage );
|
||||
|
||||
if ( ach.Icon != null )
|
||||
{
|
||||
|
@ -143,9 +143,9 @@ public class Achievement
|
||||
private int refreshCount = 0;
|
||||
|
||||
/// <summary>
|
||||
/// If this achievement is linked to a stat this will return the progress.
|
||||
/// Returns the percentage of users who have unlocked the specified achievement, or -1 if no data available.
|
||||
/// </summary>
|
||||
public float Percentage
|
||||
public float GlobalUnlockedPercentage
|
||||
{
|
||||
get
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user