summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/ActivityRiftBehaviour.cs
blob: 923ea5f69514a195521abf884be552cc21025cd0 (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;

namespace XMainClient.UI
{
	internal class ActivityRiftBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_Help;

		public IXUIButton mMainClose;

		public IXUIButton m_btnFight;

		public IXUILabel m_lblFight;

		public const int max_rwd = 4;

		public const int max_buff = 5;

		public const int max_tab = 3;

		public GameObject[] m_goRwd = new GameObject[4];

		public GameObject[] m_goBuff = new GameObject[5];

		public IXUILabel m_lbltip;

		public IXUILabel m_lbldesc;

		public IXUILabel m_lbltime;

		public GameObject m_weekRwd;

		public IXUILabel m_lblMFloor;

		public IXUILabel m_lblMName;

		public IXUILabel m_lbblMTime;

		public IXUIButton m_btnShop;

		public IXUIButton m_btnIntro;

		public IXUIButton m_btnMember;

		public IXUIButton m_btnRwd;

		public IXUISprite m_sprRwdRed;

		public GameObject m_guildInfoPanel;

		public GameObject m_frameRankRwd;

		public GameObject m_frameWelfare;

		public GameObject m_frameWeek;

		public Transform m_tab;

		public IXUICheckBox[] m_tabs = new IXUICheckBox[3];

		public IXUISprite[] m_reds = new IXUISprite[3];

		private void Awake()
		{
			this.m_Help = (base.transform.Find("Bg/Stage/Help").GetComponent("XUIButton") as IXUIButton);
			this.mMainClose = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_btnFight = (base.transform.Find("Bg/Stage/GoBattle").GetComponent("XUIButton") as IXUIButton);
			this.m_lblFight = (base.transform.Find("Bg/Stage/fp").GetComponent("XUILabel") as IXUILabel);
			for (int i = 0; i < 4; i++)
			{
				this.m_goRwd[i] = base.transform.Find("Bg/Stage/Reward/Item" + i).gameObject;
			}
			for (int j = 0; j < 5; j++)
			{
				this.m_goBuff[j] = base.transform.Find("Bg/Stage/Buff/BossBuff" + j).gameObject;
			}
			this.m_tab = base.transform.Find("Bg/Rewd/TabsFrame");
			for (int k = 0; k < 3; k++)
			{
				this.m_tabs[k] = (this.m_tab.Find("item" + k + "/Bg").GetComponent("XUICheckBox") as IXUICheckBox);
				this.m_reds[k] = (this.m_tabs[k].gameObject.transform.Find("RedPoint").GetComponent("XUISprite") as IXUISprite);
			}
			this.m_lbltime = (base.transform.Find("Bg/Top/name").GetComponent("XUILabel") as IXUILabel);
			this.m_weekRwd = base.transform.Find("Bg/WeekReward").gameObject;
			this.m_lbblMTime = (base.transform.Find("Bg/Main/Time").GetComponent("XUILabel") as IXUILabel);
			this.m_lblMFloor = (base.transform.Find("Bg/Main/Floor").GetComponent("XUILabel") as IXUILabel);
			this.m_lblMName = (base.transform.Find("Bg/Main/Name").GetComponent("XUILabel") as IXUILabel);
			this.m_lbltip = (base.transform.Find("Bg/Stage/Buff/Tip").GetComponent("XUILabel") as IXUILabel);
			this.m_lbldesc = (base.transform.Find("Bg/Top/Text/T").GetComponent("XUILabel") as IXUILabel);
			this.m_btnShop = (base.transform.Find("Bg/btns/BtnShop").GetComponent("XUIButton") as IXUIButton);
			this.m_btnIntro = (base.transform.Find("Bg/btns/BtnIntroduce").GetComponent("XUIButton") as IXUIButton);
			this.m_btnMember = (base.transform.Find("Bg/btns/BtnMemberRank").GetComponent("XUIButton") as IXUIButton);
			this.m_btnRwd = (base.transform.Find("Bg/btns/BtnRwd").GetComponent("XUIButton") as IXUIButton);
			this.m_sprRwdRed = (this.m_btnRwd.gameObject.transform.Find("redpoint").GetComponent("XUISprite") as IXUISprite);
			this.m_guildInfoPanel = base.transform.Find("Bg/GuildRank").gameObject;
			this.m_frameRankRwd = base.transform.Find("Bg/Rewd/frames/RankRewardFrame").gameObject;
			this.m_frameWelfare = base.transform.Find("Bg/Rewd/frames/WelfareRewardFrame").gameObject;
			this.m_frameWeek = base.transform.Find("Bg/Rewd/frames/weekRewardFrame").gameObject;
		}
	}
}