diff options
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/BattleMysteriourHandler.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/BattleMysteriourHandler.cs | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/BattleMysteriourHandler.cs b/Client/Assets/Scripts/XMainClient/UI/BattleMysteriourHandler.cs new file mode 100644 index 00000000..8615d1b9 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/BattleMysteriourHandler.cs @@ -0,0 +1,59 @@ +using System;
+using UILib;
+using UnityEngine;
+
+namespace XMainClient.UI
+{
+ internal class BattleMysteriourHandler : DlgHandlerBase
+ {
+ protected override string FileName
+ {
+ get
+ {
+ return "";
+ }
+ }
+
+ private IXUILabel m_lblLevel;
+
+ private IXUILabel m_lblTime;
+
+ private GameObject[] m_icons = new GameObject[3];
+
+ private IXUISlider m_slider;
+
+ protected override void Init()
+ {
+ base.Init();
+ int i = 0;
+ int num = this.m_icons.Length;
+ while (i < num)
+ {
+ this.m_icons[i] = base.transform.Find(string.Concat(i)).gameObject;
+ i++;
+ }
+ this.m_lblLevel = (base.transform.Find("").GetComponent("") as IXUILabel);
+ this.m_lblTime = (base.transform.Find("").GetComponent("") as IXUILabel);
+ this.m_slider = (base.transform.Find("").GetComponent("") as IXUISlider);
+ }
+
+ protected override void OnShow()
+ {
+ base.OnShow();
+ this.m_lblLevel.SetText("");
+ this.m_lblTime.SetText("");
+ this.RefreshBuff();
+ }
+
+ private void RefreshBuff()
+ {
+ int i = 0;
+ int num = this.m_icons.Length;
+ while (i < num)
+ {
+ this.m_icons[i].SetActive(false);
+ i++;
+ }
+ }
+ }
+}
|