Elin Modding Docs Doc
Loading...
Searching...
No Matches
LayerProgress Class Reference
Inheritance diagram for LayerProgress:
ELayer

Public Member Functions

void Init (string hint)
 
void Update ()
 
- Public Member Functions inherited from ELayer
override void OnBeforeAddLayer ()
 
void InitInspector ()
 
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 ()
 

Static Public Member Functions

static LayerProgress StartAsync (string text, UniTask< bool > task, Action onCancel=null)
 
static LayerProgress Start (string text, Action onComplete=null)
 
static void Start (string text, Action thread, Action onComplete)
 
- Static Public Member Functions inherited from ELayer
static int rnd (int a)
 

Public Attributes

float speed
 
float minTime
 
float endTime
 
float minProgress
 
Slider bar
 
Text text
 
Action onComplete
 
Func< bool > funcComplete
 
UniTask< bool > unitask
 
Action onCancel
 
bool useUnitask
 
CanvasGroup cg
 

Static Public Attributes

static bool completed
 
static bool isActive
 
static float progress
 

Additional Inherited Members

- Protected Member Functions inherited from ELayer
override void _Close ()
 
override void Kill ()
 
- 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]
 

Detailed Description

Definition at line 11 of file LayerProgress.cs.

Member Function Documentation

◆ Init()

void LayerProgress.Init ( string hint)

Definition at line 14 of file LayerProgress.cs.

◆ Start() [1/2]

static LayerProgress LayerProgress.Start ( string text,
Action onComplete = null )
static

Definition at line 75 of file LayerProgress.cs.

◆ Start() [2/2]

static void LayerProgress.Start ( string text,
Action thread,
Action onComplete )
static

Definition at line 84 of file LayerProgress.cs.

◆ StartAsync()

static LayerProgress LayerProgress.StartAsync ( string text,
UniTask< bool > task,
Action onCancel = null )
static

Definition at line 64 of file LayerProgress.cs.

◆ Update()

void LayerProgress.Update ( )

Definition at line 25 of file LayerProgress.cs.

Member Data Documentation

◆ bar

Slider LayerProgress.bar

Definition at line 124 of file LayerProgress.cs.

◆ cg

CanvasGroup LayerProgress.cg

Definition at line 145 of file LayerProgress.cs.

◆ completed

bool LayerProgress.completed
static

Definition at line 103 of file LayerProgress.cs.

◆ endTime

float LayerProgress.endTime

Definition at line 118 of file LayerProgress.cs.

◆ funcComplete

Func<bool> LayerProgress.funcComplete

Definition at line 133 of file LayerProgress.cs.

◆ isActive

bool LayerProgress.isActive
static

Definition at line 106 of file LayerProgress.cs.

◆ minProgress

float LayerProgress.minProgress

Definition at line 121 of file LayerProgress.cs.

◆ minTime

float LayerProgress.minTime

Definition at line 115 of file LayerProgress.cs.

◆ onCancel

Action LayerProgress.onCancel

Definition at line 139 of file LayerProgress.cs.

◆ onComplete

Action LayerProgress.onComplete

Definition at line 130 of file LayerProgress.cs.

◆ progress

float LayerProgress.progress
static

Definition at line 109 of file LayerProgress.cs.

◆ speed

float LayerProgress.speed

Definition at line 112 of file LayerProgress.cs.

◆ text

Text LayerProgress.text

Definition at line 127 of file LayerProgress.cs.

◆ unitask

UniTask<bool> LayerProgress.unitask

Definition at line 136 of file LayerProgress.cs.

◆ useUnitask

bool LayerProgress.useUnitask

Definition at line 142 of file LayerProgress.cs.


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