summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XGuildSignInBehaviour.cs
blob: 87b78347c3bb5f6fce2440f624f43ca25556b787 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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);
		}
	}
}