C# 클래스 RAGENativeUI.Elements.UIMenuListItem

상속: UIMenuItem
파일 보기 프로젝트 열기: alexguirre/RAGENativeUI 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
HoldTimeBeforeScroll uint
ScrollingEnabled bool

보호된 프로퍼티들

프로퍼티 타입 설명
_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