summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs
blob: 549536588c074c9f05db1b4ed6f5a420584e86f3 (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
using System;
using UILib;
using XMainClient.UI.UICommon;

namespace XMainClient
{
	internal class XChatSettingBehaviour : DlgBehaviourBase
	{
		public IXUICheckBox m_WorldChat;

		public IXUICheckBox m_GuildChat;

		public IXUICheckBox m_FriendsChat;

		public IXUICheckBox m_TeamChat;

		public IXUICheckBox m_SystemChat;

		public IXUIButton m_BackClick;

		public IXUIButton m_Close;

		private void Awake()
		{
			this.m_WorldChat = (base.transform.Find("Bg/WorldChannel").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_GuildChat = (base.transform.Find("Bg/GuildChannel").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_FriendsChat = (base.transform.Find("Bg/FriendChannel").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_TeamChat = (base.transform.Find("Bg/TeamChannel").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_SystemChat = (base.transform.Find("Bg/SystemChannel").GetComponent("XUICheckBox") as IXUICheckBox);
			this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
			this.m_BackClick = (base.transform.Find("Bg/backclick").GetComponent("XUIButton") as IXUIButton);
			this.m_WorldChat.ID = 1UL;
			this.m_GuildChat.ID = 2UL;
			this.m_FriendsChat.ID = 3UL;
			this.m_TeamChat.ID = 7UL;
			this.m_SystemChat.ID = 4UL;
		}
	}
}