LaunchBoxCONTRIBUTORS
On this page

14.1 Beta 1 SDK

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

IGameMenuItem13.3

C#
public interface Unbroken.LaunchBox.Plugins.Data.IGameMenuItem
This interface is used to create menu items by the IGameMultiMenuItemPlugin interface

Properties

Caption 13.3

C#
string Caption { get; }
The string displayed on the menu item

Children 13.3

C#
System.Collections.Generic.IEnumerable<Unbroken.LaunchBox.Plugins.Data.IGameMenuItem> Children { get; }
Menu items under this one (not used in Big Box)

Enabled 13.3

C#
bool Enabled { get; }
Is the menu item enabled

Icon 13.3

C#
System.Drawing.Image Icon { get; }
The icon for the item (not used in Big Box)

Methods

OnSelect 13.3

C#
void OnSelect(params Unbroken.LaunchBox.Plugins.Data.IGame[] games)
Fired when your menu item has been selected by the user. Not used if the item has any children.
games 13.3
The games that were selected when activating your menu item. Will not be null