class Achievement

robot_2Generated
code_blocksInput

Description

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.

Members

Instance Properties

Member NameSummary
NameThe internal name of the achievement.
TitleThe display title of the achievement.
DescriptionA brief description of what the achievement entails.
IconThe icon associated with the achievement.
IsUnlockedIndicates whether the achievement has been unlocked.
UnlockTimestampThe timestamp when the achievement was unlocked, if applicable.
ScoreThe score value associated with the achievement.
RangeThe range of values for the achievement's progression.
CurrentValueThe current value of the achievement's progression.
IsVisibleReturns whether this achievement should be visible to the player.
HasProgressionIndicates if the achievement has a progression component.
GlobalUnlockedThe number of players who have unlocked this achievement globally.
GlobalFractionThe fraction of players who have unlocked this achievement globally.
ProgressionFractionA float, representing the progression of this stat. 0 is 0%, 1 is 100%. Not clamped.