Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
LayerEditBio Class Reference
Inheritance diagram for LayerEditBio:
ELayer Layer IUISkin

Public Member Functions

override void OnAfterAddLayer ()
 
void SetChara (Chara c, UnityAction _onKill=null)
 
void OnClickStart ()
 
void OnClickHelp ()
 
- Public Member Functions inherited from ELayer
override void OnBeforeAddLayer ()
 
void InitInspector ()
 
sealed 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 Member Functions inherited from Layer
virtual string GetTextHeader (Window window)
 
virtual bool HeaderIsListOf (int id)
 
virtual void Init ()
 
virtual void OnInit ()
 
virtual void OnAfterInit ()
 
virtual void ApplySkin ()
 
void ShowScreenLock (string id)
 
void UpdateInput ()
 
virtual void OnUpdateInput ()
 
virtual void OnRightClick ()
 
virtual bool OnBack ()
 
virtual void OnChangeLayer ()
 
virtual void OnCreate ()
 
void _AddLayer (string id)
 
Layer AddLayer (string id)
 
AddLayer< T > ()
 
AddLayer< T > (string id)
 
AddLayerDontCloseOthers< T > ()
 
Layer AddLayerDontCloseOthers (Layer l)
 
GetOrAddLayer< T > ()
 
virtual void OnBeforeAddLayer ()
 
virtual void OnAfterAddLayer ()
 
Layer AddLayer (Layer l)
 
void ToggleLayer (string id)
 
ToggleLayer< T > (string id=null)
 
void WaitAndClose ()
 
void OnClickClose ()
 
virtual void Close ()
 
void CloseLayers ()
 
void RemoveLayers (bool removeImportant=false)
 
bool RemoveLayer< T > ()
 
void RemoveLayer (Layer l)
 
virtual void OnKill ()
 
Layer SetOnKill (Action action)
 
void DisableClose ()
 
void Delay (float duration=0.05f)
 
Layer SetDelay (float d)
 
Layer GetLayer (string id)
 
GetLayer< T > (bool fromTop=false)
 
Layer GetTopLayer ()
 
void SwitchContent (int idWindow, int i)
 
virtual void OnSwitchContent (Window window)
 
Layer SetTitles (string langList, string idHeaderRow=null)
 
bool IsBlockWidgetClick ()
 
bool IsHideHud ()
 
bool IsAllowGeneralInput ()
 
bool IsUseBlur ()
 
bool IsPointerOnLayer ()
 
void ApplySkin ()
 

Public Attributes

UICharaMaker maker
 
Chara chara
 
EmbarkActor moldActor
 
Image imageBG
 
- Public Attributes inherited from Layer
Option option
 
UnityEvent onKill
 
Anime animeIn
 
Anime animeOut
 
bool closeOthers
 
bool defaultActionMode = true
 
Button screenLock
 
Layer parent
 
string idLayer
 
List< Layerlayers = new List<Layer>()
 
Vector2 lastParentPos
 
List< Windowwindows = new List<Window>()
 
string langHint
 

Additional Inherited Members

- Static Public Member Functions inherited from ELayer
static int rnd (int a)
 
- Static Public Member Functions inherited from Layer
static T Create< T > ()
 
static T Create< T > (string path)
 
static Layer Create (string path)
 
- Static Public Attributes inherited from Layer
static int skipInput
 
static bool closeOnRightClick
 
static bool rightClicked
 
static bool cancelKeyDown
 
static bool ignoreSounds
 
static Transform blurStopInstance
 
static string[] searchPath = new string[3] { "Layer", "Layer/Dialog", "Layer/LayerHome" }
 
- Protected Member Functions inherited from ELayer
sealed override void _Close ()
 
sealed override void Kill ()
 
- Protected Member Functions inherited from Layer
virtual void Awake ()
 
virtual void _Close ()
 
virtual void Kill ()
 
- Protected Attributes inherited from Layer
RectTransform _rect
 
bool isDestroyed
 
- 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]
 
- Properties inherited from Layer
Layer TopLayer [get]
 
string uid [get]
 
virtual RectTransform rectLayers [get]
 
virtual bool blockWidgetClick [get]
 

Detailed Description

Definition at line 5 of file LayerEditBio.cs.

Member Function Documentation

◆ OnAfterAddLayer()

override void LayerEditBio.OnAfterAddLayer ( )
inlinevirtual

Reimplemented from ELayer.

Definition at line 15 of file LayerEditBio.cs.

16 {
17 if (ELayer.game == null)
18 {
19 Game.Create();
20 }
21 if (!LayerTitle.actor)
22 {
23 LayerTitle.actor = Util.Instantiate(moldActor);
24 }
26 ELayer.ui.hud.hint.Show("hintEmbarkTop".lang(), icon: false);
27 imageBG.SetAlpha(0f);
28 imageBG.DOFade(0.15f, 10f);
29 }
Definition: ELayer.cs:4
static Chara pc
Definition: ELayer.cs:15
static Game game
Definition: ELayer.cs:9
static UI ui
Definition: ELayer.cs:21
Definition: Game.cs:8
static void Create(string _id=null, bool cloud=false)
Definition: Game.cs:693
EmbarkActor moldActor
Definition: LayerEditBio.cs:11
void SetChara(Chara c, UnityAction _onKill=null)
Definition: LayerEditBio.cs:31
static EmbarkActor actor
Definition: LayerTitle.cs:25
Definition: Util.cs:10
static Transform Instantiate(string path, Component parent=null)
Definition: Util.cs:67

References LayerTitle.actor, Game.Create(), ELayer.game, imageBG, moldActor, ELayer.pc, SetChara(), ELayer.ui, and Util.

◆ OnClickHelp()

void LayerEditBio.OnClickHelp ( )
inline

Definition at line 49 of file LayerEditBio.cs.

50 {
51 LayerHelp.Toggle("general", "3");
52 }
static void Toggle(string idFile, string idTopic=null)
Definition: LayerHelp.cs:32

References LayerHelp.Toggle().

◆ OnClickStart()

void LayerEditBio.OnClickStart ( )
inline

Definition at line 41 of file LayerEditBio.cs.

42 {
43 if (!ELayer.ui.GetLayer<LayerWorldSetting>())
44 {
45 ELayer.ui.AddLayer<LayerWorldSetting>();
46 }
47 }

References ELayer.ui.

◆ SetChara()

void LayerEditBio.SetChara ( Chara  c,
UnityAction  _onKill = null 
)
inline

Definition at line 31 of file LayerEditBio.cs.

32 {
33 chara = c ?? ELayer.player.chara;
35 if (_onKill != null)
36 {
37 onKill.AddListener(_onKill);
38 }
39 }
static Player player
Definition: ELayer.cs:13
UICharaMaker maker
Definition: LayerEditBio.cs:7
UnityEvent onKill
Definition: Layer.cs:86
Chara chara
Definition: Player.cs:1004
void SetChara(Chara c)
Definition: UICharaMaker.cs:70

References chara, Player.chara, maker, Layer.onKill, ELayer.player, and UICharaMaker.SetChara().

Referenced by OnAfterAddLayer().

Member Data Documentation

◆ chara

Chara LayerEditBio.chara

Definition at line 9 of file LayerEditBio.cs.

Referenced by SetChara().

◆ imageBG

Image LayerEditBio.imageBG

Definition at line 13 of file LayerEditBio.cs.

Referenced by OnAfterAddLayer().

◆ maker

UICharaMaker LayerEditBio.maker

Definition at line 7 of file LayerEditBio.cs.

Referenced by SetChara().

◆ moldActor

EmbarkActor LayerEditBio.moldActor

Definition at line 11 of file LayerEditBio.cs.

Referenced by OnAfterAddLayer().


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