From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/XChatSettingBehaviour.cs | 39 ++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/XChatSettingBehaviour.cs') 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; + } + } +} -- cgit v1.1-26-g67d0