Table of Contents

Class MainMenuItem

Namespace
Playnite.SDK.Plugins
Assembly
Playnite.SDK.dll

Represents main menu item.

public class MainMenuItem : PluginMenuItem
Inheritance
MainMenuItem
Inherited Members

Properties

Action

Gets or sets action to be invoked when menu item is activated.

public Action<MainMenuItemActionArgs> Action { get; set; }

Property Value

Action<MainMenuItemActionArgs>

Methods

FromScriptMainMenuItem(ScriptMainMenuItem)

Creates main menu item from script main menu item.

public static MainMenuItem FromScriptMainMenuItem(ScriptMainMenuItem item)

Parameters

item ScriptMainMenuItem

Returns

MainMenuItem