blob: a5526d62704189c8784980758e12157f4fa767a4 (
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
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);
}
}
}
|