summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/AbyssPartyBattleHandler.cs39
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);
+ }
+ }
+ }
+}