AchievementSourceDescriptor14.1
Class in Unbroken.LaunchBox.Plugins.Components.Achievements
public sealed class AchievementSourceDescriptorNames a logical source and its stable identity; only one enabled provider may claim a source ID.
Constructors
AchievementSourceDescriptorCreates source metadata without performing I/O.
AchievementSourceDescriptor
public AchievementSourceDescriptor(string sourceId, PluginText displayName)Creates source metadata without performing I/O.
sourceId- Canonical lowercase ID, at most 128 ASCII letters, digits, dots, underscores, or hyphens; starts with a letter or digit.
displayName- Plugin-owned translatable name.
Properties
DisplayNameGets the translatable name.IconResourceIdGets or initializes an optional package image resource ID.SourceIdGets the implementation-independent source ID.
DisplayName
public PluginText DisplayName { get; }Gets the translatable name.
IconResourceId
public string? IconResourceId { get; init; }Gets or initializes an optional package image resource ID.
SourceId
public string SourceId { get; }Gets the implementation-independent source ID.