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

Public Member Functions

override void OnInit ()
 
override void OnAfterInit ()
 
override void OnRightClick ()
 
- 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 ()
 

Static Public Member Functions

static void Toggle (string idFile, string idTopic=null)
 
- 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)
 

Public Attributes

UIBook book
 
- 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
 

Static Public Attributes

static string lastIdFile
 
static string lastIdTopic
 
- 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" }
 

Properties

override bool blockWidgetClick [get]
 
- 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]
 

Private Member Functions

void OnDestroy ()
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 1 of file LayerHelp.cs.

Member Function Documentation

◆ OnAfterInit()

override void LayerHelp.OnAfterInit ( )
inlinevirtual

Reimplemented from Layer.

Definition at line 19 of file LayerHelp.cs.

20 {
21 switch (book.mode)
22 {
23 case UIBook.Mode.Announce:
24 book.Show("version" + (ELayer.core.version.demo ? "_demo" : ""));
25 break;
26 case UIBook.Mode.About:
27 book.Show("about_EA");
28 break;
29 }
30 }
Version version
Definition: BaseCore.cs:17
Definition: ELayer.cs:4
static Core core
Definition: ELayer.cs:7
UIBook book
Definition: LayerHelp.cs:7
Definition: UIBook.cs:9
Mode
Definition: UIBook.cs:11
Mode mode
Definition: UIBook.cs:261
void Show(string _idFile=null, string _idTopic=null, string title=null, BookList.Item _bookItem=null)
Definition: UIBook.cs:457
bool demo
Definition: Version.cs:14

References book, ELayer.core, Version.demo, UIBook.mode, UIBook.Show(), and BaseCore.version.

◆ OnDestroy()

void LayerHelp.OnDestroy ( )
inlineprivate

Definition at line 53 of file LayerHelp.cs.

54 {
55 if (book.mode == UIBook.Mode.Help)
56 {
59 }
60 SkinManager.LimitFontSizeMod_UI = 999;
61 }
static string lastIdTopic
Definition: LayerHelp.cs:5
static string lastIdFile
Definition: LayerHelp.cs:3
string idTopic
Definition: UIBook.cs:288
string idFile
Definition: UIBook.cs:285

References book, UIBook.idFile, UIBook.idTopic, lastIdFile, lastIdTopic, and UIBook.mode.

◆ OnInit()

override void LayerHelp.OnInit ( )
inlinevirtual

Reimplemented from Layer.

Definition at line 11 of file LayerHelp.cs.

12 {
13 if (book.mode == UIBook.Mode.Book)
14 {
15 SkinManager.LimitFontSizeMod_UI = -2;
16 }
17 }

References book, and UIBook.mode.

◆ OnRightClick()

override void LayerHelp.OnRightClick ( )
inlinevirtual

Reimplemented from ELayer.

Definition at line 41 of file LayerHelp.cs.

42 {
43 if ((bool)book.inputSearch && book.transSearchResult.gameObject.activeSelf)
44 {
45 book.showSearchResult = false;
46 }
47 else
48 {
49 base.OnRightClick();
50 }
51 }
InputField inputSearch
Definition: UIBook.cs:312
Transform transSearchResult
Definition: UIBook.cs:318

References book, UIBook.inputSearch, and UIBook.transSearchResult.

◆ Toggle()

static void LayerHelp.Toggle ( string  idFile,
string  idTopic = null 
)
inlinestatic

Member Data Documentation

◆ book

UIBook LayerHelp.book

Definition at line 7 of file LayerHelp.cs.

Referenced by OnAfterInit(), OnDestroy(), OnInit(), OnRightClick(), and Toggle().

◆ lastIdFile

string LayerHelp.lastIdFile
static

Definition at line 3 of file LayerHelp.cs.

Referenced by HotItemLayer.OnClick(), and OnDestroy().

◆ lastIdTopic

string LayerHelp.lastIdTopic
static

Definition at line 5 of file LayerHelp.cs.

Referenced by HotItemLayer.OnClick(), and OnDestroy().

Property Documentation

◆ blockWidgetClick

override bool LayerHelp.blockWidgetClick
get

Definition at line 9 of file LayerHelp.cs.


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