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

Public Types

enum  Mode { Default , Select , Double , Hire }
 
enum  ShowMode { Job , Race , Work }
 

Public Member Functions

override bool HeaderIsListOf (int id)
 
override void OnInit ()
 
LayerPeople SetOnConfirm (Action _onConfirm)
 
void Confirm ()
 
override void OnKill ()
 
override void OnSwitchContent (Window window)
 
- 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 ()
 

Static Public Member Functions

static LayerPeople Create (LayerPeople.Mode mode)
 
static LayerPeople Create< T > (string langHint=null, Chara owner=null)
 
static LayerPeople CreateReserve ()
 
static LayerPeople CreateGraze (AreaType areaType)
 
static LayerPeople CreateSelectEmbarkMembers (List< Chara > settlers)
 
static LayerPeople Create (BaseListPeople list)
 
static LayerPeople CreateSelect (string langHeader, string langHint, Action< UIList > onList, Action< Chara > onClick, Func< Chara, string > _onShowSubText=null)
 
- Static Public Member Functions inherited from ELayer
static int rnd (int a)
 

Public Attributes

LayerPeople.ShowMode showMode
 
LayoutGroup layoutMenu
 
Action onConfirm
 
UIMultiList multi
 

Static Public Attributes

static Chara slaveToBuy
 

Additional Inherited Members

- Protected Member Functions inherited from ELayer
override void _Close ()
 
override void Kill ()
 
- 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 6 of file LayerPeople.cs.

Member Enumeration Documentation

◆ Mode

enum LayerPeople.Mode

Definition at line 183 of file LayerPeople.cs.

◆ ShowMode

enum LayerPeople.ShowMode

Definition at line 196 of file LayerPeople.cs.

Member Function Documentation

◆ Confirm()

void LayerPeople.Confirm ( )

Definition at line 49 of file LayerPeople.cs.

◆ Create() [1/2]

static LayerPeople LayerPeople.Create ( BaseListPeople list)
static

Definition at line 144 of file LayerPeople.cs.

◆ Create() [2/2]

static LayerPeople LayerPeople.Create ( LayerPeople.Mode mode)
static

Definition at line 78 of file LayerPeople.cs.

◆ Create< T >()

static LayerPeople LayerPeople.Create< T > ( string langHint = null,
Chara owner = null )
static
Type Constraints
T :BaseListPeople 

Definition at line 89 of file LayerPeople.cs.

◆ CreateGraze()

static LayerPeople LayerPeople.CreateGraze ( AreaType areaType)
static

Definition at line 113 of file LayerPeople.cs.

◆ CreateReserve()

static LayerPeople LayerPeople.CreateReserve ( )
static

Definition at line 100 of file LayerPeople.cs.

◆ CreateSelect()

static LayerPeople LayerPeople.CreateSelect ( string langHeader,
string langHint,
Action< UIList > onList,
Action< Chara > onClick,
Func< Chara, string > _onShowSubText = null )
static

Definition at line 152 of file LayerPeople.cs.

◆ CreateSelectEmbarkMembers()

static LayerPeople LayerPeople.CreateSelectEmbarkMembers ( List< Chara > settlers)
static

Definition at line 119 of file LayerPeople.cs.

◆ HeaderIsListOf()

override bool LayerPeople.HeaderIsListOf ( int id)

Definition at line 9 of file LayerPeople.cs.

◆ OnInit()

override void LayerPeople.OnInit ( )

Definition at line 15 of file LayerPeople.cs.

◆ OnKill()

override void LayerPeople.OnKill ( )

Definition at line 59 of file LayerPeople.cs.

◆ OnSwitchContent()

override void LayerPeople.OnSwitchContent ( Window window)

Definition at line 67 of file LayerPeople.cs.

◆ SetOnConfirm()

LayerPeople LayerPeople.SetOnConfirm ( Action _onConfirm)

Definition at line 42 of file LayerPeople.cs.

Member Data Documentation

◆ layoutMenu

LayoutGroup LayerPeople.layoutMenu

Definition at line 174 of file LayerPeople.cs.

◆ multi

UIMultiList LayerPeople.multi

Definition at line 180 of file LayerPeople.cs.

◆ onConfirm

Action LayerPeople.onConfirm

Definition at line 177 of file LayerPeople.cs.

◆ showMode

LayerPeople.ShowMode LayerPeople.showMode

Definition at line 171 of file LayerPeople.cs.

◆ slaveToBuy

Chara LayerPeople.slaveToBuy
static

Definition at line 168 of file LayerPeople.cs.


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