Elin Modding Docs Doc
Loading...
Searching...
No Matches
LayerList Class Reference
Inheritance diagram for LayerList:
ELayer

Classes

class  CustomItem
 

Public Member Functions

override void OnInit ()
 
override void OnUpdateInput ()
 
LayerList SetMold (int index)
 
LayerList SetSize (float w=450f, float h=-1f)
 
LayerList SetPivot (float x, float y=-1f)
 
void RefreshSize ()
 
LayerList SetList< TValue > (ICollection< TValue > items, Func< TValue, string > getString, Action< int, string > onSelect, bool autoClose=true)
 
LayerList SetStringList (Func< ICollection< string > > getList, Action< int, string > onSelect, bool autoClose=true)
 
LayerList SetList2< TValue > (ICollection< TValue > _list, Func< TValue, string > getText, Action< TValue, ItemGeneral > onClick, Action< TValue, ItemGeneral > onInstantiate, bool autoClose=true)
 
LayerList SetListCheck< TValue > (ICollection< TValue > _list, Func< TValue, string > getText, Action< TValue, ItemGeneral > onClick, Action< List< UIList.ButtonPair > > onValidate)
 
LayerList EnableReroll ()
 
LayerList ManualList (Action< UIList, LayerList > onInit)
 
LayerList SetHeader (string lang)
 
LayerList SetNoSound ()
 
void SetHighlightTarget (UIButton _target)
 
override void OnKill ()
 
void Add (string lang, Action< int > action)
 
void Show (bool autoClose=true)
 
- Public Member Functions inherited from ELayer
override void OnBeforeAddLayer ()
 
void InitInspector ()
 
override void Init ()
 
override void OnAfterAddLayer ()
 
void TryShowHelp ()
 
void AddLayerToUI (string id)
 
void TryShowHint (string _langHint=null)
 
void TalkHomeMemeber (string id)
 
void TalkMaid (string id)
 
override void OnRightClick ()
 

Public Attributes

UIList list
 
UIButton buttonReroll
 
UIButton highlightTarget
 
UIItem moldItemCheck
 
Transform moldItemGeneral
 
Transform moldItemDetail
 
bool useItem
 
bool autoX
 
bool autoY
 
bool noSound
 
UIScrollView scroll
 
Vector2 sizeMin
 
Vector2 sizeMax
 
Vector2 paddings
 
List< LayerList.CustomItemcustomItems = new List<LayerList.CustomItem>()
 

Protected Member Functions

override void Awake ()
 
- Protected Member Functions inherited from ELayer
override void _Close ()
 
override void Kill ()
 

Additional Inherited Members

- Static Public Member Functions inherited from ELayer
static int rnd (int a)
 
- Properties inherited from ELayer
static Core core [get]
 
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static FactionBranch Branch [get]
 
static Faction Home [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static CoreConfig config [get]
 
static GameSetting setting [get]
 
static ColorProfile Colors [get]
 
static SourceManager sources [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 
bool IsFloat [get]
 
virtual string IdHelp [get]
 

Detailed Description

Definition at line 7 of file LayerList.cs.

Member Function Documentation

◆ Add()

void LayerList.Add ( string lang,
Action< int > action )

Definition at line 316 of file LayerList.cs.

◆ Awake()

override void LayerList.Awake ( )
protected

Definition at line 10 of file LayerList.cs.

◆ EnableReroll()

LayerList LayerList.EnableReroll ( )

Definition at line 229 of file LayerList.cs.

◆ ManualList()

LayerList LayerList.ManualList ( Action< UIList, LayerList > onInit)

Definition at line 243 of file LayerList.cs.

◆ OnInit()

override void LayerList.OnInit ( )

Definition at line 20 of file LayerList.cs.

◆ OnKill()

override void LayerList.OnKill ( )

Definition at line 293 of file LayerList.cs.

◆ OnUpdateInput()

override void LayerList.OnUpdateInput ( )

Definition at line 30 of file LayerList.cs.

◆ RefreshSize()

void LayerList.RefreshSize ( )

Definition at line 87 of file LayerList.cs.

◆ SetHeader()

LayerList LayerList.SetHeader ( string lang)

Definition at line 254 of file LayerList.cs.

◆ SetHighlightTarget()

void LayerList.SetHighlightTarget ( UIButton _target)

Definition at line 268 of file LayerList.cs.

◆ SetList2< TValue >()

LayerList LayerList.SetList2< TValue > ( ICollection< TValue > _list,
Func< TValue, string > getText,
Action< TValue, ItemGeneral > onClick,
Action< TValue, ItemGeneral > onInstantiate,
bool autoClose = true )

Definition at line 154 of file LayerList.cs.

◆ SetList< TValue >()

LayerList LayerList.SetList< TValue > ( ICollection< TValue > items,
Func< TValue, string > getString,
Action< int, string > onSelect,
bool autoClose = true )

Definition at line 106 of file LayerList.cs.

◆ SetListCheck< TValue >()

LayerList LayerList.SetListCheck< TValue > ( ICollection< TValue > _list,
Func< TValue, string > getText,
Action< TValue, ItemGeneral > onClick,
Action< List< UIList.ButtonPair > > onValidate )

Definition at line 188 of file LayerList.cs.

◆ SetMold()

LayerList LayerList.SetMold ( int index)

Definition at line 47 of file LayerList.cs.

◆ SetNoSound()

LayerList LayerList.SetNoSound ( )

Definition at line 261 of file LayerList.cs.

◆ SetPivot()

LayerList LayerList.SetPivot ( float x,
float y = -1f )

Definition at line 80 of file LayerList.cs.

◆ SetSize()

LayerList LayerList.SetSize ( float w = 450f,
float h = -1f )

Definition at line 64 of file LayerList.cs.

◆ SetStringList()

LayerList LayerList.SetStringList ( Func< ICollection< string > > getList,
Action< int, string > onSelect,
bool autoClose = true )

Definition at line 118 of file LayerList.cs.

◆ Show()

void LayerList.Show ( bool autoClose = true)

Definition at line 331 of file LayerList.cs.

Member Data Documentation

◆ autoX

bool LayerList.autoX

Definition at line 388 of file LayerList.cs.

◆ autoY

bool LayerList.autoY

Definition at line 391 of file LayerList.cs.

◆ buttonReroll

UIButton LayerList.buttonReroll

Definition at line 370 of file LayerList.cs.

◆ customItems

List<LayerList.CustomItem> LayerList.customItems = new List<LayerList.CustomItem>()

Definition at line 412 of file LayerList.cs.

◆ highlightTarget

UIButton LayerList.highlightTarget

Definition at line 373 of file LayerList.cs.

◆ list

UIList LayerList.list

Definition at line 367 of file LayerList.cs.

◆ moldItemCheck

UIItem LayerList.moldItemCheck

Definition at line 376 of file LayerList.cs.

◆ moldItemDetail

Transform LayerList.moldItemDetail

Definition at line 382 of file LayerList.cs.

◆ moldItemGeneral

Transform LayerList.moldItemGeneral

Definition at line 379 of file LayerList.cs.

◆ noSound

bool LayerList.noSound

Definition at line 394 of file LayerList.cs.

◆ paddings

Vector2 LayerList.paddings

Definition at line 406 of file LayerList.cs.

◆ scroll

UIScrollView LayerList.scroll

Definition at line 397 of file LayerList.cs.

◆ sizeMax

Vector2 LayerList.sizeMax

Definition at line 403 of file LayerList.cs.

◆ sizeMin

Vector2 LayerList.sizeMin

Definition at line 400 of file LayerList.cs.

◆ useItem

bool LayerList.useItem

Definition at line 385 of file LayerList.cs.


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