LaunchBoxContributors
On this page

PrepareForLaunchArgs13.22

Class in Unbroken.LaunchBox.Plugins

C#
public class PrepareForLaunchArgs
Describes the emulator, game, and arguments for an upcoming launch.

Constructors

PrepareForLaunchArgs Changed 13.27

C#
public PrepareForLaunchArgs(
    IEmulator emulator,
    IGame game,
    string commandLine,
    IAdditionalApplication? app = null,
    RetroAchievementCredentials? cheevoCredentials = null
)
Initializes an emulator launch-preparation request.
emulator
The emulator selected for the launch.
game
The library game being launched.
commandLine
The prepared emulator arguments.
app
The additional application to launch, or null for the main game.
cheevoCredentials 13.27
Optional RetroAchievements credentials for the emulator.

Properties

AppBeingLaunched Changed 13.27

C#
public IAdditionalApplication? AppBeingLaunched { get; }
Gets the additional application being launched, or null for the main game.

CurrentCommandLine

C#
public string CurrentCommandLine { get; }
Gets the command-line arguments prepared for the emulator.

EmulatorBeingLaunched Changed 13.27

C#
public IEmulator? EmulatorBeingLaunched { get; }
Gets the emulator selected for this launch.

GameBeingLaunched

C#
public IGame GameBeingLaunched { get; }
Gets the library game being launched.

RetroAchievementCredentials

C#
public RetroAchievementCredentials? RetroAchievementCredentials { get; }
Gets the optional RetroAchievements credentials supplied for this launch.