LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

IStorefrontGameDataCompatibilityCapability14.1 Beta

C#
public interface Unbroken.LaunchBox.Plugins.Storefronts.IStorefrontGameDataCompatibilityCapability
Converts between legacy LaunchBox game fields and provider-owned game data.

Methods

ExportLegacyGameData 14.1 Beta

C#
Unbroken.LaunchBox.Plugins.Storefronts.StorefrontLegacyGameData ExportLegacyGameData(Unbroken.LaunchBox.Plugins.Storefronts.StorefrontGameContext game)
Produces legacy fields that let older LaunchBox versions use a storefront game.
game 14.1 Beta
The game identifier and provider-owned data to export.

Returns

The compatible application path and named legacy field values.

ImportLegacyGameData 14.1 Beta

C#
Unbroken.LaunchBox.Plugins.Storefronts.StorefrontProviderGameData? ImportLegacyGameData(Unbroken.LaunchBox.Plugins.Storefronts.StorefrontGameContext game, Unbroken.LaunchBox.Plugins.Storefronts.StorefrontLegacyGameData legacyGame)
Reconstructs provider-owned data from a game's legacy fields.
game 14.1 Beta
The logical game identifier and any provider data already available.
legacyGame 14.1 Beta
The legacy application path and named compatibility fields.

Returns

The reconstructed provider data, or null to retain the existing provider data.

Remarks

The host may call this again after an application-path edit or when associating an existing entry. Preserve unrelated and unsupported provider data.