using System; using UILib; using UnityEngine; using XMainClient.UI.UICommon; using XUtliPoolLib; namespace XMainClient.UI { internal class XGuildSignInBehaviour : DlgBehaviourBase { public IXUIButton m_Close = null; public IXUIButton m_BtnLog; public IXUIProgress m_ExpProgress; public XUIPool m_ChestPool = new XUIPool(XSingleton.singleton.m_uiTool); public IXUILabel m_MemberCount; public IXUILabel m_Exp; public XNumberTween m_ExpTween; public XUIPool m_SignInButtonPool = new XUIPool(XSingleton.singleton.m_uiTool); public GameObject m_LogPanel; private void Awake() { this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton); this.m_BtnLog = (base.transform.Find("Bg/BtnLog").GetComponent("XUIButton") as IXUIButton); this.m_LogPanel = base.transform.Find("Bg/LogPanel").gameObject; Transform transform = base.transform.Find("Bg/Progress/Chests/ChestTpl"); this.m_ChestPool.SetupPool(transform.parent.gameObject, transform.gameObject, 2u, false); transform = base.transform.Find("Bg/SignInButtons/SignInButtonTpl"); this.m_SignInButtonPool.SetupPool(transform.parent.gameObject, transform.gameObject, 3u, false); this.m_ExpProgress = (base.transform.Find("Bg/Progress").GetComponent("XUIProgress") as IXUIProgress); this.m_MemberCount = (base.transform.Find("Bg/MemberCount").GetComponent("XUILabel") as IXUILabel); this.m_Exp = (base.transform.Find("Bg/CurrentExp").GetComponent("XUILabel") as IXUILabel); this.m_ExpTween = XNumberTween.Create(this.m_Exp); this.m_ExpTween.SetNumberWithTween(0UL, "", false, true); } } }