API ReferenceSandbox
AchievementCollectionclass
Holds achievements for a package
object→AchievementCollection
Constructors1
Showing 1 constructors
public AchievementCollection(string packageIdent)
| Parameter | Type | Description |
|---|---|---|
| packageIdent | string | — |
No results match this filter.
Methods2
Showing 2 methods
public Sandbox.Achievement Get(string name)
Get achievement by name, or null of it doesn't exist
| Parameter | Type | Description |
|---|---|---|
| name | string | — |
public System.Threading.Tasks.Task RecountProgression()
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—No results match this filter.
Properties1
Showing 1 properties
public System.Collections.Generic.IReadOnlyCollection`1<Sandbox.Achievement> Sandbox.AchievementCollection.All { get; set; }
No results match this filter.