summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/ItemAccessDlgBehaviour.cs
blob: 2284534f786ec5cd9fb2e448872fe498eb01e4ea (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.UI
{
	internal class ItemAccessDlgBehaviour : DlgBehaviourBase
	{
		public GameObject m_Item;

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

		public IXUIScrollView m_RecordScrollView;

		public IXUIButton m_Close;

		public GameObject m_BossItem;

		public IXUILabel m_bossDec;

		private void Awake()
		{
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Item = base.transform.Find("Bg/Item").gameObject;
			this.m_BossItem = base.transform.Find("Bg/Boss").gameObject;
			this.m_bossDec = (this.m_BossItem.transform.Find("Des").GetComponent("XUILabel") as IXUILabel);
			Transform transform = base.transform.Find("Bg/ListPanel/ItemTpl");
			this.m_RecordPool.SetupPool(transform.parent.gameObject, transform.gameObject, 4u, false);
			this.m_RecordScrollView = (base.transform.Find("Bg/ListPanel").GetComponent("XUIScrollView") as IXUIScrollView);
		}
	}
}