C# Класс RAGENativeUI.Elements.UIMenuListItem

Наследование: UIMenuItem
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
HoldTimeBeforeScroll uint
ScrollingEnabled bool

Защищенные свойства (Protected)

Свойство Тип Описание
_arrowLeft Sprite
_arrowRight Sprite
_index int
_itemText RAGENativeUI.Elements.ResText
_items List

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ListChangedTrigger ( int newindex ) : void

Описание методов

Draw() публичный Метод

Draw item.
public Draw ( ) : void
Результат void

IndexToItem() публичный Метод

Find an item by it's index and return the item.
public IndexToItem ( int index ) : dynamic
index int Item's index.
Результат dynamic

ItemToIndex() публичный Метод

Find an item in the list and return it's index.
public ItemToIndex ( dynamic item ) : int
item dynamic Item to search for.
Результат int

Position() публичный Метод

Change item's position.
public Position ( int y ) : void
y int New Y position.
Результат void

SetRightBadge() публичный Метод

public SetRightBadge ( BadgeStyle badge ) : void
badge BadgeStyle
Результат void

SetRightLabel() публичный Метод

public SetRightLabel ( string text ) : void
text string
Результат void

UIMenuListItem() публичный Метод

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.
Результат System

UIMenuListItem() публичный Метод

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.
Результат System

Описание свойств

HoldTimeBeforeScroll публичное свойство

Hold time in milliseconds before scrolling to the next item on list when holding the key [Default = 200]
public uint HoldTimeBeforeScroll
Результат uint

ScrollingEnabled публичное свойство

Enables or disables scrolling through the list by holding the key
public bool ScrollingEnabled
Результат bool

_arrowLeft защищенное свойство

protected Sprite,RAGENativeUI.Elements _arrowLeft
Результат Sprite

_arrowRight защищенное свойство

protected Sprite,RAGENativeUI.Elements _arrowRight
Результат Sprite

_index защищенное свойство

protected int _index
Результат int

_itemText защищенное свойство

protected ResText,RAGENativeUI.Elements _itemText
Результат RAGENativeUI.Elements.ResText

_items защищенное свойство

protected List _items
Результат List