LaunchBoxContributors
On this page

AchievementProgressObservation14.1

Class in Unbroken.LaunchBox.Plugins.Components.Achievements

C#
public sealed class AchievementProgressObservation
Reports one achievement's earned state.

Constructors

AchievementProgressObservation

C#
public AchievementProgressObservation(string achievementId, bool isUnlocked)
Creates an explicit earned-state observation.
achievementId
Source-local achievement ID.
isUnlocked
Whether the account earned this achievement in the requested mode.

Properties

AchievementId

C#
public string AchievementId { get; }
Gets the achievement ID.

IsUnlocked

C#
public bool IsUnlocked { get; }
Gets whether the achievement was earned.

UnlockedAt

C#
public DateTimeOffset? UnlockedAt { get; init; }
Gets or initializes the earned timestamp, when known.