Elin Decompiled Documentation EA 23.102 Nightly
Loading...
Searching...
No Matches
BaseCore Class Reference
Inheritance diagram for BaseCore:
Core CoreEmu

Public Member Functions

virtual void ConsumeInput ()
 
void WaitForEndOfFrame (Action action)
 
virtual void StopEventSystem (float duration=0.2f)
 
virtual void StopEventSystem (Component c, Action action, float duration=0.15f)
 
virtual void FreezeScreen (float duration=0.3f)
 
virtual void UnfreezeScreen ()
 
virtual void RebuildBGMList ()
 

Public Attributes

Version version
 
Version versionMoongate
 
Version versionMod
 
ReleaseMode releaseMode
 
string langCode
 
EventSystem eventSystem
 
List< Action > actionsLateUpdate = new List<Action>()
 
List< Action > actionsNextFrame = new List<Action>()
 
Canvas canvas
 
string forceLangCode
 
int frame
 

Static Public Attributes

static bool IsOffline
 
static BaseCore Instance
 
static bool resetRuntime
 
static Func< bool > BlockInput
 

Protected Member Functions

virtual void Awake ()
 

Protected Attributes

int lastScreenWidth
 
int lastScreenHeight
 

Properties

virtual float uiScale [get]
 

Private Member Functions

IEnumerator _WaitForEndOfFrame (Action action)
 

Detailed Description

Definition at line 7 of file BaseCore.cs.

Member Function Documentation

◆ _WaitForEndOfFrame()

IEnumerator BaseCore._WaitForEndOfFrame ( Action  action)
inlineprivate

Definition at line 66 of file BaseCore.cs.

67 {
68 yield return new WaitForEndOfFrame();
69 action();
70 }
void WaitForEndOfFrame(Action action)
Definition: BaseCore.cs:61

References WaitForEndOfFrame().

Referenced by WaitForEndOfFrame().

◆ Awake()

virtual void BaseCore.Awake ( )
inlineprotectedvirtual

Reimplemented in Core, and CoreEmu.

Definition at line 48 of file BaseCore.cs.

49 {
50 GameObject[] array = GameObject.FindGameObjectsWithTag("Temp");
51 for (int i = 0; i < array.Length; i++)
52 {
53 UnityEngine.Object.DestroyImmediate(array[i]);
54 }
55 }

◆ ConsumeInput()

virtual void BaseCore.ConsumeInput ( )
inlinevirtual

Reimplemented in Core.

Definition at line 57 of file BaseCore.cs.

58 {
59 }

Referenced by UIContextMenu.Hide().

◆ FreezeScreen()

virtual void BaseCore.FreezeScreen ( float  duration = 0::3f)
inlinevirtual

Reimplemented in Core.

Definition at line 80 of file BaseCore.cs.

81 {
82 }

Referenced by UIDynamicList.List(), and ListPeopleCallReserve.OnClick().

◆ RebuildBGMList()

virtual void BaseCore.RebuildBGMList ( )
inlinevirtual

Reimplemented in Core.

Definition at line 88 of file BaseCore.cs.

89 {
90 }

◆ StopEventSystem() [1/2]

virtual void BaseCore.StopEventSystem ( Component  c,
Action  action,
float  duration = 0::15f 
)
inlinevirtual

Reimplemented in Core.

Definition at line 76 of file BaseCore.cs.

77 {
78 }

◆ StopEventSystem() [2/2]

virtual void BaseCore.StopEventSystem ( float  duration = 0::2f)
inlinevirtual

Reimplemented in Core.

Definition at line 72 of file BaseCore.cs.

73 {
74 }

Referenced by UIList.RemoveDynamic().

◆ UnfreezeScreen()

virtual void BaseCore.UnfreezeScreen ( )
inlinevirtual

Reimplemented in Core.

Definition at line 84 of file BaseCore.cs.

85 {
86 }

Referenced by UIDynamicList.List().

◆ WaitForEndOfFrame()

Member Data Documentation

◆ actionsLateUpdate

List<Action> BaseCore.actionsLateUpdate = new List<Action>()

◆ actionsNextFrame

◆ BlockInput

Func<bool> BaseCore.BlockInput
static

Definition at line 15 of file BaseCore.cs.

Referenced by Layer.OnClickClose().

◆ canvas

Canvas BaseCore.canvas

◆ eventSystem

EventSystem BaseCore.eventSystem

Definition at line 27 of file BaseCore.cs.

Referenced by UIContextMenu.Hide(), and ELayer.Kill().

◆ forceLangCode

string BaseCore.forceLangCode

Definition at line 37 of file BaseCore.cs.

Referenced by Core.Awake(), and Core.StartCase().

◆ frame

int BaseCore.frame

Definition at line 40 of file BaseCore.cs.

Referenced by Core.Update().

◆ Instance

◆ IsOffline

bool BaseCore.IsOffline
static

Definition at line 9 of file BaseCore.cs.

Referenced by ModManager.Init(), LayerMod.OnInit(), and Core.StartCase().

◆ langCode

string BaseCore.langCode

Definition at line 25 of file BaseCore.cs.

Referenced by CoreConfig.Init(), and Core.StartCase().

◆ lastScreenHeight

int BaseCore.lastScreenHeight
protected

Definition at line 44 of file BaseCore.cs.

Referenced by Core.Update().

◆ lastScreenWidth

int BaseCore.lastScreenWidth
protected

Definition at line 42 of file BaseCore.cs.

Referenced by Core.Update().

◆ releaseMode

ReleaseMode BaseCore.releaseMode

Definition at line 23 of file BaseCore.cs.

Referenced by Core.Awake(), and CoreDebug.UpdateInput().

◆ resetRuntime

bool BaseCore.resetRuntime
static

Definition at line 13 of file BaseCore.cs.

Referenced by Core.Awake().

◆ version

◆ versionMod

Version BaseCore.versionMod

Definition at line 21 of file BaseCore.cs.

Referenced by BaseModPackage.IsValidVersion().

◆ versionMoongate

Version BaseCore.versionMoongate

Definition at line 19 of file BaseCore.cs.

Referenced by MapMetaData.IsValidVersion(), and Net.DownloadMeta.IsValidVersion().

Property Documentation

◆ uiScale

virtual float BaseCore.uiScale
get

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