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/ActivityWeekendPartyBehaviour.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/ActivityWeekendPartyBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/ActivityWeekendPartyBehaviour.cs | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/ActivityWeekendPartyBehaviour.cs b/Client/Assets/Scripts/XMainClient/ActivityWeekendPartyBehaviour.cs new file mode 100644 index 00000000..e5657880 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/ActivityWeekendPartyBehaviour.cs @@ -0,0 +1,52 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class ActivityWeekendPartyBehaviour : DlgBehaviourBase
+ {
+ public IXUILabel m_CurrActName;
+
+ public IXUILabel m_Rule;
+
+ public IXUILabel m_Times;
+
+ public IXUIButton m_SingleMatch;
+
+ public IXUIButton m_TeamMatch;
+
+ public IXUIButton m_Close;
+
+ public IXUILabel m_SingleMatchLabel;
+
+ public IXUIButton m_Help;
+
+ public IXUITexture m_Bg;
+
+ public IXUILabel m_TimeTip;
+
+ public IXUIList m_DropAward;
+
+ public XUIPool m_DropAwardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ private void Awake()
+ {
+ this.m_Rule = (base.transform.Find("Bg/Left/GameRule").GetComponent("XUILabel") as IXUILabel);
+ this.m_CurrActName = (base.transform.Find("Bg/Left/CurrName").GetComponent("XUILabel") as IXUILabel);
+ this.m_Times = (base.transform.Find("Bg/Right/Times").GetComponent("XUILabel") as IXUILabel);
+ this.m_TimeTip = (base.transform.Find("Bg/Right/Times/time").GetComponent("XUILabel") as IXUILabel);
+ this.m_SingleMatch = (base.transform.Find("Bg/Right/BtnStartSingle").GetComponent("XUIButton") as IXUIButton);
+ this.m_TeamMatch = (base.transform.Find("Bg/Right/BtnStartTeam").GetComponent("XUIButton") as IXUIButton);
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_SingleMatchLabel = (this.m_SingleMatch.gameObject.transform.Find("T").GetComponent("XUILabel") as IXUILabel);
+ this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
+ this.m_Bg = (base.transform.Find("Bg/Texture").GetComponent("XUITexture") as IXUITexture);
+ this.m_DropAward = (base.transform.Find("Bg/WeekReward/ListPanel/Grid").GetComponent("XUIList") as IXUIList);
+ Transform transform = this.m_DropAward.gameObject.transform.Find("ItemTpl");
+ this.m_DropAwardPool.SetupPool(transform.parent.parent.gameObject, transform.gameObject, 4u, false);
+ }
+ }
+}
|