C# Class DZLib.MenuExtensions.MenuExtensions

Exibir arquivo Open project: DZ191/LeagueSharp

Public Methods

Method Description
AddBool ( this menu, string name, string displayName, bool defaultValue = false ) : MenuItem

Adds a bool to the menu.

AddKeybind ( this menu, string name, string displayName, KeyBindType>.Tuple value ) : MenuItem

Adds a keybind.

AddSlider ( this menu, string name, string displayName, Tuple values ) : MenuItem

Adds a slider.

AddSlider ( this menu, string name, string displayName, int value, int min, int max ) : MenuItem

Adds a slider.

AddStringList ( this menu, string name, string displayName, string value, int index ) : MenuItem

Adds a string list.

AddText ( this menu, string name, string displayName ) : MenuItem

Adds a text.

Method Details

AddBool() public static method

Adds a bool to the menu.
public static AddBool ( this menu, string name, string displayName, bool defaultValue = false ) : MenuItem
menu this The menu.
name string The name.
displayName string The display name.
defaultValue bool the default value for the item.
return MenuItem

AddKeybind() public static method

Adds a keybind.
public static AddKeybind ( this menu, string name, string displayName, KeyBindType>.Tuple value ) : MenuItem
menu this The menu.
name string The name.
displayName string The display name.
value KeyBindType>.Tuple The value.
return MenuItem

AddSlider() public static method

Adds a slider.
public static AddSlider ( this menu, string name, string displayName, Tuple values ) : MenuItem
menu this The menu.
name string The name.
displayName string The display name.
values Tuple The values.
return MenuItem

AddSlider() public static method

Adds a slider.
public static AddSlider ( this menu, string name, string displayName, int value, int min, int max ) : MenuItem
menu this The menu.
name string The name.
displayName string The display name.
value int The value.
min int The minimum value.
max int The maximum value.
return MenuItem

AddStringList() public static method

Adds a string list.
public static AddStringList ( this menu, string name, string displayName, string value, int index ) : MenuItem
menu this The menu.
name string The name.
displayName string The display name.
value string The value.
index int The index.
return MenuItem

AddText() public static method

Adds a text.
public static AddText ( this menu, string name, string displayName ) : MenuItem
menu this The menu.
name string The name.
displayName string The display name.
return MenuItem