Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
ListPeopleSelect Class Reference
Inheritance diagram for ListPeopleSelect:
BaseListPeople ListOwner< Chara, ItemGeneral > EClass

Public Member Functions

override void OnInstantiate (Chara a, ItemGeneral b)
 
override void OnClick (Chara c, ItemGeneral i)
 
override void OnList ()
 
HireInfo GetInfo (Chara c)
 
- Public Member Functions inherited from BaseListPeople
virtual bool IsDisabled (Chara c)
 
override void List ()
 
override void OnInstantiate (Chara a, ItemGeneral b)
 
void AddSubButtonWork (ItemGeneral b, Chara a)
 
void WriteHobbies (UITooltip t, Chara a, BaseArea roomWork)
 
virtual void SetSubText (Chara a, ItemGeneral b)
 
override void OnClick (Chara c, ItemGeneral i)
 
override void OnList ()
 
override void OnRefreshMenu ()
 
- Public Member Functions inherited from ListOwner< Chara, ItemGeneral >
virtual void OnClick (T1 a, T2 b)
 
virtual void OnInstantiate (T1 a, T2 b)
 
virtual void OnList ()
 
virtual void List ()
 
virtual void OnCreate ()
 
virtual void OnSwitchContent ()
 
virtual void OnRefreshMenu ()
 
void RefreshTab ()
 
void MoveToOther (object c)
 

Public Attributes

Action< UIListonList
 
Action< CharaonClick
 
Func< Chara, string > onShowSubText
 
- Public Attributes inherited from BaseListPeople
Chara owner
 
FactionMemberType memberType
 
- Public Attributes inherited from ListOwner< Chara, ItemGeneral >
Layer layer
 
Window window
 
UIMultiList multi
 
ListOwner other
 
UIList list
 
WindowMenu menu
 
Window.Setting.Tab tab
 
string textTab
 
string textHeader
 
bool main
 
int index
 

Additional Inherited Members

- Static Public Member Functions inherited from EClass
static int rnd (int a)
 
static int curve (int a, int start, int step, int rate=75)
 
static int rndHalf (int a)
 
static float rndf (float a)
 
static int rndSqrt (int a)
 
static void Wait (float a, Card c)
 
static void Wait (float a, Point p)
 
static int Bigger (int a, int b)
 
static int Smaller (int a, int b)
 
- Static Public Attributes inherited from EClass
static Core core
 
- Properties inherited from BaseListPeople
new LayerPeople layer [get]
 
override string IdHeaderRow [get]
 
virtual bool ShowCharaSheet [get]
 
virtual bool ShowShowMode [get]
 
virtual LayerPeople.ShowMode ShowMode [get]
 
virtual bool ShowGoto [get]
 
virtual bool ShowHome [get]
 
- Properties inherited from ListOwner< Chara, ItemGeneral >
ListOwner Main [get]
 
virtual string IdTitle [get]
 
virtual string IdHeaderRow [get]
 
virtual string TextTab [get]
 
virtual string TextHeader [get]
 
- Properties inherited from EClass
static Game game [get]
 
static bool AdvMode [get]
 
static Player player [get]
 
static Chara pc [get]
 
static UI ui [get]
 
static Map _map [get]
 
static Zone _zone [get]
 
static FactionBranch Branch [get]
 
static FactionBranch BranchOrHomeBranch [get]
 
static Faction Home [get]
 
static Faction Wilds [get]
 
static Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static SoundManager Sound [get]
 
static CoreDebug debug [get]
 

Detailed Description

Definition at line 4 of file ListPeopleSelect.cs.

Member Function Documentation

◆ GetInfo()

HireInfo ListPeopleSelect.GetInfo ( Chara  c)
inline

Definition at line 33 of file ListPeopleSelect.cs.

34 {
35 return EClass.Home.listReserve.First((HireInfo a) => a.chara == c);
36 }
Definition: EClass.cs:5
static Faction Home
Definition: EClass.cs:26
List< HireInfo > listReserve
Definition: FACTION.cs:136
Chara chara
Definition: HireInfo.cs:6

References HireInfo.chara, EClass.Home, and Faction.listReserve.

◆ OnClick()

override void ListPeopleSelect.OnClick ( Chara  c,
ItemGeneral  i 
)
inline

Definition at line 22 of file ListPeopleSelect.cs.

23 {
24 onClick(c);
25 base.layer.Close();
26 }
Action< Chara > onClick

References onClick.

◆ OnInstantiate()

override void ListPeopleSelect.OnInstantiate ( Chara  a,
ItemGeneral  b 
)
inline

Definition at line 12 of file ListPeopleSelect.cs.

13 {
14 string lang = a.job.GetName().ToTitleCase(wholeText: true);
15 if (onShowSubText != null)
16 {
17 lang = onShowSubText(a);
18 }
19 b.SetSubText2(lang);
20 }
SourceJob.Row job
Definition: Chara.cs:451
UIButton SetSubText2(string lang, FontColor c=FontColor.Default, TextAnchor align=TextAnchor.MiddleRight)
Definition: ItemGeneral.cs:129
Func< Chara, string > onShowSubText

References Chara.job, onShowSubText, and ItemGeneral.SetSubText2().

◆ OnList()

override void ListPeopleSelect.OnList ( )
inlinevirtual

Reimplemented from BaseListPeople.

Definition at line 28 of file ListPeopleSelect.cs.

29 {
30 onList(list);
31 }
Action< UIList > onList

References ListOwner< Chara, ItemGeneral >.list, and onList.

Member Data Documentation

◆ onClick

Action<Chara> ListPeopleSelect.onClick

Definition at line 8 of file ListPeopleSelect.cs.

Referenced by OnClick().

◆ onList

Action<UIList> ListPeopleSelect.onList

Definition at line 6 of file ListPeopleSelect.cs.

Referenced by OnList().

◆ onShowSubText

Func<Chara, string> ListPeopleSelect.onShowSubText

Definition at line 10 of file ListPeopleSelect.cs.

Referenced by OnInstantiate().


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