GameDiscoveryResult14.1
Class in Unbroken.LaunchBox.Plugins.Components.GameDiscovery
public sealed class GameDiscoveryResult
Contains games returned by installed or account-library discovery.
Constructors
GameDiscoveryResultInitializes a new instance of the GameDiscoveryResult class.
GameDiscoveryResult
public GameDiscoveryResult(
IReadOnlyCollection<DiscoveredGame> games,
bool isComplete = true,
IReadOnlyCollection<Diagnostic>? diagnostics = null
)Initializes a new instance of the GameDiscoveryResult class.
games- The discovered provider games.
isComplete- Whether the provider completed every part of discovery.
diagnostics- Optional diagnostics explaining partial or failed discovery.
Properties
DiagnosticsGets provider diagnostics associated with discovery.GamesGets the discovered provider games.IsCompleteGets whether the provider completed every part of discovery.
Diagnostics
public IReadOnlyCollection<Diagnostic> Diagnostics { get; }Gets provider diagnostics associated with discovery.
Games
public IReadOnlyCollection<DiscoveredGame> Games { get; }Gets the discovered provider games.
IsComplete
public bool IsComplete { get; }Gets whether the provider completed every part of discovery.