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

namespace XMainClient.UI
{
	internal class XTeamBattleConfirmBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_OK = null;

		public IXUIButton m_Cancel = null;

		public IXUILabel m_DungeonName;

		public IXUIProgress m_Progress;

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

		public GameObject m_GoldGroup;

		public IXUILabel m_statLab;

		public GameObject m_tipsGo;

		public IXUILabel m_CommonTip;

		public GameObject m_RiftPanel;

		public static int RiftBuffCount = 5;

		public GameObject[] m_RiftBuffs;

		private void Awake()
		{
			this.m_OK = (base.transform.Find("Bg/OK").GetComponent("XUIButton") as IXUIButton);
			this.m_Cancel = (base.transform.Find("Bg/Cancel").GetComponent("XUIButton") as IXUIButton);
			this.m_DungeonName = (base.transform.Find("Bg/DungeonName").GetComponent("XUILabel") as IXUILabel);
			this.m_Progress = (base.transform.Find("Bg/Progress").GetComponent("XUIProgress") as IXUIProgress);
			this.m_GoldGroup = base.transform.Find("Bg/RewardHunt").gameObject;
			Transform transform = base.transform.Find("Bg/Members/Tpl");
			this.m_Pool.SetupPool(transform.parent.gameObject, transform.gameObject, 4u, false);
			this.m_statLab = (base.transform.Find("Bg/Start").GetComponent("XUILabel") as IXUILabel);
			this.m_tipsGo = base.transform.Find("LetsMakeFriends").gameObject;
			this.m_CommonTip = (base.transform.Find("Tip").GetComponent("XUILabel") as IXUILabel);
			this.m_RiftPanel = base.transform.Find("Bg/RiftBuff").gameObject;
			this.m_RiftBuffs = new GameObject[XTeamBattleConfirmBehaviour.RiftBuffCount];
			for (int i = 0; i < XTeamBattleConfirmBehaviour.RiftBuffCount; i++)
			{
				this.m_RiftBuffs[i] = this.m_RiftPanel.transform.Find("BossBuff" + i).gameObject;
			}
		}
	}
}