summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/GuildMineEntranceBehaviour.cs
blob: 24a86296d1320c0d1c948e5a150b0289dc655fbc (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
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class GuildMineEntranceBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_Close;

		public IXUIButton m_Help;

		public IXUIButton m_Join;

		public IXUILabel m_GameRule;

		public IXUILabel m_ActivityTime;

		public XUIPool m_RewardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		private void Awake()
		{
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
			this.m_Join = (base.transform.Find("Bg/Join").GetComponent("XUIButton") as IXUIButton);
			this.m_GameRule = (base.transform.Find("Bg/GameRule").GetComponent("XUILabel") as IXUILabel);
			this.m_ActivityTime = (base.transform.Find("Bg/Time").GetComponent("XUILabel") as IXUILabel);
			Transform transform = base.transform.Find("Bg/ExReward/ListPanel/ItemTpl");
			this.m_RewardPool.SetupPool(null, transform.gameObject, 5u, false);
		}
	}
}