blob: 5cae34fead2c7f539b2f4ada2dc3b9ccd692ff6a (
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
using System;
using System.Collections.Generic;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class XGuildHallBehaviour : DlgBehaviourBase
{
public IXUIButton m_Close = null;
public IXUIButton m_BtnExit;
public IXUIButton m_BtnLog;
public IXUIButton m_BtnEditAnnounce;
public IXUIButton m_BtnRank;
public IXUIButton m_BtnEnter;
public IXUIButton m_BtnEditPortrait;
public IXUIButton m_BtnMall;
public IXUIButton m_BtnSignIn;
public IXUIButton m_BtnSkill;
public IXUIButton m_BtnMembers;
public IXUIButton m_BtnApprove;
public IXUIButton m_BtnDonate;
public IXUIButton m_BtnGZ;
public IXUIButton m_BtnRedPacker;
public IXUIButton m_BtnDmx;
public IXUIButton m_BtnJoker;
public IXUIButton m_BtnConsider;
public IXUIButton m_BtnBuild;
public IXUIButton m_BtnWXGroup;
public IXUIButton m_BtnWXGroupShare;
public IXUILabel m_WXGroupTip;
public IXUIButton m_BtnQQGroup;
public IXUILabel m_QQGroupTip;
public IXUILabel m_QQGroupName;
public IXUISprite m_Portrait;
public IXUISprite m_LivenessTipSprite;
public IXUILabel m_LivenessTipsLabel;
public IXUISprite m_PopularityTipSprite;
public IXUILabel m_PopularityTipLabel;
public IXUISprite m_ExpTipsSprite;
public IXUILabel m_ExpTipsLabel;
public IXUILabel m_Annoucement;
public GameObject m_EditAnnouncePanel;
public GameObject m_LogPanel;
public List<IXUIButton> m_checkGuildList = new List<IXUIButton>();
public XGuildBasicInfoDisplay m_BasicInfoDisplay = new XGuildBasicInfoDisplay();
public XUIPool m_ShielterItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public Transform m_GrowthBuffHelpFrame;
public IXUILabel m_GrowthBuffHelpLabel;
private void Awake()
{
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_BtnExit = (base.transform.Find("Bg/BtnExit").GetComponent("XUIButton") as IXUIButton);
this.m_BtnSignIn = (base.transform.Find("Bg/BtnSignIn").GetComponent("XUIButton") as IXUIButton);
this.m_BtnSignIn.ID = 810UL;
this.m_BtnSkill = (base.transform.Find("Bg/BtnSkill").GetComponent("XUIButton") as IXUIButton);
this.m_BtnSkill.ID = 812UL;
this.m_BtnMembers = (base.transform.Find("Bg/BtnMembers").GetComponent("XUIButton") as IXUIButton);
this.m_BtnMembers.ID = 813UL;
this.m_BtnApprove = (base.transform.Find("Bg/BtnApprove").GetComponent("XUIButton") as IXUIButton);
this.m_BtnApprove.ID = 811UL;
this.m_BtnLog = (base.transform.Find("Bg/BtnLog").GetComponent("XUIButton") as IXUIButton);
this.m_BtnEditAnnounce = (base.transform.Find("Bg/BtnEditAnnounce").GetComponent("XUIButton") as IXUIButton);
this.m_BtnRank = (base.transform.Find("Bg/BtnRank").GetComponent("XUIButton") as IXUIButton);
this.m_BtnEnter = (base.transform.Find("Bg/BtnEnter").GetComponent("XUIButton") as IXUIButton);
this.m_BtnEnter.ID = 17UL;
this.m_BtnMall = (base.transform.Find("Bg/BtnMall").GetComponent("XUIButton") as IXUIButton);
this.m_BtnDonate = (base.transform.Find("Bg/Donation").GetComponent("XUIButton") as IXUIButton);
this.m_BtnDmx = (base.transform.Find("Bg/BtnDmx").GetComponent("XUIButton") as IXUIButton);
this.m_BtnDmx.ID = 840UL;
this.m_checkGuildList.Add(this.m_BtnDmx);
this.m_BtnGZ = (base.transform.Find("Bg/BtnGz").GetComponent("XUIButton") as IXUIButton);
this.m_BtnGZ.ID = 833UL;
this.m_BtnRedPacker = (base.transform.Find("Bg/BtnRed").GetComponent("XUIButton") as IXUIButton);
this.m_BtnRedPacker.ID = 830UL;
this.m_BtnJoker = (base.transform.Find("Bg/BtnJoker").GetComponent("XUIButton") as IXUIButton);
this.m_BtnJoker.ID = 820UL;
this.m_checkGuildList.Add(this.m_BtnJoker);
this.m_BtnConsider = (base.transform.Find("Bg/BtnConsider").GetComponent("XUIButton") as IXUIButton);
this.m_BtnConsider.ID = 823UL;
this.m_BtnBuild = (base.transform.Find("Bg/BtnBuild").GetComponent("XUIButton") as IXUIButton);
this.m_BtnBuild.ID = 824UL;
this.m_BtnWXGroup = (base.transform.Find("Bg/Group/BtnWXGroup").GetComponent("XUIButton") as IXUIButton);
this.m_BtnWXGroup.gameObject.SetActive(false);
this.m_BtnWXGroupShare = (base.transform.Find("Bg/Group/BtnWXGroupShare").GetComponent("XUIButton") as IXUIButton);
this.m_BtnWXGroupShare.gameObject.SetActive(false);
this.m_WXGroupTip = (base.transform.Find("Bg/Group/BtnWXGroup/LivenessTips").GetComponent("XUILabel") as IXUILabel);
this.m_BtnQQGroup = (base.transform.Find("Bg/Group/BtnQQGroup").GetComponent("XUIButton") as IXUIButton);
this.m_BtnQQGroup.gameObject.SetActive(false);
this.m_QQGroupTip = (base.transform.Find("Bg/Group/BtnQQGroup/LivenessTips").GetComponent("XUILabel") as IXUILabel);
this.m_QQGroupName = (base.transform.Find("Bg/Group/QQGroupInfo").GetComponent("XUILabel") as IXUILabel);
this.m_QQGroupName.gameObject.SetActive(false);
this.m_BtnEditPortrait = (base.transform.Find("Bg/BtnEditPortrait").GetComponent("XUIButton") as IXUIButton);
this.m_Portrait = (base.transform.Find("Bg/BasicInfo/Content/Portrait").GetComponent("XUISprite") as IXUISprite);
this.m_Annoucement = (base.transform.Find("Bg/Bg3/Announcement").GetComponent("XUILabel") as IXUILabel);
this.m_Annoucement.SetText("");
this.m_BasicInfoDisplay.Init(base.transform.Find("Bg/BasicInfo/Content"), true);
this.m_LivenessTipSprite = (base.transform.Find("Bg/BasicInfo/Content/Liveness/Tips").GetComponent("XUISprite") as IXUISprite);
this.m_LivenessTipsLabel = (base.transform.Find("Bg/BasicInfo/Content/LivenessTips").GetComponent("XUILabel") as IXUILabel);
this.m_PopularityTipSprite = (base.transform.Find("Bg/BasicInfo/Content/Popularity/Tips").GetComponent("XUISprite") as IXUISprite);
this.m_PopularityTipLabel = (base.transform.Find("Bg/BasicInfo/Content/prestigeTips").GetComponent("XUILabel") as IXUILabel);
this.m_PopularityTipLabel.SetVisible(false);
this.m_LivenessTipsLabel.SetVisible(false);
this.m_ExpTipsSprite = (base.transform.Find("Bg/BasicInfo/Content/Exp/Tips").GetComponent("XUISprite") as IXUISprite);
this.m_ExpTipsLabel = (base.transform.Find("Bg/BasicInfo/Content/ExpTips").GetComponent("XUILabel") as IXUILabel);
this.m_ExpTipsLabel.SetVisible(false);
this.m_EditAnnouncePanel = base.transform.Find("Bg/EditAnnouncePanel").gameObject;
this.m_LogPanel = base.transform.Find("Bg/LogPanel").gameObject;
this.m_ShielterItemPool.SetupPool(base.transform.Find("Bg/Bg3").gameObject, base.transform.Find("Bg/Bg3/HallShelterIcon").gameObject, 5u, false);
this.m_GrowthBuffHelpFrame = base.transform.Find("Bg/Bg3/HelpFrame");
this.m_GrowthBuffHelpLabel = (this.m_GrowthBuffHelpFrame.Find("Helps").GetComponent("XUILabel") as IXUILabel);
this.m_GrowthBuffHelpFrame.gameObject.SetActive(false);
}
private void OnApplicationPause(bool pause)
{
XGuildDocument specificDocument = XDocuments.GetSpecificDocument<XGuildDocument>(XGuildDocument.uuID);
specificDocument.QueryWXGroup();
}
}
}
|