Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
UIItemList Class Reference
Inheritance diagram for UIItemList:
UIListEx< UIItem >

Public Member Functions

override void OnInstantiate (RefObjectEx o, UIItem t)
 
void AddItem (object obj, string text, Action< UIItem > onInstantiate=null)
 
- Public Member Functions inherited from UIListEx< UIItem >
override void Refresh (bool highlightLast=false)
 
virtual void OnInstantiate (RefObjectEx o, T t)
 

Additional Inherited Members

- Public Attributes inherited from UIListEx< UIItem >
mold
 

Detailed Description

Definition at line 3 of file UIItemList.cs.

Member Function Documentation

◆ AddItem()

void UIItemList.AddItem ( object  obj,
string  text,
Action< UIItem onInstantiate = null 
)
inline

Definition at line 13 of file UIItemList.cs.

14 {
15 Add(new RefObjectEx
16 {
17 obj = obj,
18 text = text,
19 onInstantiate = onInstantiate
20 });
21 }
list. Add(item3)

References Add().

◆ OnInstantiate()

override void UIItemList.OnInstantiate ( RefObjectEx  o,
UIItem  t 
)
inline

Definition at line 5 of file UIItemList.cs.

6 {
7 if ((bool)t.text1)
8 {
9 t.text1.text = o.text;
10 }
11 }
UIText text1
Definition: UIItem.cs:6

References UIItem.text1.


The documentation for this class was generated from the following file: