diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/XFriendsSearchBehaviour.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XFriendsSearchBehaviour.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/XFriendsSearchBehaviour.cs | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XFriendsSearchBehaviour.cs b/Client/Assets/Scripts/XMainClient/XFriendsSearchBehaviour.cs new file mode 100644 index 00000000..a5526d62 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/XFriendsSearchBehaviour.cs @@ -0,0 +1,40 @@ +using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+using XUtliPoolLib;
+
+namespace XMainClient
+{
+ internal class XFriendsSearchBehaviour : DlgBehaviourBase
+ {
+ public IXUIScrollView m_ScrollView;
+
+ public IXUIButton m_Close;
+
+ public IXUIButton m_Refresh;
+
+ public IXUIButton m_AddFriend;
+
+ public IXUIInput m_SearchName;
+
+ public IXUILabel m_CountdownText;
+
+ public static readonly uint FUNCTION_NUM = 3u;
+
+ public XUIPool m_FriendRandomListPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
+
+ private void Awake()
+ {
+ this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
+ Transform transform = base.transform.Find("Bg/List");
+ Transform transform2 = transform.Find("tpl");
+ this.m_ScrollView = (transform.GetComponent("XUIScrollView") as IXUIScrollView);
+ this.m_Refresh = (base.transform.Find("Bg/change").GetComponent("XUIButton") as IXUIButton);
+ this.m_AddFriend = (base.transform.Find("Bg/add").GetComponent("XUIButton") as IXUIButton);
+ this.m_SearchName = (base.transform.Find("Bg/textinput").GetComponent("XUIInput") as IXUIInput);
+ this.m_CountdownText = (base.transform.Find("Bg/changeLabel").GetComponent("XUILabel") as IXUILabel);
+ this.m_FriendRandomListPool.SetupPool(transform.gameObject, transform2.gameObject, 4u, false);
+ }
+ }
+}
|