AchievementCollectionclass

Holds achievements for a package

objectAchievementCollection
Namespace
Sandbox
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.AchievementCollection

Constructors1

Showing 1 constructors

public AchievementCollection(string packageIdent)PUBLICCONSTRUCTOR

ParameterTypeDescription
packageIdentstring

Methods2

Showing 2 methods

public Sandbox.Achievement Get(string name)PUBLIC

Get achievement by name, or null of it doesn't exist

ParameterTypeDescription
namestring
Returns:Achievement

public System.Threading.Tasks.Task RecountProgression()PUBLIC

Use the current stats to recount the progression on stats with progression. This is purely for UI, you can't force an achivement to unlock early by calling this.

Returns:Task

Properties1

Showing 1 properties

On this page