LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

IBigBoxThemeElementPlugin7.10

C#
public interface Unbroken.LaunchBox.Plugins.IBigBoxThemeElementPlugin
Implement this interface in order to add an element/control to a Big Box theme, access the data, and accept user input.

Methods

OnDown 7.10

C#
bool OnDown(bool held)
Called whenever Down is pressed via the keyboard or controller.
held 7.10
A value specifying whether the key or button was held down or not.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.

OnEnter 7.10

C#
bool OnEnter()
Called whenever Enter is pressed via the keyboard or controller.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.

OnEscape 7.10

C#
bool OnEscape()
Called whenever Escape is pressed via the keyboard or controller.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.

OnLeft 7.10

C#
bool OnLeft(bool held)
Called whenever Left is pressed via the keyboard or controller.
held 7.10
A value specifying whether the key or button was held down or not.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.

OnPageDown 7.10

C#
bool OnPageDown()
Called whenever Page Down is pressed via the keyboard or controller.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.

OnPageUp 7.10

C#
bool OnPageUp()
Called whenever Page Up is pressed via the keyboard or controller.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.

OnRight 7.10

C#
bool OnRight(bool held)
Called whenever Right is pressed via the keyboard or controller.
held 7.10
A value specifying whether the key or button was held down or not.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.

OnSelectionChanged 7.10

C#
void OnSelectionChanged(Unbroken.LaunchBox.Plugins.Data.FilterType filterType, string filterValue, Unbroken.LaunchBox.Plugins.Data.IPlatform platform, Unbroken.LaunchBox.Plugins.Data.IPlatformCategory category, Unbroken.LaunchBox.Plugins.Data.IPlaylist playlist, Unbroken.LaunchBox.Plugins.Data.IGame game)
Called whenever a new platform, platform category, playlist, or game is selected in the Big Box interface.
filterType 7.10
The current filter type.
filterValue 7.10
The current filter value. May be null if no filter value is selected.
platform 7.10
The currently selected platform. May be null if no platform is selected.
category 7.10
The currently selected platform category. May be null if no platform category is selected.
playlist 7.10
The currently selected playlist. May be null if no playlist is selected.
game 7.10
The currently selected game. May be null if no game is selected.

OnUp 7.10

C#
bool OnUp(bool held)
Called whenever Up is pressed via the keyboard or controller.
held 7.10
A value specifying whether the key or button was held down or not.

Returns

A value specifying whether input was handled or not. If true is returned, the input will not be sent back to Big Box.