using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; using XUtliPoolLib; namespace XMainClient { internal class XGuildSmallMonsterBehaviour : DlgBehaviourBase { public IXUIButton m_Close; public Transform m_DetailFrame; public Transform m_RankFrame; public XUIPool m_DropItemPool = new XUIPool(XSingleton.singleton.m_uiTool); public IXUILabel m_CurrentLevel; public IXUIButton m_BeginGame; public IXUILabel m_RemainTime; public IXUILabel m_lblWin; public IXUILabel m_lblThisday; public IXUILabel m_lblNextday; public IXUIButton m_btnrwdRank; public IXUIButton m_btnHelp; public IXUILabel m_lblEmpt; public IXUILabel m_lblType; public XUIPool m_KillRankPool = new XUIPool(XSingleton.singleton.m_uiTool); private void Awake() { this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); this.m_DetailFrame = base.transform.Find("Bg/DetailFrame"); this.m_RankFrame = base.transform.Find("Bg/RankFrame"); Transform transform = this.m_DetailFrame.Find("DropFrame/Item"); this.m_DropItemPool.SetupPool(transform.parent.gameObject, transform.gameObject, 3u, false); this.m_CurrentLevel = (this.m_DetailFrame.Find("CurrentLevel").GetComponent("XUILabel") as IXUILabel); this.m_BeginGame = (this.m_DetailFrame.Find("BeginGame").GetComponent("XUIButton") as IXUIButton); this.m_RemainTime = (this.m_DetailFrame.Find("Pic/RemainTime").GetComponent("XUILabel") as IXUILabel); this.m_lblWin = (this.m_DetailFrame.Find("WinCondition").GetComponent("XUILabel") as IXUILabel); this.m_lblThisday = (this.m_DetailFrame.Find("Pic/Name").GetComponent("XUILabel") as IXUILabel); this.m_lblNextday = (this.m_DetailFrame.Find("Tomorrow").GetComponent("XUILabel") as IXUILabel); this.m_btnrwdRank = (this.m_DetailFrame.Find("RwdRank").GetComponent("XUIButton") as IXUIButton); this.m_btnHelp = (this.m_DetailFrame.Find("Help").GetComponent("XUIButton") as IXUIButton); transform = this.m_RankFrame.Find("Bg/Panel/MemberTpl"); this.m_KillRankPool.SetupPool(transform.parent.gameObject, transform.gameObject, 20u, false); this.m_lblEmpt = (this.m_RankFrame.Find("Bg/Empty").GetComponent("XUILabel") as IXUILabel); this.m_lblType = (this.m_RankFrame.Find("Bg/title/title2").GetComponent("XUILabel") as IXUILabel); } } }