summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Guild/XGuildSmallMonsterBehaviour.cs
blob: b70f75529747a91c47070d39dcab3f6716dceed4 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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<XGameUI>.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<XGameUI>.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);
		}
	}
}