LaunchBoxContributors
On this page

StorefrontImportPlatforms14.1

Class in Unbroken.LaunchBox.Plugins.Components.Storefronts

C#
public sealed class StorefrontImportPlatforms
Declares canonical platforms used when importing a storefront's games.

Constructors

StorefrontImportPlatforms

C#
public StorefrontImportPlatforms(
    string defaultPlatform,
    IReadOnlyCollection<string> platforms
)
Creates platform defaults for the shared import flow.
defaultPlatform
The canonical fallback platform when local evidence or metadata does not identify another platform.
platforms
Canonical platform names to offer for per-game selection and user-defined import mappings. The default is added if omitted.

Properties

  • DefaultPlatformGets the canonical fallback platform.
  • PlatformsGets the canonical choices. These are platform identifiers, not localized UI instructions.

DefaultPlatform

C#
public string DefaultPlatform { get; }
Gets the canonical fallback platform.

Platforms

C#
public IReadOnlyCollection<string> Platforms { get; }
Gets the canonical choices. These are platform identifiers, not localized UI instructions.