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

namespace XMainClient.UI
{
	internal class HallFameBehavior : DlgBehaviourBase
	{
		public IXUIButton CloseBtn;

		public IXUIButton RankBtn;

		public IXUIButton ShareBtn;

		public IXUIButton SupportBtn;

		public IXUIButton HelpBtn;

		public IXUILabel DateSeasonLabel;

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

		public Transform RoleList;

		public Transform RoleDetail;

		public Transform RecentEmpty;

		public Transform CurrentEmpty;

		public GameObject EffectWidget;

		private void Awake()
		{
			this.CloseBtn = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.RankBtn = (base.transform.Find("Bg/RankList").GetComponent("XUIButton") as IXUIButton);
			this.ShareBtn = (base.transform.Find("Bg/BtnShare").GetComponent("XUIButton") as IXUIButton);
			this.SupportBtn = (base.transform.Find("Bg/Support").GetComponent("XUIButton") as IXUIButton);
			this.HelpBtn = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
			this.DateSeasonLabel = (base.transform.Find("Bg/date").GetComponent("XUILabel") as IXUILabel);
			Transform transform = base.transform.Find("Bg/Tabs/TabTpl");
			this.TabPool.SetupPool(transform.parent.gameObject, transform.gameObject, 4u, false);
			this.RoleList = base.transform.Find("Bg/RoleList");
			this.RoleDetail = base.transform.Find("Bg/RoleDetail");
			this.RecentEmpty = this.RoleDetail.Find("HistoryRecord/Emport");
			this.CurrentEmpty = this.RoleDetail.Find("Empty");
			this.EffectWidget = base.transform.Find("Bg/EffectWidget").gameObject;
		}
	}
}