IGameCompletionTimeCapability14.1
Interface in Unbroken.LaunchBox.Plugins.Components.GameData
public interface IGameCompletionTimeCapabilitySupplies community completion-time estimates independently of the player's progress.
Remarks
Implement with IGameDataSource on an existing managed component or a game-data-source component. Metadata, media, and achievement capabilities are independently optional. Estimates are fetched only when requested.Methods
GetCompletionTimesAsyncRetrieves known completion-time estimates for one source-local game.
GetCompletionTimesAsync
Task<IReadOnlyList<GameCompletionTime>> GetCompletionTimesAsync(
string gameId,
CancellationToken cancellationToken
)Retrieves known completion-time estimates for one source-local game.
gameId- The source-local game identity.
cancellationToken- Cancels retrieval.
Returns
Known estimates; an empty list means no known estimates. Throw on retrieval failure rather than returning an empty list. Omitted estimates remain unknown.- Exception: PluginAccountNotConfiguredException
- A required account is confirmed absent. Do not use this signal for authentication or retrieval failures.