StorefrontLegacyData14.1
Class in Unbroken.LaunchBox.Plugins.Components.Storefronts
public sealed class StorefrontLegacyDataCarries the application path and named fields used by legacy storefront compatibility.
Constructors
StorefrontLegacyDataInitializes a set of legacy storefront values.
StorefrontLegacyData
public StorefrontLegacyData(
string? applicationPath,
IReadOnlyDictionary<string, string>? fields = null
)Initializes a set of legacy storefront values.
applicationPath- The legacy launch path or URI, or null when none is supplied.
fields- Legacy field names and their string values. Null produces an empty collection.
Properties
ApplicationPathGets the legacy launch path or URI, or null when none is supplied.FieldsGets the compatibility values keyed by their legacy field names.IsAdditionalApplicationGets or initializes whether these values belong to an additional application rather than the main game.
ApplicationPath
public string? ApplicationPath { get; }Gets the legacy launch path or URI, or null when none is supplied.
Fields
public IReadOnlyDictionary<string, string> Fields { get; }Gets the compatibility values keyed by their legacy field names.
IsAdditionalApplication
public bool IsAdditionalApplication { get; init; }Gets or initializes whether these values belong to an additional application rather than the main game.