LaunchBoxContributors
On this page

EmulatorLaunchPreparationResult14.1

Class in Unbroken.LaunchBox.Plugins.Components.Emulators

C#
public sealed class EmulatorLaunchPreparationResult : PluginResponse
Reports the outcome of emulator launch preparation.

Inheritance and interfaces

Constructors

EmulatorLaunchPreparationResult

C#
public EmulatorLaunchPreparationResult(bool success, string? message = null)
Initializes an emulator launch-preparation result.
success
Whether launch preparation succeeded.
message
An optional result message.

Properties

  • BorderlessFullscreenWindowClassGets or sets the native window class identifying game windows eligible for borderless fullscreen.
  • LaunchResourcesGets or sets resources owned by this launch, such as temporary configuration files.
  • NewCommandLineGets or sets the command line that should replace the current command line.

BorderlessFullscreenWindowClass

C#
public string? BorderlessFullscreenWindowClass { get; set; }
Gets or sets the native window class identifying game windows eligible for borderless fullscreen.

Remarks

LaunchBox applies borderless fullscreen only when the user enables it and this class is supplied. Other windows, including dialogs, are excluded.

LaunchResources

C#
public IDisposable? LaunchResources { get; set; }
Gets or sets resources owned by this launch, such as temporary configuration files.

Remarks

Ownership transfers to LaunchBox when preparation returns. LaunchBox disposes the resources once the tracked game exits or preparation or startup is cancelled or fails. Resources must remain usable until disposal; do not share them with another launch. A host crash may prevent disposal.

NewCommandLine

C#
public string? NewCommandLine { get; set; }
Gets or sets the command line that should replace the current command line.