From 6eb915c129fc90c6f4c82ae097dd6ffad5239efc Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 25 Jan 2021 14:28:30 +0800 Subject: +scripts --- .../Scripts/XMainClient/UI/XTeamInviteBehaviour.cs | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 Client/Assets/Scripts/XMainClient/UI/XTeamInviteBehaviour.cs (limited to 'Client/Assets/Scripts/XMainClient/UI/XTeamInviteBehaviour.cs') diff --git a/Client/Assets/Scripts/XMainClient/UI/XTeamInviteBehaviour.cs b/Client/Assets/Scripts/XMainClient/UI/XTeamInviteBehaviour.cs new file mode 100644 index 00000000..ad6074d2 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XTeamInviteBehaviour.cs @@ -0,0 +1,51 @@ +using System; +using UILib; +using UnityEngine; +using XMainClient.UI.UICommon; + +namespace XMainClient.UI +{ + internal class XTeamInviteBehaviour : DlgBehaviourBase + { + public IXUICheckBox m_ToggleRecommand; + + public IXUICheckBox m_ToggleFriend; + + public IXUICheckBox m_ToggleGuild; + + public IXUICheckBox m_TogglePlatFriend; + + public IXUIScrollView m_ScrollView; + + public IXUIWrapContent m_WrapContent; + + public GameObject m_EmptyList; + + public IXUIButton m_BtnAddFriendBottom; + + public IXUIButton m_BtnAddFriendMiddle; + + public IXUIButton m_BtnJoinGuild; + + public IXUISprite m_ClosedSpr; + + private void Awake() + { + this.m_ToggleRecommand = (base.transform.Find("Bg/ToggleRecommand").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_ToggleFriend = (base.transform.Find("Bg/ToggleFriend").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_ToggleGuild = (base.transform.Find("Bg/ToggleGuild").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_TogglePlatFriend = (base.transform.Find("Bg/TogglePlatFriend").GetComponent("XUICheckBox") as IXUICheckBox); + this.m_ToggleRecommand.ID = 0UL; + this.m_ToggleFriend.ID = 1UL; + this.m_ToggleGuild.ID = 2UL; + this.m_TogglePlatFriend.ID = 3UL; + this.m_ScrollView = (base.transform.Find("Bg/Panel").GetComponent("XUIScrollView") as IXUIScrollView); + this.m_WrapContent = (base.transform.Find("Bg/Panel/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent); + this.m_EmptyList = base.transform.Find("Bg/Empty").gameObject; + this.m_BtnAddFriendBottom = (base.transform.Find("Bg/BtnAddFriendBottom").GetComponent("XUIButton") as IXUIButton); + this.m_BtnAddFriendMiddle = (base.transform.Find("Bg/BtnAddFriendMiddle").GetComponent("XUIButton") as IXUIButton); + this.m_BtnJoinGuild = (base.transform.Find("Bg/BtnJoinGuild").GetComponent("XUIButton") as IXUIButton); + this.m_ClosedSpr = (base.transform.Find("Bg/Close").GetComponent("XUISprite") as IXUISprite); + } + } +} -- cgit v1.1-26-g67d0