Renamed Achievement.Percentage to GlobalUnlockedPercentage, fixed description

This commit is contained in:
Garry Newman 2017-12-06 12:27:50 +00:00
parent 63a12ff7c6
commit d6b3966c9d
2 changed files with 3 additions and 3 deletions

View File

@ -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 )
{

View File

@ -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
{