summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XChatBehaviour.cs
blob: ccf17122a1d7b879250446fa5423b1e4bc6c2dca (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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XChatBehaviour : DlgBehaviourBase
	{
		public IXUISprite m_sprTq;

		public IXUILabel m_lblPriviledge;

		public IXUIButton m_ChangeToVoice;

		public IXUILabel m_ChatTextCost;

		public IXUISprite m_TextBoard;

		public IXUISprite m_LimitBoard;

		public IXUIButton m_DoSendChat;

		public IXUILabel m_ChatText;

		public IXUIInput m_ChatInput;

		public IXUILabelSymbol m_ChatSymbol;

		public IXUIInput m_Input;

		public IXUIButton m_Close;

		public IXUIButton m_GetFlowerBtn;

		public IXUILabel m_GetFlowerLeftTime;

		public IXUILabel m_FlowerOwnCount;

		public GameObject m_Flower;

		public GameObject m_FlowerEff;

		public GameObject m_SpeakEff;

		public GameObject m_objFriendBar;

		public GameObject m_objGroupBar;

		public IXUITweenTool m_FlowerTween;

		public IXUILabel m_lblWorldTimes;

		public IXUITweenTool m_worldTween;

		public IXUIButton m_btnAdd;

		public IXUISprite m_sprFriendClear;

		public IXUISprite m_sprFriendAdd;

		public IXUISprite m_sprFriendBack;

		public IXUISprite m_sprFriendChat;

		public IXUILabel m_lblFriendTip;

		public IXUISprite m_sprGroupBind;

		public IXUISprite m_sprGroupQuit;

		public IXUILabel m_lblGroupChat;

		public IXUISprite m_sprGroupClear;

		public IXUISprite m_sprGroupBack;

		public IXUISprite m_sprGroupCreate;

		public IXUISprite m_sprMember;

		public IXUISprite m_sprList;

		public IXUISprite m_sprMore;

		public Transform m_tranOffset;

		public IXUIPanel m_panelRoot;

		public IXUIPanel m_panelText;

		public IXUIPanel m_panelSubMenu;

		public IXUISprite m_sprSet;

		public IXUISprite m_sprMail;

		public IXUISprite m_sprMailRedpoint;

		public IXUISprite m_sprXinyue;

		public IXUISprite m_sprXinyueRed;

		public IXUISprite m_sprFriend;

		public IXUICheckBox m_chxAutoVoice;

		public IXUILabel m_lblAutoVoice;

		public GameObject m_btns;

		public ILoopScrollView m_loopView;

		public ILoopScrollView m_friendView;

		public ILoopScrollView m_groupView;

		public ILoopScrollView m_systemView;

		private void Awake()
		{
			this.m_sprTq = (base.transform.Find("Bg/ChatTopText/world_times/tq").GetComponent("XUISprite") as IXUISprite);
			this.m_lblPriviledge = (this.m_sprTq.gameObject.transform.Find("Txt").GetComponent("XUILabel") as IXUILabel);
			this.m_ChangeToVoice = (base.transform.Find("Bg/ChatTopText/speak").GetComponent("XUIButton") as IXUIButton);
			this.m_SpeakEff = base.transform.Find("Bg/ChatTopText/speak/Effect").gameObject;
			this.m_ChatTextCost = (base.transform.Find("Bg/ChatTopText/speak/cost").GetComponent("XUILabel") as IXUILabel);
			this.m_TextBoard = (base.transform.Find("Bg/ChatTopText").GetComponent("XUISprite") as IXUISprite);
			this.m_LimitBoard = (base.transform.Find("Bg/LvLimit").GetComponent("XUISprite") as IXUISprite);
			this.m_DoSendChat = (base.transform.Find("Bg/ChatTopText/sendchat").GetComponent("XUIButton") as IXUIButton);
			this.m_ChatText = (base.transform.Find("Bg/ChatTopText/textinput/chattext").GetComponent("XUILabel") as IXUILabel);
			this.m_ChatInput = (base.transform.Find("Bg/ChatTopText/textinput").GetComponent("XUIInput") as IXUIInput);
			this.m_ChatSymbol = (base.transform.Find("Bg/ChatTopText/textinput/chattext").GetComponent("XUILabelSymbol") as IXUILabelSymbol);
			this.m_Input = (base.transform.Find("Bg/ChatTopText/textinput").GetComponent("XUIInput") as IXUIInput);
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_Flower = base.transform.Find("Bg/ChatTopText/getFlower").gameObject;
			this.m_GetFlowerBtn = (base.transform.Find("Bg/ChatTopText/getFlower/flower").GetComponent("XUIButton") as IXUIButton);
			this.m_GetFlowerLeftTime = (base.transform.Find("Bg/ChatTopText/getFlower/leftTime").GetComponent("XUILabel") as IXUILabel);
			this.m_GetFlowerLeftTime.SetText("");
			this.m_FlowerOwnCount = (base.transform.Find("Bg/ChatTopText/getFlower/label").GetComponent("XUILabel") as IXUILabel);
			this.m_FlowerOwnCount.SetText("0");
			this.m_FlowerEff = base.transform.Find("Bg/ChatTopText/getFlower/effect").gameObject;
			this.m_FlowerTween = (base.transform.Find("Bg/ChatTopText/getFlower/flower").GetComponent("XUIPlayTween") as IXUITweenTool);
			this.m_lblWorldTimes = (base.transform.Find("Bg/ChatTopText/world_times").GetComponent("XUILabel") as IXUILabel);
			this.m_worldTween = (base.transform.Find("Bg/ChatTopText/world_times").GetComponent("XUIPlayTween") as IXUITweenTool);
			this.m_btnAdd = (base.transform.Find("Bg/ChatTopText/addBtn").GetComponent("XUIButton") as IXUIButton);
			this.m_objFriendBar = base.transform.Find("Bg/friendToolBar").gameObject;
			this.m_objGroupBar = base.transform.Find("Bg/groupChatBar").gameObject;
			this.m_sprFriendClear = (base.transform.Find("Bg/friendToolBar/BtnClear").GetComponent("XUISprite") as IXUISprite);
			this.m_sprFriendAdd = (base.transform.Find("Bg/friendToolBar/BtnAdd").GetComponent("XUISprite") as IXUISprite);
			this.m_sprFriendBack = (base.transform.Find("Bg/friendToolBar/BtnBack").GetComponent("XUISprite") as IXUISprite);
			this.m_sprFriendChat = (base.transform.Find("Bg/friendToolBar/BtnChat").GetComponent("XUISprite") as IXUISprite);
			this.m_lblFriendTip = (base.transform.Find("Bg/friendToolBar/Chatting").GetComponent("XUILabel") as IXUILabel);
			this.m_sprGroupBack = (this.m_objGroupBar.transform.Find("BtnBack").GetComponent("XUISprite") as IXUISprite);
			this.m_sprGroupQuit = (this.m_objGroupBar.transform.Find("Submenu/BtnQuit").GetComponent("XUISprite") as IXUISprite);
			this.m_sprGroupClear = (this.m_objGroupBar.transform.Find("BtnClear").GetComponent("XUISprite") as IXUISprite);
			this.m_sprMember = (this.m_objGroupBar.transform.Find("Submenu/BtnMember").GetComponent("XUISprite") as IXUISprite);
			this.m_sprList = (this.m_objGroupBar.transform.Find("Submenu/BtnList").GetComponent("XUISprite") as IXUISprite);
			this.m_panelSubMenu = (this.m_objGroupBar.transform.Find("Submenu").GetComponent("XUIPanel") as IXUIPanel);
			this.m_sprMore = (this.m_objGroupBar.transform.Find("BtnMore").GetComponent("XUISprite") as IXUISprite);
			this.m_sprGroupBind = (this.m_objGroupBar.transform.Find("BtnBind").GetComponent("XUISprite") as IXUISprite);
			this.m_sprGroupCreate = (this.m_objGroupBar.transform.Find("BtnCreate").GetComponent("XUISprite") as IXUISprite);
			this.m_lblGroupChat = (this.m_objGroupBar.transform.Find("Chatting").GetComponent("XUILabel") as IXUILabel);
			this.m_tranOffset = base.transform.Find("Bg/loopoffset");
			this.m_panelRoot = (base.GetComponent("XUIPanel") as IXUIPanel);
			this.m_panelText = (this.m_TextBoard.gameObject.GetComponent("XUIPanel") as IXUIPanel);
			this.m_loopView = (base.transform.Find("Bg/loopoffset/loopScroll").GetComponent("LoopScrollView") as ILoopScrollView);
			this.m_friendView = (base.transform.Find("Bg/friendsScroll").GetComponent("LoopScrollView") as ILoopScrollView);
			this.m_groupView = (base.transform.Find("Bg/groupsScroll").GetComponent("LoopScrollView") as ILoopScrollView);
			this.m_systemView = (base.transform.Find("Bg/systemScroll").GetComponent("LoopScrollView") as ILoopScrollView);
			this.m_sprSet = (base.transform.Find("Bg/btns/Setting").GetComponent("XUISprite") as IXUISprite);
			this.m_sprMail = (base.transform.Find("Bg/btns/Mail").GetComponent("XUISprite") as IXUISprite);
			this.m_sprMailRedpoint = (base.transform.Find("Bg/btns/Mail/redpoint").GetComponent("XUISprite") as IXUISprite);
			this.m_sprXinyue = (base.transform.Find("Bg/btns/Xinyue").GetComponent("XUISprite") as IXUISprite);
			this.m_sprXinyueRed = (this.m_sprXinyue.transform.Find("redpoint").GetComponent("XUISprite") as IXUISprite);
			this.m_sprFriend = (base.transform.Find("Bg/btns/Friend").GetComponent("XUISprite") as IXUISprite);
			this.m_chxAutoVoice = (base.transform.Find("Bg/btns/AutoVoice/CheckBox").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_lblAutoVoice = (base.transform.Find("Bg/btns/AutoVoice/Text").GetComponent("XUILabel") as IXUILabel);
			this.m_btns = base.transform.Find("Bg/btns").gameObject;
		}
	}
}