C# Class RAGENativeUI.Elements.UIMenuListItem

Inheritance: UIMenuItem
Afficher le fichier Open project: alexguirre/RAGENativeUI Class Usage Examples

Méthodes publiques

Свойство Type Description
HoldTimeBeforeScroll uint
ScrollingEnabled bool

Protected Properties

Свойство Type Description
_arrowLeft Sprite
_arrowRight Sprite
_index int
_itemText RAGENativeUI.Elements.ResText
_items List

Méthodes publiques

Méthode Description
Draw ( ) : void

Draw item.

IndexToItem ( int index ) : dynamic

Find an item by it's index and return the item.

ItemToIndex ( dynamic item ) : int

Find an item in the list and return it's index.

Position ( int y ) : void

Change item's position.

SetRightBadge ( BadgeStyle badge ) : void
SetRightLabel ( string text ) : void
UIMenuListItem ( string text, List items, int index ) : System

List item, with left/right arrows.

UIMenuListItem ( string text, List items, int index, string description ) : System

List item, with left/right arrows.

Private Methods

Méthode Description
ListChangedTrigger ( int newindex ) : void

Method Details

Draw() public méthode

Draw item.
public Draw ( ) : void
Résultat void

IndexToItem() public méthode

Find an item by it's index and return the item.
public IndexToItem ( int index ) : dynamic
index int Item's index.
Résultat dynamic

ItemToIndex() public méthode

Find an item in the list and return it's index.
public ItemToIndex ( dynamic item ) : int
item dynamic Item to search for.
Résultat int

Position() public méthode

Change item's position.
public Position ( int y ) : void
y int New Y position.
Résultat void

SetRightBadge() public méthode

public SetRightBadge ( BadgeStyle badge ) : void
badge BadgeStyle
Résultat void

SetRightLabel() public méthode

public SetRightLabel ( string text ) : void
text string
Résultat void

UIMenuListItem() public méthode

List item, with left/right arrows.
public UIMenuListItem ( string text, List items, int index ) : System
text string Item label.
items List List that contains your items.
index int Index in the list. If unsure user 0.
Résultat System

UIMenuListItem() public méthode

List item, with left/right arrows.
public UIMenuListItem ( string text, List items, int index, string description ) : System
text string Item label.
items List List that contains your items.
index int Index in the list. If unsure user 0.
description string Description for this item.
Résultat System

Property Details

HoldTimeBeforeScroll public_oe property

Hold time in milliseconds before scrolling to the next item on list when holding the key [Default = 200]
public uint HoldTimeBeforeScroll
Résultat uint

ScrollingEnabled public_oe property

Enables or disables scrolling through the list by holding the key
public bool ScrollingEnabled
Résultat bool

_arrowLeft protected_oe property

protected Sprite,RAGENativeUI.Elements _arrowLeft
Résultat Sprite

_arrowRight protected_oe property

protected Sprite,RAGENativeUI.Elements _arrowRight
Résultat Sprite

_index protected_oe property

protected int _index
Résultat int

_itemText protected_oe property

protected ResText,RAGENativeUI.Elements _itemText
Résultat RAGENativeUI.Elements.ResText

_items protected_oe property

protected List _items
Résultat List