blob: ce717a97d6aa78d20fde0d4284fe9cef4aa9789a (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
namespace XMainClient
{
internal class XGuildSignRedPackageBehaviour : DlgBehaviourBase
{
public IXUILabel m_OnlineValue;
public IXUILabel m_BufferValue;
public IXUILabel m_SignValue;
public IXUILabel m_CurSignValue;
public IXUILabel m_AakLabel;
public IXUILabel m_signLabel;
public IXUILabel m_redNumber;
public IXUILabel m_instructionTitle;
public IXUIScrollView m_scrollView;
public IXUILabel m_scrollContent;
public IXUIButton m_Close;
public IXUIButton m_History;
public IXUIButton m_sign;
public IXUIButton m_Ask;
public IXUIButton m_Send;
public IXUIButton m_Fiexd;
public Transform m_redPoint;
public Transform m_fixedRedPoint;
public XGuildSignNode[] m_SignNodes = new XGuildSignNode[4];
public IXUISprite[] m_redPakages = new IXUISprite[4];
private void Awake()
{
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_History = (base.transform.Find("Bg/History").GetComponent("XUIButton") as IXUIButton);
this.m_sign = (base.transform.Find("Bg/Bg/Dontbelazy").GetComponent("XUIButton") as IXUIButton);
this.m_Ask = (base.transform.Find("Bg/RedPacketFrame/p/Status/Ask").GetComponent("XUIButton") as IXUIButton);
this.m_Send = (base.transform.Find("Bg/RedPacketFrame/p/Status/Send").GetComponent("XUIButton") as IXUIButton);
this.m_Fiexd = (base.transform.Find("Bg/Fiexd").GetComponent("XUIButton") as IXUIButton);
this.m_fixedRedPoint = base.transform.Find("Bg/Fiexd/RedPoint");
this.m_AakLabel = (base.transform.Find("Bg/RedPacketFrame/p/Status/Ask/Require").GetComponent("XUILabel") as IXUILabel);
this.m_signLabel = (base.transform.Find("Bg/Bg/Dontbelazy/Gogogo").GetComponent("XUILabel") as IXUILabel);
this.m_OnlineValue = (base.transform.Find("Bg/RedPacketFrame/p/Status/OnlineValue").GetComponent("XUILabel") as IXUILabel);
this.m_BufferValue = (base.transform.Find("Bg/RedPacketFrame/p/Status/Buff/Value").GetComponent("XUILabel") as IXUILabel);
this.m_SignValue = (base.transform.Find("Bg/Sign/Label").GetComponent("XUILabel") as IXUILabel);
this.m_CurSignValue = (base.transform.Find("Bg/ProgressBar/Thumb/CurrentNum/T").GetComponent("XUILabel") as IXUILabel);
this.m_redNumber = (base.transform.Find("Bg/RedPacketFrame/p/Status/Number/Label").GetComponent("XUILabel") as IXUILabel);
this.m_instructionTitle = (base.transform.Find("Bg/RedPacketFrame/p/Instruction/Title").GetComponent("XUILabel") as IXUILabel);
this.m_scrollView = (base.transform.Find("Bg/RedPacketFrame/p/Instruction/ScrollView").GetComponent("XUIScrollView") as IXUIScrollView);
this.m_scrollContent = (base.transform.Find("Bg/RedPacketFrame/p/Instruction/ScrollView/Content").GetComponent("XUILabel") as IXUILabel);
this.m_redPoint = base.transform.Find("Bg/History/RedPoint");
for (int i = 0; i < 4; i++)
{
int num = i + 1;
string text = string.Format("Bg/ProgressBar/BarBack/bar/progress{0}", num);
string text2 = string.Format("Bg/ProgressBar/BarBack/circle/circle{0}", num);
string text3 = string.Format("Bg/RedPacketFrame/p/Status/Panel/red{0}", num);
this.m_SignNodes[i] = new XGuildSignNode(i, base.transform.Find(text), base.transform.Find(text2));
this.m_redPakages[i] = (base.transform.Find(text3).GetComponent("XUISprite") as IXUISprite);
}
}
}
}
|