diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs b/Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs new file mode 100644 index 00000000..a2d8b74d --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs @@ -0,0 +1,39 @@ +using System;
+using UILib;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class AbyssPartyBattleHandler : DlgHandlerBase
+ {
+ protected override string FileName
+ {
+ get
+ {
+ return "Battle/AbyssPartyBattleBegin";
+ }
+ }
+
+ private XAbyssPartyDocument doc = null;
+
+ private IXUILabel m_Difficulty;
+
+ protected override void Init()
+ {
+ base.Init();
+ this.doc = XDocuments.GetSpecificDocument<XAbyssPartyDocument>(XAbyssPartyDocument.uuID);
+ this.m_Difficulty = (base.transform.Find("Bg/Difficulty/Title").GetComponent("XUILabel") as IXUILabel);
+ }
+
+ protected override void OnShow()
+ {
+ base.OnShow();
+ AbyssPartyListTable.RowData abyssPartyList = this.doc.GetAbyssPartyList();
+ bool flag = abyssPartyList != null;
+ if (flag)
+ {
+ this.m_Difficulty.SetText(abyssPartyList.Name);
+ }
+ }
+ }
+}
|