LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

This reference documents the current beta SDK. Beta APIs can change before stable.

IAchievementProgressCapability14.1 Beta

C#
public interface Unbroken.LaunchBox.Plugins.Achievements.IAchievementProgressCapability
Supplies progress for the configured account, keeping modes separate.

Methods

GetProgressAsync 14.1 Beta

C#
System.Threading.Tasks.Task<Unbroken.LaunchBox.Plugins.Achievements.AchievementResult<Unbroken.LaunchBox.Plugins.Achievements.AchievementProgress>> GetProgressAsync(Unbroken.LaunchBox.Plugins.Achievements.AchievementProgressRequest request, System.Threading.CancellationToken cancellationToken)
Returns observations for exactly the requested account and mode; never substitute another account.
request 14.1 Beta
Games and captured context.
cancellationToken 14.1 Beta
Cancels the operation.

Returns

Progress with per-game completeness and diagnostics.

GetProgressContextsAsync 14.1 Beta

C#
System.Threading.Tasks.Task<Unbroken.LaunchBox.Plugins.Achievements.AchievementContextResult> GetProgressContextsAsync(System.Threading.CancellationToken cancellationToken)
Reports the configured account's contexts in preferred display order.
cancellationToken 14.1 Beta
Cancels the operation.

Returns

A complete empty result means explicitly unconfigured; incomplete results do not clear saved selection.

Events

ContextsChanged 14.1 Beta

C#
event System.EventHandler? ContextsChanged
Raised after account, connection, or mode configuration changes, including logout; the host invalidates outstanding requests.