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

namespace XMainClient
{
	internal class XGuildDragonBehaviour : DlgBehaviourBase
	{
		public IXUIButton m_BtnClose;

		public IXUIButton m_BtnRank;

		public IXUIButton m_BtnGoBattle;

		public IXUIButton m_BtnSubscribe;

		public IXUIButton m_BtnCancelSubscribe;

		public IXUILabel m_LeftTime;

		public IXUILabel m_OpenTime;

		public IXUILabel m_LeftTimeHint;

		public IXUILabel m_BossName;

		public IXUILabel m_Condition;

		public IXUILabel m_ConditionTitle;

		public IXUIWrapContent m_WrapContent;

		public IXUIScrollView m_ScrollView;

		public GameObject m_RankPanel;

		public IXUILabel m_RankPanel_EmptyRank;

		public IXUIButton m_BtnReward;

		public GameObject m_RewardPanel;

		public GameObject rankInfo;

		public GameObject outofRange;

		public IXUISprite m_PrivilegeIcon;

		public IXUILabel m_PrivilegeName;

		public IXUISprite m_Privilege;

		private void Awake()
		{
			this.m_BtnClose = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_BtnRank = (base.transform.Find("Bg/Frame/DamageRank").GetComponent("XUIButton") as IXUIButton);
			this.m_BtnGoBattle = (base.transform.Find("Bg/Frame/GoBattle").GetComponent("XUIButton") as IXUIButton);
			Transform transform = base.transform.Find("Bg/GuildRankPanel/ScrollView");
			this.m_ScrollView = (transform.GetComponent("XUIScrollView") as IXUIScrollView);
			transform = transform.Find("WrapContent");
			this.m_WrapContent = (transform.GetComponent("XUIWrapContent") as IXUIWrapContent);
			this.m_RankPanel = base.transform.Find("Bg/GuildRankPanel").gameObject;
			this.m_RankPanel_EmptyRank = (base.transform.Find("Bg/GuildRankPanel/EmptyRank").GetComponent("XUILabel") as IXUILabel);
			this.m_LeftTime = (base.transform.Find("Bg/Frame/LeftTime/Value").GetComponent("XUILabel") as IXUILabel);
			this.m_OpenTime = (base.transform.Find("Bg/Frame/LeftTime/sk").GetComponent("XUILabel") as IXUILabel);
			this.m_LeftTimeHint = (base.transform.Find("Bg/Frame/LeftTime/Over").GetComponent("XUILabel") as IXUILabel);
			this.m_BossName = (base.transform.Find("Bg/Frame/LeftTime/12").GetComponent("XUILabel") as IXUILabel);
			this.m_Condition = (base.transform.Find("Bg/Frame/LeftTime/shanghai/shanghai").GetComponent("XUILabel") as IXUILabel);
			this.m_ConditionTitle = (base.transform.Find("Bg/Frame/LeftTime/shanghai").GetComponent("XUILabel") as IXUILabel);
			this.m_RewardPanel = base.transform.Find("Bg/Frame/RewardDlg").gameObject;
			this.m_BtnReward = (base.transform.Find("Bg/Frame/Youxiguize").GetComponent("XUIButton") as IXUIButton);
			this.m_BtnSubscribe = (base.transform.Find("Bg/Frame/Subscribe").GetComponent("XUIButton") as IXUIButton);
			this.m_BtnCancelSubscribe = (base.transform.Find("Bg/Frame/UnSubscribe").GetComponent("XUIButton") as IXUIButton);
			this.rankInfo = base.transform.Find("Bg/GuildRankPanel/RankTpl").gameObject;
			this.rankInfo.SetActive(false);
			this.outofRange = base.transform.Find("Bg/GuildRankPanel/OutOfRange").gameObject;
			this.outofRange.SetActive(false);
			this.m_PrivilegeIcon = (base.transform.Find("Bg/tq").GetComponent("XUISprite") as IXUISprite);
			this.m_PrivilegeName = (base.transform.Find("Bg/tq/t").GetComponent("XUILabel") as IXUILabel);
			this.m_Privilege = (base.transform.Find("Bg/tq/p").GetComponent("XUISprite") as IXUISprite);
		}
	}
}