LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

AchievementSourceDescriptor14.1 Beta

C#
public sealed class Unbroken.LaunchBox.Plugins.Achievements.AchievementSourceDescriptor
Names a logical source and its stable identity; only one enabled provider may claim a source ID.

Constructors

AchievementSourceDescriptor 14.1 Beta

C#
public AchievementSourceDescriptor(string sourceId, Unbroken.LaunchBox.Plugins.PluginText displayName)
Creates source metadata without performing I/O.
sourceId 14.1 Beta
Canonical lowercase ID, at most 128 ASCII letters, digits, dots, underscores, or hyphens; starts with a letter or digit.
displayName 14.1 Beta
Plugin-owned translatable name.

Properties

DisplayName 14.1 Beta

C#
public Unbroken.LaunchBox.Plugins.PluginText DisplayName { get; }
Gets the translatable name.

IconResourceId 14.1 Beta

C#
public string? IconResourceId { get; init; }
Gets or initializes an optional package image resource ID.

SourceId 14.1 Beta

C#
public string SourceId { get; }
Gets the implementation-independent source ID.