AchievementCatalog14.1
Class in Unbroken.LaunchBox.Plugins.Components.Achievements
public sealed class AchievementCatalogContains definitions for one game, independently of account progress.
Constructors
AchievementCatalogCreates a per-game catalog.
AchievementCatalog
public AchievementCatalog(
string gameId,
IReadOnlyCollection<AchievementDefinition> achievements,
bool isComplete = true
)Creates a per-game catalog.
gameId- Source-local game ID.
achievements- Definitions; an explicit complete empty catalog means no achievements.
isComplete- Whether all definitions for this game were returned.
Properties
AchievementsGets definitions.GameIdGets the source-local game ID.IsCompleteGets whether definitions are complete for this game.WebUriGets or initializes the game's achievements page.
Achievements
public IReadOnlyCollection<AchievementDefinition> Achievements { get; }Gets definitions.
GameId
public string GameId { get; }Gets the source-local game ID.
IsComplete
public bool IsComplete { get; }Gets whether definitions are complete for this game.
WebUri
public Uri? WebUri { get; init; }Gets or initializes the game's achievements page.