14.1 Beta 1 SDK
EmulatorLaunchPreparationRequest14.1 Beta
public sealed class Unbroken.LaunchBox.Plugins.Emulators.EmulatorLaunchPreparationRequestProvides the context for preparing an emulator immediately before launch.
Constructors
public EmulatorLaunchPreparationRequest(Unbroken.LaunchBox.Plugins.Data.IEmulator emulator, Unbroken.LaunchBox.Plugins.Data.IGame game, string commandLine, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? application = null, Unbroken.LaunchBox.Plugins.Emulators.EmulatorRetroAchievementsCredentials? retroAchievementsCredentials = null)public EmulatorLaunchPreparationRequest(Unbroken.LaunchBox.Plugins.Data.IEmulator emulator, Unbroken.LaunchBox.Plugins.Data.IGame game, string commandLine, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? application, Unbroken.LaunchBox.Plugins.Emulators.EmulatorRetroAchievementsCredentials? retroAchievementsCredentials, Unbroken.LaunchBox.Plugins.Forms.IPluginConfigurationValues? emulatorSettings)
EmulatorLaunchPreparationRequest 14.1 Beta
public EmulatorLaunchPreparationRequest(Unbroken.LaunchBox.Plugins.Data.IEmulator emulator, Unbroken.LaunchBox.Plugins.Data.IGame game, string commandLine, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? application = null, Unbroken.LaunchBox.Plugins.Emulators.EmulatorRetroAchievementsCredentials? retroAchievementsCredentials = null)Initializes an emulator launch-preparation request.
emulator14.1 Beta- The configured emulator being launched.
game14.1 Beta- The game being launched.
commandLine14.1 Beta- The current emulator command line.
application14.1 Beta- The additional application being launched, when applicable.
retroAchievementsCredentials14.1 Beta- The RetroAchievements launch credentials, when available.
EmulatorLaunchPreparationRequest 14.1 Beta
public EmulatorLaunchPreparationRequest(Unbroken.LaunchBox.Plugins.Data.IEmulator emulator, Unbroken.LaunchBox.Plugins.Data.IGame game, string commandLine, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? application, Unbroken.LaunchBox.Plugins.Emulators.EmulatorRetroAchievementsCredentials? retroAchievementsCredentials, Unbroken.LaunchBox.Plugins.Forms.IPluginConfigurationValues? emulatorSettings)Initializes an emulator launch-preparation request with settings.
emulator14.1 Beta- The configured emulator being launched.
game14.1 Beta- The game being launched.
commandLine14.1 Beta- The current emulator command line.
application14.1 Beta- The additional application being launched, when applicable.
retroAchievementsCredentials14.1 Beta- The RetroAchievements launch credentials, when available.
emulatorSettings14.1 Beta- The settings the user saved for this emulator, when LaunchBox has settings to supply.
Properties
public Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? AppBeingLaunched { get; }public string CurrentCommandLine { get; }public Unbroken.LaunchBox.Plugins.Data.IEmulator EmulatorBeingLaunched { get; }public Unbroken.LaunchBox.Plugins.Forms.IPluginConfigurationValues? EmulatorSettings { get; }public Unbroken.LaunchBox.Plugins.Data.IGame GameBeingLaunched { get; }public Unbroken.LaunchBox.Plugins.Emulators.EmulatorRetroAchievementsCredentials? RetroAchievementCredentials { get; }
AppBeingLaunched 14.1 Beta
public Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication? AppBeingLaunched { get; }Gets the additional application being launched, when applicable.
CurrentCommandLine 14.1 Beta
public string CurrentCommandLine { get; }Gets the current emulator command line.
EmulatorBeingLaunched 14.1 Beta
public Unbroken.LaunchBox.Plugins.Data.IEmulator EmulatorBeingLaunched { get; }Gets the configured emulator being launched.
EmulatorSettings 14.1 Beta
public Unbroken.LaunchBox.Plugins.Forms.IPluginConfigurationValues? EmulatorSettings { get; }Gets the settings the user saved for this emulator, or
null when LaunchBox has none to supply.Remarks
This isnull whenever the integration does not implement Unbroken.LaunchBox.Plugins.Emulators.IEmulatorSettingsProvider, and whenever the user has left the page's master switch off, which is how an emulator configured by hand keeps launching exactly as it did before the page existed. Prepare the launch from Unbroken.LaunchBox.Plugins.Emulators.EmulatorLaunchPreparationRequest.CurrentCommandLine alone when it is null. The values cannot resolve a declared Unbroken.LaunchBox.Plugins.Forms.PluginFormField.DefaultValue, because the page is never built at launch, so pass the declared default at every read site.
GameBeingLaunched 14.1 Beta
public Unbroken.LaunchBox.Plugins.Data.IGame GameBeingLaunched { get; }Gets the game being launched.
RetroAchievementCredentials 14.1 Beta
public Unbroken.LaunchBox.Plugins.Emulators.EmulatorRetroAchievementsCredentials? RetroAchievementCredentials { get; }Gets the RetroAchievements launch credentials, when available.