The Achievement class in the Sandbox namespace represents a game achievement, encapsulating details such as its name, description, and unlock status. This class is sealed, meaning it cannot be inherited.
The Achievement class in the Sandbox namespace represents a game achievement, encapsulating details such as its name, description, and unlock status. This class is sealed, meaning it cannot be inherited.
Member Name | Summary |
---|---|
Name | The internal name of the achievement. |
Title | The display title of the achievement. |
Description | A brief description of what the achievement entails. |
Icon | The icon associated with the achievement. |
IsUnlocked | Indicates whether the achievement has been unlocked. |
UnlockTimestamp | The timestamp when the achievement was unlocked, if applicable. |
Score | The score value associated with the achievement. |
Range | The range of values for the achievement's progression. |
CurrentValue | The current value of the achievement's progression. |
IsVisible | Returns whether this achievement should be visible to the player. |
HasProgression | Indicates if the achievement has a progression component. |
GlobalUnlocked | The number of players who have unlocked this achievement globally. |
GlobalFraction | The fraction of players who have unlocked this achievement globally. |
ProgressionFraction | A float, representing the progression of this stat. 0 is 0%, 1 is 100%. Not clamped. |