blob: 8c952d8d0e494c4c9a432d639085e1f33b3c28c0 (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class GuildSalayBehavior : DlgBehaviourBase
{
public Transform m_Root;
public Transform m_Right;
public Transform m_Empty;
public IXUIButton m_Close;
public IXUILabel m_thisWeekScore;
public IXUITexture m_thisWeekGrade;
public GuildScoreInfo m_BottomInfo = new GuildScoreInfo();
public GuildScoreInfo m_LeftInfo = new GuildScoreInfo();
public GuildScoreInfo m_UpInfo = new GuildScoreInfo();
public GuildScoreInfo m_RightInfo = new GuildScoreInfo();
public IXRadarMap m_radarMap;
public IXUILabel m_LastWeekScore;
public IXUITexture m_LastWeekGrade;
public IXUILabel m_LastScoreLabel;
public IXUILabel m_GuildLevel;
public IXUILabel m_GuildPosition;
public IXUILabel m_TitleLabel;
public IXUIScrollView m_RewardScrollView;
public IXUIWrapContent m_WrapContent;
public IXUIButton m_GetButton;
public IXUILabel m_GetLabel;
public IXUILabel m_CanNot;
public IXUILabel m_ShowNextReward;
public Transform m_DropView;
public IXUIScrollView m_DropScrollView;
public IXUIWrapContent m_DropWrapContent;
public IXUISprite m_DropClose;
public IXUILabel[] topPlayers = new IXUILabel[5];
private void Awake()
{
this.m_Root = base.transform.Find("Bg");
this.m_Right = base.transform.Find("Bg/frame/Right");
this.m_Empty = base.transform.Find("Bg/frame/Empty");
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_thisWeekGrade = (base.transform.Find("Bg/frame/Left/Score/Grade").GetComponent("XUITexture") as IXUITexture);
this.m_thisWeekScore = (base.transform.Find("Bg/frame/Left/Score/ScoreValue").GetComponent("XUILabel") as IXUILabel);
this.m_BottomInfo.Init(base.transform.Find("Bg/frame/Left/Bottom"), 0);
this.m_LeftInfo.Init(base.transform.Find("Bg/frame/Left/Left"), 1);
this.m_UpInfo.Init(base.transform.Find("Bg/frame/Left/Up"), 2);
this.m_RightInfo.Init(base.transform.Find("Bg/frame/Left/Right"), 3);
this.m_radarMap = (base.transform.Find("Bg/frame/Left/RadarMap/RadarMap").GetComponent("XRadarMap") as IXRadarMap);
this.m_WrapContent = (base.transform.Find("Bg/frame/Right/CanGet/ScrollView/Reward").GetComponent("XUIWrapContent") as IXUIWrapContent);
this.m_RewardScrollView = (base.transform.Find("Bg/frame/Right/CanGet/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
this.m_LastWeekGrade = (base.transform.Find("Bg/frame/Right/Score/Grade").GetComponent("XUITexture") as IXUITexture);
this.m_LastWeekScore = (base.transform.Find("Bg/frame/Right/Score/ScoreValue").GetComponent("XUILabel") as IXUILabel);
this.m_LastScoreLabel = (base.transform.Find("Bg/frame/Right/Score/Last").GetComponent("XUILabel") as IXUILabel);
this.m_TitleLabel = (base.transform.Find("Bg/frame/Right/Score/Title").GetComponent("XUILabel") as IXUILabel);
this.m_GuildLevel = (base.transform.Find("Bg/frame/Right/Level/Value").GetComponent("XUILabel") as IXUILabel);
this.m_GuildPosition = (base.transform.Find("Bg/frame/Right/CanGet/Position/Value").GetComponent("XUILabel") as IXUILabel);
this.m_GetButton = (base.transform.Find("Bg/frame/Right/CanGet/Get").GetComponent("XUIButton") as IXUIButton);
this.m_GetLabel = (base.transform.Find("Bg/frame/Right/CanGet/Get/Label").GetComponent("XUILabel") as IXUILabel);
this.m_CanNot = (base.transform.Find("Bg/frame/Right/CanNot").GetComponent("XUILabel") as IXUILabel);
this.m_ShowNextReward = (base.transform.Find("Bg/frame/Right/Score/t").GetComponent("XUILabel") as IXUILabel);
this.m_DropView = base.transform.Find("Bg/BoxFrame");
this.m_DropScrollView = (this.m_DropView.Find("ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
this.m_DropWrapContent = (this.m_DropView.Find("ScrollView/DropFrame").GetComponent("XUIWrapContent") as IXUIWrapContent);
this.m_DropClose = (this.m_DropView.Find("Close").GetComponent("XUISprite") as IXUISprite);
for (int i = 0; i < this.topPlayers.Length; i++)
{
this.topPlayers[i] = (base.transform.Find(XSingleton<XCommon>.singleton.StringCombine("Bg/frame/Right/p5/player", i.ToString())).GetComponent("XUILabel") as IXUILabel);
this.topPlayers[i].SetText("");
}
}
}
}
|