API ReferenceSandbox.Services

Achievementsclass

Allows access to stats for the current game. Stats are defined by the game's author and can be used to track anything from player actions to performance metrics. They are how you submit data to leaderboards.

objectAchievements
Namespace
Sandbox.Services
Assembly
Sandbox.Engine
Declaration
public static abstract sealed class Sandbox.Services.Achievements

Methods1

Showing 1 methods

public static void Unlock(string name)PUBLICSTATIC

ParameterTypeDescription
namestring
Returns:void

Properties1

Showing 1 properties

public static System.Collections.Generic.IEnumerable`1<Sandbox.Achievement> Sandbox.Services.Achievements.All { get; set; }PUBLICSTATICGETSET

Returns:IEnumerable<Achievement>

On this page