Elin Modding Docs Doc
Loading...
Searching...
No Matches
WidgetCodex Class Reference
Inheritance diagram for WidgetCodex:
Widget EMono WidgetSearch

Public Types

enum  SearchType { Codex , Search }
 
- Public Types inherited from Widget
enum  WidgetType { Default , ZoomMenu }
 
enum  State { Active , Inactive }
 

Public Member Functions

override void OnActivate ()
 
void Clear ()
 
virtual void Search (string s)
 
virtual void RefreshList ()
 
virtual bool CheckClose ()
 
- Public Member Functions inherited from Widget
void Test ()
 
bool IsInRightMode ()
 
void Activate ()
 
virtual object CreateExtra ()
 
void Deactivate ()
 
virtual void OnDeactivate ()
 
void Close ()
 
void Reactivate ()
 
virtual void OnManagerActivate ()
 
virtual void OnManagerDeactivate ()
 
void SetAnchor (RectPosition p)
 
void SetPivot (RectPosition p)
 
virtual void OnChangePivot ()
 
void UpdateConfig ()
 
virtual void OnUpdateConfig ()
 
void ClampToScreen ()
 
virtual void OnChangeResolution ()
 
void OnChangePosition ()
 
virtual void OnChangeActionMode ()
 
virtual void OnFlip ()
 
bool IsAlignTop ()
 
Layer AddLayer (Layer l, Transform trans)
 
void RefreshTipPivotPosition ()
 
SkinSet GetSkin ()
 
SkinConfig GetSkinConfig ()
 
void SetSkin (int id, int v=0)
 
void TestSkin ()
 
virtual void ApplySkin ()
 
virtual void OnApplySkin ()
 
void InstantiateDeco (SkinDeco deco)
 
void AddDeco (SkinDeco deco)
 
void RemoveDeco (SkinDeco deco)
 
virtual bool CanShowContextMenu ()
 
void ShowContextMenu ()
 
void SetBaseContextMenu (UIContextMenu m)
 
virtual void OnSetContextMenu (UIContextMenu m)
 
void SetGridContextMenu (UIContextMenu m)
 
void SoundActivate ()
 

Public Attributes

InputField field
 
WordSearch search = new WordSearch()
 
UIDynamicList list
 
HashSet< Reciperecipes = new HashSet<Recipe>()
 
string lastSearch
 
UIButton buttonClear
 
Transform transResult
 
- Public Attributes inherited from Widget
Image imageBG
 
SoundData soundActivate
 
UIDragPanel dragPanel
 
RectTransform tipPivotLeft
 
RectTransform tipPivotRight
 

Properties

virtual WidgetCodex.SearchType type [get]
 
- Properties inherited from Widget
string ID [get]
 
Widget.Config config [get]
 
SkinRoot skinRoot [get]
 
bool IsSealed [get]
 
virtual bool ShowStyleMenu [get]
 
virtual bool AlwaysTop [get]
 
virtual bool IsStaticPosition [get]
 
virtual bool AlwaysBottom [get]
 
virtual Type SetSiblingAfter [get]
 
virtual bool ShowInBuildMode [get]
 
virtual bool RightClickToClose [get]
 
virtual bool AllowRightClickToClose [get]
 
- Properties inherited from EMono
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 Scene scene [get]
 
static BaseGameScreen screen [get]
 
static GameSetting setting [get]
 
static GameData gamedata [get]
 
static ColorProfile Colors [get]
 
static World world [get]
 
static SoundManager Sound [get]
 
static SourceManager sources [get]
 
static SourceManager editorSources [get]
 
static CoreDebug debug [get]
 

Additional Inherited Members

- Static Public Member Functions inherited from EMono
static int rnd (int a)
 
- Static Public Attributes inherited from EMono
static Core core
 
- Protected Member Functions inherited from Widget
void ClampToScreenEnsured (Component c, Vector2 anchoredPos)
 
void ClampToScreen (RectTransform rect, float margin=10f)
 
- Protected Attributes inherited from Widget
bool flip
 

Detailed Description

Definition at line 8 of file WidgetCodex.cs.

Member Enumeration Documentation

◆ SearchType

enum WidgetCodex.SearchType

Definition at line 168 of file WidgetCodex.cs.

Member Function Documentation

◆ CheckClose()

virtual bool WidgetCodex.CheckClose ( )
virtual

Definition at line 138 of file WidgetCodex.cs.

◆ Clear()

void WidgetCodex.Clear ( )

Definition at line 34 of file WidgetCodex.cs.

◆ OnActivate()

override void WidgetCodex.OnActivate ( )
virtual

Reimplemented from Widget.

Definition at line 21 of file WidgetCodex.cs.

◆ RefreshList()

virtual void WidgetCodex.RefreshList ( )
virtual

Definition at line 82 of file WidgetCodex.cs.

◆ Search()

virtual void WidgetCodex.Search ( string s)
virtual

Definition at line 40 of file WidgetCodex.cs.

Member Data Documentation

◆ buttonClear

UIButton WidgetCodex.buttonClear

Definition at line 159 of file WidgetCodex.cs.

◆ field

InputField WidgetCodex.field

Definition at line 144 of file WidgetCodex.cs.

◆ lastSearch

string WidgetCodex.lastSearch

Definition at line 156 of file WidgetCodex.cs.

◆ list

UIDynamicList WidgetCodex.list

Definition at line 150 of file WidgetCodex.cs.

◆ recipes

HashSet<Recipe> WidgetCodex.recipes = new HashSet<Recipe>()

Definition at line 153 of file WidgetCodex.cs.

◆ search

WordSearch WidgetCodex.search = new WordSearch()

Definition at line 147 of file WidgetCodex.cs.

◆ transResult

Transform WidgetCodex.transResult

Definition at line 162 of file WidgetCodex.cs.

Property Documentation

◆ type

virtual WidgetCodex.SearchType WidgetCodex.type
get

Definition at line 12 of file WidgetCodex.cs.


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