AchievementProgressObservation14.1
Class in Unbroken.LaunchBox.Plugins.Components.Achievements
public sealed class AchievementProgressObservationReports one achievement's earned state.
Constructors
AchievementProgressObservationCreates an explicit earned-state observation.
AchievementProgressObservation
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
AchievementIdGets the achievement ID.IsUnlockedGets whether the achievement was earned.UnlockedAtGets or initializes the earned timestamp, when known.
AchievementId
public string AchievementId { get; }Gets the achievement ID.
IsUnlocked
public bool IsUnlocked { get; }Gets whether the achievement was earned.
UnlockedAt
public DateTimeOffset? UnlockedAt { get; init; }Gets or initializes the earned timestamp, when known.