C# Class DZLib.MenuExtensions.MenuExtensions

Afficher le fichier Open project: DZ191/LeagueSharp

Méthodes publiques

Méthode 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 méthode

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.
Résultat MenuItem

AddKeybind() public static méthode

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.
Résultat MenuItem

AddSlider() public static méthode

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.
Résultat MenuItem

AddSlider() public static méthode

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.
Résultat MenuItem

AddStringList() public static méthode

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.
Résultat MenuItem

AddText() public static méthode

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.
Résultat MenuItem