summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs39
1 files changed, 39 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs b/Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs
new file mode 100644
index 00000000..54953658
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs
@@ -0,0 +1,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;
+ }
+ }
+}