summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs45
1 files changed, 45 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs
new file mode 100644
index 00000000..87b78347
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs
@@ -0,0 +1,45 @@
+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<XGameUI>.singleton.m_uiTool);
+
+ public IXUILabel m_MemberCount;
+
+ public IXUILabel m_Exp;
+
+ public XNumberTween m_ExpTween;
+
+ public XUIPool m_SignInButtonPool = new XUIPool(XSingleton<XGameUI>.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);
+ }
+ }
+}