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

namespace XMainClient
{
	internal class XPkLoadingBehaviour : DlgBehaviourBase
	{
		public IXUITweenTool m_PkLoadingTween;

		public IXUILabel[] m_Name = new IXUILabel[2];

		public IXUILabel[] m_Level = new IXUILabel[2];

		public IXUILabel[] m_WinCount = new IXUILabel[2];

		public IXUILabel[] m_Point = new IXUILabel[2];

		public IXUILabel[] m_Percent = new IXUILabel[2];

		public IXUILabel[] m_NearWin = new IXUILabel[2];

		public IXUISprite[] m_Prefession = new IXUISprite[2];

		public Transform m_LeftSnapshot;

		public Transform m_RightSnapshot;

		public IXUITexture[] m_HalfPic = new IXUITexture[2];

		public GameObject[] m_Detail = new GameObject[2];

		private void Awake()
		{
			this.m_PkLoadingTween = (base.transform.Find("Bg").GetComponent("XUIPlayTween") as IXUITweenTool);
			Transform transform = base.transform.Find("Bg/Left");
			Transform transform2 = base.transform.Find("Bg/Right");
			this.m_Name[0] = (transform.Find("Name").GetComponent("XUILabel") as IXUILabel);
			this.m_Name[1] = (transform2.Find("Name").GetComponent("XUILabel") as IXUILabel);
			this.m_Level[0] = (transform.Find("Level").GetComponent("XUILabel") as IXUILabel);
			this.m_Level[1] = (transform2.Find("Level").GetComponent("XUILabel") as IXUILabel);
			this.m_Prefession[0] = (transform.Find("Profession").GetComponent("XUISprite") as IXUISprite);
			this.m_Prefession[1] = (transform2.Find("Profession").GetComponent("XUISprite") as IXUISprite);
			this.m_LeftSnapshot = transform.Find("Snapshot");
			this.m_RightSnapshot = transform2.Find("Snapshot");
			this.m_HalfPic[0] = (transform.Find("HalfPic").GetComponent("XUITexture") as IXUITexture);
			this.m_HalfPic[1] = (transform2.Find("HalfPic").GetComponent("XUITexture") as IXUITexture);
			Transform transform3 = transform.Find("Detail");
			Transform transform4 = transform2.Find("Detail");
			bool flag = transform3 != null;
			if (flag)
			{
				this.m_Detail[0] = transform.Find("Detail").gameObject;
				this.m_WinCount[0] = (transform.Find("Detail/WinCount").GetComponent("XUILabel") as IXUILabel);
				this.m_Point[0] = (transform.Find("Detail/Point").GetComponent("XUILabel") as IXUILabel);
				this.m_Percent[0] = (transform.Find("Detail/Percent").GetComponent("XUILabel") as IXUILabel);
				this.m_NearWin[0] = (transform.Find("Detail/NearWin").GetComponent("XUILabel") as IXUILabel);
			}
			bool flag2 = transform4 != null;
			if (flag2)
			{
				this.m_Detail[1] = transform2.Find("Detail").gameObject;
				this.m_WinCount[1] = (transform2.Find("Detail/WinCount").GetComponent("XUILabel") as IXUILabel);
				this.m_Point[1] = (transform2.Find("Detail/Point").GetComponent("XUILabel") as IXUILabel);
				this.m_Percent[1] = (transform2.Find("Detail/Percent").GetComponent("XUILabel") as IXUILabel);
				this.m_NearWin[1] = (transform2.Find("Detail/NearWin").GetComponent("XUILabel") as IXUILabel);
			}
		}
	}
}