summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/CompeteNestBehaviour.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/CompeteNestBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/CompeteNestBehaviour.cs54
1 files changed, 54 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/CompeteNestBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/CompeteNestBehaviour.cs
new file mode 100644
index 00000000..f4272ac4
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/CompeteNestBehaviour.cs
@@ -0,0 +1,54 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient.UI
+{
+ internal class CompeteNestBehaviour : DlgBehaviourBase
+ {
+ public IXUITexture m_bgTexture;
+
+ public IXUILabel m_tittleLab;
+
+ public IXUILabel m_timesLab;
+
+ public IXUILabel m_tipsLab;
+
+ public IXUIButton m_rankBtn;
+
+ public IXUIButton m_goBattleBtn;
+
+ public IXUIButton m_closedBtn;
+
+ public IXUIButton m_claimBtn;
+
+ public Transform m_claimredpoint;
+
+ public GameObject m_itemsGo;
+
+ public Transform m_rankTra;
+
+ public XUIPool m_ItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ private void Awake()
+ {
+ this.m_rankTra = base.transform.Find("Rank");
+ this.m_closedBtn = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
+ Transform transform = base.transform.Find("Main/Tittles");
+ this.m_tittleLab = (transform.Find("Tittle1").GetComponent("XUILabel") as IXUILabel);
+ this.m_timesLab = (base.transform.Find("Main/Right/Times").GetComponent("XUILabel") as IXUILabel);
+ transform = base.transform.Find("Main");
+ this.m_bgTexture = (transform.Find("P").GetComponent("XUITexture") as IXUITexture);
+ this.m_rankBtn = (transform.Find("RankBtn").GetComponent("XUIButton") as IXUIButton);
+ this.m_goBattleBtn = (transform.Find("Right/BtnStartTeam").GetComponent("XUIButton") as IXUIButton);
+ this.m_claimBtn = (transform.Find("Right/BtnStartSingle").GetComponent("XUIButton") as IXUIButton);
+ this.m_claimredpoint = transform.Find("Right/BtnStartSingle/RedPoint");
+ transform = base.transform.Find("Main/ListPanel");
+ this.m_itemsGo = transform.gameObject;
+ this.m_ItemPool.SetupPool(transform.gameObject, transform.Find("Grid/ItemTpl").gameObject, 2u, false);
+ this.m_tipsLab = (base.transform.Find("Main/t").GetComponent("XUILabel") as IXUILabel);
+ }
+ }
+}