blob: 059f34ec983cd470b5b1d57104d705a611485e15 (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient
{
internal class XWorldBossBehaviour : DlgBehaviourBase
{
public IXUIButton m_BtnClose;
public IXUIButton m_BtnGoBattle;
public IXUIButton m_BtnSubscribe;
public IXUIButton m_BtnCancelSubscribe;
public IXUILabel m_LeftTime;
public IXUILabel m_LeftTimeHint;
public IXUILabel m_BossName;
public IXUILabel m_OpenTime;
public IXUIWrapContent m_WrapContent;
public IXUIScrollView m_ScrollView;
public IXUIWrapContent m_AwardWrapContent;
public IXUIScrollView m_AwardScrollView;
public GameObject m_RankPanel;
public IXUILabel m_RankPanel_EmptyRank;
public IXUIButton m_BtnReward;
public GameObject m_RewardPanel;
public IXUIButton m_BtnRewardPanelClose;
public IXUIList m_DropAward;
public XUIPool m_DropAwardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public IXUILabel m_AwardTip;
public IXUITexture m_BossTexture;
public IXUICheckBox m_GuildRankTab;
public IXUICheckBox m_DamageRankTab;
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_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);
GameObject gameObject = this.m_RankPanel.transform.Find("RankTpl").gameObject;
GameObject gameObject2 = this.m_RankPanel.transform.Find("OutOfRange").gameObject;
gameObject.gameObject.SetActive(false);
gameObject2.gameObject.SetActive(false);
this.m_RankPanel_EmptyRank.gameObject.SetActive(false);
this.m_OpenTime = (base.transform.Find("Bg/Frame/LeftTime/sk").GetComponent("XUILabel") as IXUILabel);
this.m_LeftTime = (base.transform.Find("Bg/Frame/LeftTime/Value").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_LeftTime.SetText("");
this.m_LeftTimeHint.SetText("");
this.m_OpenTime.SetText("");
this.m_BossName.SetText("");
this.m_RewardPanel = base.transform.Find("Bg/Frame/RewardDlg").gameObject;
this.m_BtnReward = (base.transform.Find("Bg/Frame/AwardDetail").GetComponent("XUIButton") as IXUIButton);
this.m_BtnRewardPanelClose = (base.transform.Find("Bg/Frame/RewardDlg/Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_DropAward = (base.transform.Find("Bg/Frame/DropFrame/Grid").GetComponent("XUIList") as IXUIList);
Transform transform2 = this.m_DropAward.gameObject.transform.Find("ItemTpl");
this.m_DropAwardPool.SetupPool(transform2.parent.parent.gameObject, transform2.gameObject, 6u, false);
this.m_AwardScrollView = (base.transform.Find("Bg/Frame/RewardDlg/Bg/Bg/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
this.m_AwardWrapContent = (this.m_AwardScrollView.gameObject.transform.Find("AwardList").GetComponent("XUIWrapContent") as IXUIWrapContent);
this.m_AwardTip = (base.transform.Find("Bg/Frame/RewardDlg/Bg/Bg/Tip").GetComponent("XUILabel") as IXUILabel);
this.m_BossTexture = (base.transform.Find("Bg/Frame/BossTexture").GetComponent("XUITexture") as IXUITexture);
this.m_GuildRankTab = (base.transform.Find("Bg/GuildRankPanel/TabTpl/ToggleGuild").GetComponent("XUICheckBox") as IXUICheckBox);
this.m_DamageRankTab = (base.transform.Find("Bg/GuildRankPanel/TabTpl/ToggleFriend").GetComponent("XUICheckBox") as IXUICheckBox);
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.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);
}
}
}
|