C# Class SharpMod.Menu.Item

Datei anzeigen Open project: txdv/sharpmod

Public Methods

Method Description
DoSelect ( Player player, int index ) : bool
IsEnabled ( Player player ) : bool
IsSelectable ( Player player ) : bool
Item ( string text ) : System
Item ( string text, bool selectable ) : System
Item ( string text, bool selectable, bool enabled ) : System
MenuIterator ( Player player, IList itemlist, int start, int &current, int end, int &max ) : void

Method Details

DoSelect() public method

public DoSelect ( Player player, int index ) : bool
player Player
index int
return bool

IsEnabled() public method

public IsEnabled ( Player player ) : bool
player Player
return bool

IsSelectable() public method

public IsSelectable ( Player player ) : bool
player Player
return bool

Item() public method

public Item ( string text ) : System
text string
return System

Item() public method

public Item ( string text, bool selectable ) : System
text string
selectable bool
return System

Item() public method

public Item ( string text, bool selectable, bool enabled ) : System
text string
selectable bool
enabled bool
return System

MenuIterator() public method

public MenuIterator ( Player player, IList itemlist, int start, int &current, int end, int &max ) : void
player Player
itemlist IList
start int
current int
end int
max int
return void