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

Classes

class  SaveData
 

Public Member Functions

void OnActivateZone ()
 
void OnGameInstantiated ()
 
void OnKillGame ()
 
void OnChangeActionMode ()
 
void UpdateConfigs ()
 
void Activate (string id)
 
Widget Toggle (string id)
 
Widget Toggle (Widget.Config c)
 
void ToggleLock (Widget.Config c)
 
Widget ActivateWidget (Widget.Config c)
 
Widget ActivateWidget (string id)
 
void RefreshWidget (Widget.Config c)
 
void RefreshWidget (Widget w)
 
Widget GetWidget (string id)
 
void DeactivateWidget (string id)
 
void DeactivateWidget (Widget w)
 
void KillWidgets ()
 
void Show ()
 
void Hide ()
 
void Reset (bool toggleTheme)
 
void DialogSave (Action onSave=null)
 
void DialogLoad (Action onLoad=null)
 
void Save (string path=null)
 
void Load (bool isSubTheme, string path=null)
 

Public Attributes

Dictionary< string, Widget.MetametaMap = new Dictionary<string, Widget.Meta>()
 
string currentPath
 
List< Widgetlist = new List<Widget>()
 

Properties

List< Widget.Metametas [get]
 
Dictionary< string, Widget.Configconfigs [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
 

Detailed Description

Definition at line 9 of file WidgetManager.cs.

Member Function Documentation

◆ Activate()

void WidgetManager.Activate ( string id)

Definition at line 154 of file WidgetManager.cs.

◆ ActivateWidget() [1/2]

Widget WidgetManager.ActivateWidget ( string id)

Definition at line 200 of file WidgetManager.cs.

◆ ActivateWidget() [2/2]

Widget WidgetManager.ActivateWidget ( Widget.Config c)

Definition at line 194 of file WidgetManager.cs.

◆ DeactivateWidget() [1/2]

void WidgetManager.DeactivateWidget ( string id)

Definition at line 271 of file WidgetManager.cs.

◆ DeactivateWidget() [2/2]

void WidgetManager.DeactivateWidget ( Widget w)

Definition at line 277 of file WidgetManager.cs.

◆ DialogLoad()

void WidgetManager.DialogLoad ( Action onLoad = null)

Definition at line 367 of file WidgetManager.cs.

◆ DialogSave()

void WidgetManager.DialogSave ( Action onSave = null)

Definition at line 345 of file WidgetManager.cs.

◆ GetWidget()

Widget WidgetManager.GetWidget ( string id)

Definition at line 258 of file WidgetManager.cs.

◆ Hide()

void WidgetManager.Hide ( )

Definition at line 312 of file WidgetManager.cs.

◆ KillWidgets()

void WidgetManager.KillWidgets ( )

Definition at line 292 of file WidgetManager.cs.

◆ Load()

void WidgetManager.Load ( bool isSubTheme,
string path = null )

Definition at line 396 of file WidgetManager.cs.

◆ OnActivateZone()

void WidgetManager.OnActivateZone ( )

Definition at line 32 of file WidgetManager.cs.

◆ OnChangeActionMode()

void WidgetManager.OnChangeActionMode ( )

Definition at line 136 of file WidgetManager.cs.

◆ OnGameInstantiated()

void WidgetManager.OnGameInstantiated ( )

Definition at line 62 of file WidgetManager.cs.

◆ OnKillGame()

void WidgetManager.OnKillGame ( )

Definition at line 130 of file WidgetManager.cs.

◆ RefreshWidget() [1/2]

void WidgetManager.RefreshWidget ( Widget w)

Definition at line 248 of file WidgetManager.cs.

◆ RefreshWidget() [2/2]

void WidgetManager.RefreshWidget ( Widget.Config c)

Definition at line 242 of file WidgetManager.cs.

◆ Reset()

void WidgetManager.Reset ( bool toggleTheme)

Definition at line 324 of file WidgetManager.cs.

◆ Save()

void WidgetManager.Save ( string path = null)

Definition at line 385 of file WidgetManager.cs.

◆ Show()

void WidgetManager.Show ( )

Definition at line 300 of file WidgetManager.cs.

◆ Toggle() [1/2]

Widget WidgetManager.Toggle ( string id)

Definition at line 163 of file WidgetManager.cs.

◆ Toggle() [2/2]

Widget WidgetManager.Toggle ( Widget.Config c)

Definition at line 175 of file WidgetManager.cs.

◆ ToggleLock()

void WidgetManager.ToggleLock ( Widget.Config c)

Definition at line 187 of file WidgetManager.cs.

◆ UpdateConfigs()

void WidgetManager.UpdateConfigs ( )

Definition at line 145 of file WidgetManager.cs.

Member Data Documentation

◆ currentPath

string WidgetManager.currentPath

Definition at line 418 of file WidgetManager.cs.

◆ list

List<Widget> WidgetManager.list = new List<Widget>()

Definition at line 422 of file WidgetManager.cs.

◆ metaMap

Dictionary<string, Widget.Meta> WidgetManager.metaMap = new Dictionary<string, Widget.Meta>()

Definition at line 415 of file WidgetManager.cs.

Property Documentation

◆ configs

Dictionary<string, Widget.Config> WidgetManager.configs
get

Definition at line 23 of file WidgetManager.cs.

◆ metas

List<Widget.Meta> WidgetManager.metas
get

Definition at line 13 of file WidgetManager.cs.


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