Last updated
Last updated
Support us as a and get instant access to all our assets, exclusive tools and assets, escalated support and issue tracking and our gratitude. These articles are made possible by our ... become a sponsor today!
A data wrapper around Steam's concept of an Achievement. This is implicitly convertible from string expecting that string to be the "API Name" of the achievement.
Achievements are a common feature of Steam API and one of the simpler to implement. They are typically used to mark milestones or key accomplishments of the player, you can learn more in our .
Returns the display name of this achievement if defined.
The description of this achievement if defined.
Returns the display attribute "hidden" for this achievement.
Is the achievement "unlocked" ... this can only be set if the achievement is set to allow client write. If set to GS or Trusted write only then the attempt to set it will be ignored.
The time this achievement was achieved... if any, this can be null
The percentage of users who have unlocked this achievement
The same as assigning true to the IsAcheived field.
Only used on servers, this can be used to unlock the achievement for a specific user.
The same as assigning false to the IsAcheived field.
Only used on servers, this can be used to clear / lock the achievement for a specific user.
Gets the status (locked/unlocked) for the given user. This is only used on server builds.
Gets the unlock status and the time the user unlocked it if any. This is only used on server builds.
This uses a tuple which is a standard feature of C#, you can learn more about it here
Returns the icond for the user based on the user's current state. That is if the user has this achievement unlocked then the unlocked image will be returned, else if not the locked image will be returned.
A simple short cut to the Stats and Achievements Store Stats and achievements. You can call this on any achievement or stat and it will commit all changes to the backend for all stats and achievements.