C# Class Server.ContextMenus.ContextMenuEntry

Represents a single entry of a context menu. ContextMenu
Datei anzeigen Open project: brodock/runuo Class Usage Examples

Public Methods

Method Description
ContextMenuEntry ( int number ) : System

Instantiates a new ContextMenuEntry with a given Number">localization number (maximum range is used.

ContextMenuEntry ( int number, int range ) : System

Instantiates a new ContextMenuEntry with a given Number">localization number (Range">maximum range (

OnClick ( ) : void

Overridable. Virtual event invoked when the entry is clicked.

Method Details

ContextMenuEntry() public method

Instantiates a new ContextMenuEntry with a given Number">localization number (maximum range is used.
public ContextMenuEntry ( int number ) : System
number int /// The localization number containing the name of this entry. /// ///
return System

ContextMenuEntry() public method

Instantiates a new ContextMenuEntry with a given Number">localization number (Range">maximum range (
public ContextMenuEntry ( int number, int range ) : System
number int /// The localization number containing the name of this entry. /// ///
range int /// The maximum range at which this entry can be used. /// ///
return System

OnClick() public method

Overridable. Virtual event invoked when the entry is clicked.
public OnClick ( ) : void
return void