summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XQualifyingBehaviour.cs
blob: 000c0b82ad5057d3786100cfbbe0ee34393a386e (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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

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

		public IXUIButton m_Help;

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

		public IXUISprite m_UnOpen2V2;

		public Transform m_Bg;

		public IXUIButton m_ShopBtn;

		public IXUIButton m_RankBtn;

		public IXUIButton m_BattleRecordBtn;

		public IXUIButton m_TrainBtn;

		public IXUITexture m_PointRewardBtn;

		public Transform m_PointRewardRedPoint;

		public IXUIButton m_RankRewardBtn;

		public IXUIButton m_Match1V1Btn;

		public IXUILabel m_Match1V1BtnLabel;

		public IXUIButton m_Match2V2Btn;

		public IXUILabel m_Match2V2BtnLabel;

		public IXUIButton m_TeamBtn;

		public Transform m_Message;

		public IXUILabel m_TotalRecords;

		public IXUILabel m_WinRecord;

		public IXUILabel m_LoseRecord;

		public IXUILabel m_WinRate;

		public IXUILabel m_CurrentRank;

		public IXUILabel m_RankEndTips;

		public Transform m_ChallengeFrame;

		public IXUITexture m_Tier;

		public IXUILabel m_WinOfPoint;

		public XNumberTween m_NumberTween;

		public IXUILabelSymbol m_ChallengeTip;

		public IXUILabel m_ChallengeTipText;

		public GameObject m_FxFireworkGo;

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

		public IXUICheckBox m_RankTypeAll;

		public XQualifyingRankWindow m_RankWindow;

		public XQualifyingRankRewardWindow m_RankRewardWindow;

		public XQualifyingPointRewardWindow m_PointRewardWindow;

		public GameObject m_BattleRecordFrame;

		private void Awake()
		{
			this.m_Bg = base.transform.Find("Bg");
			this.m_Close = (this.m_Bg.Find("Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Help = (this.m_Bg.Find("Help").GetComponent("XUIButton") as IXUIButton);
			this.m_BattleRecordFrame = this.m_Bg.Find("BattleRecordFrame").gameObject;
			Transform transform = this.m_Bg.Find("Bg/Tabs/TabTpl");
			this.m_TabPool.SetupPool(transform.parent.gameObject, transform.gameObject, 2u, false);
			this.m_UnOpen2V2 = (this.m_Bg.Find("Bg/2V2UnOpen").GetComponent("XUISprite") as IXUISprite);
			Transform transform2 = this.m_Bg.Find("Bg/BtnList");
			this.m_ShopBtn = (transform2.Find("ShopBtn").GetComponent("XUIButton") as IXUIButton);
			this.m_RankBtn = (transform2.Find("RankBtn").GetComponent("XUIButton") as IXUIButton);
			this.m_BattleRecordBtn = (transform2.Find("BattleRecordBtn").GetComponent("XUIButton") as IXUIButton);
			this.m_TrainBtn = (transform2.Find("TrainingBtn").GetComponent("XUIButton") as IXUIButton);
			this.m_PointRewardBtn = (transform2.Find("PointRewardBtn").GetComponent("XUITexture") as IXUITexture);
			this.m_PointRewardRedPoint = transform2.Find("PointRewardBtn/RedPoint");
			this.m_RankRewardBtn = (transform2.Find("RankRewardBtn").GetComponent("XUIButton") as IXUIButton);
			this.m_Match1V1Btn = (transform2.Find("Match1V1Btn").GetComponent("XUIButton") as IXUIButton);
			this.m_Match1V1BtnLabel = (transform2.Find("Match1V1Btn/Text").GetComponent("XUILabel") as IXUILabel);
			this.m_Match2V2Btn = (transform2.Find("Match2V2Btn").GetComponent("XUIButton") as IXUIButton);
			this.m_Match2V2BtnLabel = (transform2.Find("Match2V2Btn/Text").GetComponent("XUILabel") as IXUILabel);
			this.m_TeamBtn = (transform2.Find("TeamBtn").GetComponent("XUIButton") as IXUIButton);
			this.m_Message = this.m_Bg.Find("Bg/Message");
			this.m_TotalRecords = (this.m_Message.Find("Records/TotalRecords/Num").GetComponent("XUILabel") as IXUILabel);
			this.m_WinRecord = (this.m_Message.Find("Records/Win/Num").GetComponent("XUILabel") as IXUILabel);
			this.m_LoseRecord = (this.m_Message.Find("Records/Lose/Num").GetComponent("XUILabel") as IXUILabel);
			this.m_WinRate = (this.m_Message.Find("Records/Rate/Num").GetComponent("XUILabel") as IXUILabel);
			this.m_CurrentRank = (this.m_Message.Find("CurrentRank/Num").GetComponent("XUILabel") as IXUILabel);
			this.m_RankEndTips = (this.m_Message.Find("Tip").GetComponent("XUILabel") as IXUILabel);
			this.m_ChallengeFrame = this.m_Bg.Find("Bg/ChallengeFrame");
			this.m_Tier = (this.m_ChallengeFrame.Find("Tier").GetComponent("XUITexture") as IXUITexture);
			this.m_WinOfPoint = (this.m_ChallengeFrame.Find("WinOfPoint/Num").GetComponent("XUILabel") as IXUILabel);
			this.m_ChallengeTip = (this.m_ChallengeFrame.Find("Tip").GetComponent("XUILabelSymbol") as IXUILabelSymbol);
			this.m_ChallengeTipText = (this.m_ChallengeTip.gameObject.transform.Find("T").GetComponent("XUILabel") as IXUILabel);
			this.m_FxFireworkGo = this.m_ChallengeFrame.Find("m_FxFirework").gameObject;
			this.m_FxFireworkGo.SetActive(false);
			this.m_RankWindow = new XQualifyingRankWindow(this.m_Bg.Find("RankFrame").gameObject);
			this.m_RankRewardWindow = new XQualifyingRankRewardWindow(this.m_Bg.Find("RankRewardFrame").gameObject);
			this.m_PointRewardWindow = new XQualifyingPointRewardWindow(this.m_Bg.Find("PointRewardFrame").gameObject);
		}
	}
}