LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

ILaunchBoxMainViewModel9.2

C#
public interface Unbroken.LaunchBox.Plugins.Data.ILaunchBoxMainViewModel
Provides plugin access to the LaunchBox interface. Added in LaunchBox and Big Box 9.2-beta-3.

Properties

ArrangeBy 9.2

C#
string ArrangeBy { get; set; }
Gets or sets the current arrange by value for the LaunchBox side bar.

BoxSize 9.2

C#
double BoxSize { get; set; }
Gets or sets the current box size in the LaunchBox boxes view.

ContentBackgroundView 9.2

C#
object ContentBackgroundView { get; }
Gets the current content background UI element.

ContentView 9.2

C#
object ContentView { get; }
Gets the current content UI element.

ControlsBarHeight 9.2

C#
double ControlsBarHeight { get; set; }
Gets or sets the height of the controls bar.

GameDetailsView 9.2

C#
object GameDetailsView { get; }
Gets the current game details UI element.

GameDetailsWidth 9.2

C#
double GameDetailsWidth { get; set; }
Gets or sets the width of the game details.

ImageGroup 9.2

C#
string ImageGroup { get; }
Gets the current active image group that is in use in the LaunchBox boxes view.

ListView 9.2

C#
bool ListView { get; }
Gets a value specifying whether or not the list view is active in LaunchBox.

SideBarWidth 9.2

C#
double SideBarWidth { get; set; }
Gets or sets the width of the side bar.

Methods

Close 9.2

C#
void Close()
Exits LaunchBox.

EnterImagesView 13.3

C#
void EnterImagesView()
Sets the view to Images View if it isn't already.

EnterListView 13.3

C#
void EnterListView()
Sets the view to List View if it isn't already.

Maximize 9.2

C#
void Maximize()
Maximizes the LaunchBox window.

Minimize 9.2

C#
void Minimize()
Minimizes the LaunchBox window.

PlayGame 9.2

C#
void PlayGame(Unbroken.LaunchBox.Plugins.Data.IGame game, Unbroken.LaunchBox.Plugins.Data.IAdditionalApplication app, Unbroken.LaunchBox.Plugins.Data.IEmulator emulator, string overrideCommandLine)
Launches the specified game or additional application with the specified settings; uses the full game startup process including the startup screen if enabled.
game 9.2
The game to launch.
app 9.2
The game's additional application to launch. Leave null to launch the main game.
emulator 9.2
The specific emulator to use. Leave null to use the game's default emulator or no emulator at all.
overrideCommandLine 9.2
The overridden commandline parameters to use. Should be left null in most cases.

RefreshData 10.7

C#
void RefreshData()
Refreshes and repopulates all data displayed in LaunchBox.

Restore 9.2

C#
void Restore()
Restores the LaunchBox window if it has been maximized or minimized.