IGameMenuItem13.3
Interface in Unbroken.LaunchBox.Plugins.Data
public interface IGameMenuItem
This interface is used to create menu items by the IGameMultiMenuItemPlugin interface
Properties
CaptionThe string displayed on the menu itemChildrenMenu items under this one (not used in Big Box)EnabledIs the menu item enabledIconThe icon for the item (not used in Big Box)
Caption
string Caption { get; }
The string displayed on the menu item
Children
IEnumerable<IGameMenuItem> Children { get; }
Menu items under this one (not used in Big Box)
Enabled
bool Enabled { get; }
Is the menu item enabled
Icon
Image Icon { get; }
The icon for the item (not used in Big Box)
Methods
OnSelectFired when your menu item has been selected by the user. Not used if the item has any children.
OnSelect
void OnSelect(params IGame[] games)
Fired when your menu item has been selected by the user. Not used if the item has any children.
games- The games that were selected when activating your menu item. Will not be null