From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../XMainClient/UI/GuildQualifierBehavior.cs | 72 ++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/GuildQualifierBehavior.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/GuildQualifierBehavior.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/GuildQualifierBehavior.cs b/Client/Assets/Scripts/XMainClient/UI/GuildQualifierBehavior.cs new file mode 100644 index 00000000..04fed371 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/GuildQualifierBehavior.cs @@ -0,0 +1,72 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; +using XUtliPoolLib; + +namespace XMainClient.UI +{ + internal class GuildQualifierBehavior : DlgBehaviourBase + { + public IXUIButton m_Close; + + public IXUIButton m_Go; + + public IXUIScrollView m_RankScrollView; + + public IXUIWrapContent m_RankWrapContent; + + public IXUIScrollView m_FrameScrollView; + + public IXUIWrapContent m_FrameWrapContent; + + public IXUILabel m_Time; + + public IXUILabel m_Rule; + + public IXUILabel m_Content; + + public IXUILabel m_EmptyRank; + + public Transform m_SelfRankWrapItem; + + public IXUICheckBox m_SelectAll; + + public IXUICheckBox m_SelectSelf; + + public Transform m_RewardList; + + public XUIPool m_FrameItemPool = new XUIPool(XSingleton.singleton.m_uiTool); + + public XUIPool m_RewardPool = new XUIPool(XSingleton.singleton.m_uiTool); + + public Transform m_unJoin; + + public Transform m_Rank; + + public Transform m_Frame; + + private void Awake() + { + this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); + this.m_Go = (base.transform.Find("Bg/Frame/Go").GetComponent("XUIButton") as IXUIButton); + this.m_RankScrollView = (base.transform.Find("Bg/Rank/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView); + this.m_RankWrapContent = (base.transform.Find("Bg/Rank/ScrollView/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + this.m_FrameScrollView = (base.transform.Find("Bg/Frame/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView); + this.m_FrameWrapContent = (base.transform.Find("Bg/Frame/ScrollView/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + this.m_SelfRankWrapItem = base.transform.Find("Bg/Rank/RankTpl"); + this.m_EmptyRank = (base.transform.Find("Bg/Rank/EmptyRank").GetComponent("XUILabel") as IXUILabel); + this.m_SelectAll = (base.transform.Find("Bg/Rank/Select/All").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_SelectSelf = (base.transform.Find("Bg/Rank/Select/Self").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_Time = (base.transform.Find("Bg/Frame/Title/Time").GetComponent("XUILabel") as IXUILabel); + this.m_Rule = (base.transform.Find("Bg/Frame/Title/Rule").GetComponent("XUILabel") as IXUILabel); + this.m_Content = (base.transform.Find("Bg/Frame/content").GetComponent("XUILabel") as IXUILabel); + this.m_unJoin = base.transform.Find("Bg/EmptyRank"); + this.m_Rank = base.transform.Find("Bg/Rank"); + this.m_Frame = base.transform.Find("Bg/Frame"); + this.m_RewardList = base.transform.Find("Bg/Frame/Reward"); + Transform transform = base.transform.Find("Bg/Frame/Reward/item"); + this.m_RewardPool.SetupPool(transform.parent.parent.gameObject, transform.gameObject, 3u, true); + } + } +} -- cgit v1.1-26-g67d0