mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-04-10 11:30:05 +03:00
Renamed Achievement.Percentage to GlobalUnlockedPercentage, fixed description
This commit is contained in:
parent
63a12ff7c6
commit
d6b3966c9d
@ -56,7 +56,7 @@ namespace Facepunch.Steamworks.Test
|
|||||||
Console.WriteLine( " - - " + ach.Description );
|
Console.WriteLine( " - - " + ach.Description );
|
||||||
Console.WriteLine( " - - " + ach.State );
|
Console.WriteLine( " - - " + ach.State );
|
||||||
Console.WriteLine( " - - " + ach.UnlockTime );
|
Console.WriteLine( " - - " + ach.UnlockTime );
|
||||||
Console.WriteLine( " - - " + ach.Percentage );
|
Console.WriteLine( " - - " + ach.GlobalUnlockedPercentage );
|
||||||
|
|
||||||
if ( ach.Icon != null )
|
if ( ach.Icon != null )
|
||||||
{
|
{
|
||||||
|
@ -143,9 +143,9 @@ namespace Facepunch.Steamworks
|
|||||||
private int refreshCount = 0;
|
private int refreshCount = 0;
|
||||||
|
|
||||||
/// <summary>
|
/// <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>
|
/// </summary>
|
||||||
public float Percentage
|
public float GlobalUnlockedPercentage
|
||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user