IStorefrontLegacyDataCompatibilityCapability14.1
Interface in Unbroken.LaunchBox.Plugins.Components.Storefronts
public interface IStorefrontLegacyDataCompatibilityCapabilityConverts between legacy LaunchBox game fields and provider-owned game data.
Methods
ExportLegacyGameDataProduces legacy fields that let older LaunchBox versions use a storefront game.ImportLegacyGameDataReconstructs provider-owned data from a game's legacy fields.
ExportLegacyGameData
StorefrontLegacyData ExportLegacyGameData(ProviderItemContext game)Produces legacy fields that let older LaunchBox versions use a storefront game.
game- The game identifier and provider-owned data to export.
Returns
The compatible application path and named legacy field values.ImportLegacyGameData
ProviderItemData? ImportLegacyGameData(
ProviderItemContext game,
StorefrontLegacyData legacyGame
)Reconstructs provider-owned data from a game's legacy fields.
game- The logical game identifier and any provider data already available.
legacyGame- The legacy application path and named compatibility fields.