LaunchBoxContributors
On this page

AchievementGameSnapshot14.1

Class in Unbroken.LaunchBox.Plugins.Services.Achievements

C#
public sealed class AchievementGameSnapshot
Contains the host's merged observations for one source-local game. Only selected account contexts are exposed.

Constructors

AchievementGameSnapshot

C#
public AchievementGameSnapshot()

A summary has not been written for this member.

Properties

  • AvailabilityGets or initializes the last observed support for achievements; unknown is distinct from confirmed absence.
  • CatalogGets or initializes the retained definitions, or null when unknown.
  • ContextsGets or initializes the selected account and modes in preferred order. Credential connection handles are omitted.
  • GameIdGets or initializes the source-local game identity.
  • MessageGets or initializes a host-localized retrieval explanation, if available.
  • ObservedAtGets or initializes when the last game observation was saved; partial updates may retain older individual values.
  • ProgressGets or initializes progress for selected contexts. Missing observations remain unknown unless the catalog and progress snapshot are both complete.
  • SourceGets or initializes the source and its current provider capabilities.
  • StatusGets or initializes retrieval state independently of achievement availability or earned progress.

Availability

C#
public AchievementAvailability Availability { get; init; }
Gets or initializes the last observed support for achievements; unknown is distinct from confirmed absence.

Catalog

C#
public AchievementCatalog? Catalog { get; init; }
Gets or initializes the retained definitions, or null when unknown.

Contexts

C#
public IReadOnlyList<AchievementProgressContext> Contexts { get; init; }
Gets or initializes the selected account and modes in preferred order. Credential connection handles are omitted.

GameId

C#
public required string GameId { get; init; }
Gets or initializes the source-local game identity.

Message

C#
public string? Message { get; init; }
Gets or initializes a host-localized retrieval explanation, if available.

ObservedAt

C#
public DateTimeOffset? ObservedAt { get; init; }
Gets or initializes when the last game observation was saved; partial updates may retain older individual values.

Progress

C#
public IReadOnlyList<AchievementProgress> Progress { get; init; }
Gets or initializes progress for selected contexts. Missing observations remain unknown unless the catalog and progress snapshot are both complete.

Source

C#
public required AchievementSourceInfo Source { get; init; }
Gets or initializes the source and its current provider capabilities.

Status

C#
public required PluginServiceStatus Status { get; init; }
Gets or initializes retrieval state independently of achievement availability or earned progress.