LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

GameRemovalPlan14.1 Beta

C#
public sealed class Unbroken.LaunchBox.Plugins.GameInstallation.GameRemovalPlan
Describes exact provider-known files that the host may remove beneath bounded roots.

Remarks

A plan must identify at least one installed or receipt file unless confirmed whole-install-directory removal is required.

Constructors

GameRemovalPlan 14.1 Beta

C#
public GameRemovalPlan(string installDirectory, System.Collections.Generic.IReadOnlyCollection<string> relativeInstalledFilePaths, string? receiptDirectory = null, System.Collections.Generic.IReadOnlyCollection<string>? relativeReceiptFilePaths = null, bool allowInstallDirectoryFallback = false, bool requiresInstallDirectoryFallback = false)
Initializes a new instance of the Unbroken.LaunchBox.Plugins.GameInstallation.GameRemovalPlan class.
installDirectory 14.1 Beta
The game installation root.
relativeInstalledFilePaths 14.1 Beta
Exact file paths relative to the installation root.
receiptDirectory 14.1 Beta
An optional separate receipt root.
relativeReceiptFilePaths 14.1 Beta
Exact file paths relative to the receipt root.
allowInstallDirectoryFallback 14.1 Beta
Whether the host may offer confirmed whole-install-directory removal when exact removal cannot complete.
requiresInstallDirectoryFallback 14.1 Beta
Whether the provider knows that exact removal is unavailable and the allowed fallback is required.

Fields

MaximumFileCount 14.1 Beta

C#
public const int MaximumFileCount = 1000000
Specifies the maximum number of installed or receipt files in one collection.

Properties

AllowInstallDirectoryFallback 14.1 Beta

C#
public bool AllowInstallDirectoryFallback { get; }
Gets whether the host may offer confirmed whole-install-directory removal.

InstallDirectory 14.1 Beta

C#
public string InstallDirectory { get; }
Gets the game installation root.

ReceiptDirectory 14.1 Beta

C#
public string? ReceiptDirectory { get; }
Gets the optional separate receipt root.

RelativeInstalledFilePaths 14.1 Beta

C#
public System.Collections.Generic.IReadOnlyCollection<string> RelativeInstalledFilePaths { get; }

RelativeReceiptFilePaths 14.1 Beta

C#
public System.Collections.Generic.IReadOnlyCollection<string> RelativeReceiptFilePaths { get; }

RequiresInstallDirectoryFallback 14.1 Beta

C#
public bool RequiresInstallDirectoryFallback { get; }
Gets whether the allowed whole-install-directory fallback is required.