blob: 15957ec0994ae0cb533d93525f2c50c4a881e4f0 (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient.UI
{
internal class ExchangeItemBehaviour : DlgBehaviourBase
{
public IXUIButton m_Close;
public IXUILabel m_Title;
public XUIPool m_MyItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public IXUIScrollView m_ItemScrollView;
public GameObject m_MySelect;
public GameObject m_MyItemGo;
public IXUILabel m_MyItemName;
public GameObject m_OtherSelect;
public GameObject m_OtherItemGo;
public IXUILabel m_OtherItemName;
public IXUILabel m_Tips;
public IXUILabel m_MyEnsureText;
public IXUILabel m_OtherEnsureText;
public IXUIButton m_EnsureBtn;
public IXUIButton m_Input;
public IXUIButton m_SpeakBtn;
public IXUISprite m_MyVoiceBtn;
public IXUISprite m_OtherVoiceBtn;
public GameObject m_MyInputGo;
public GameObject m_OtherInputGo;
public IXUILabel m_MyInputText;
public IXUILabel m_OtherInputText;
public IXUILabel m_MyVoiceText;
public IXUILabel m_OtherVoiceText;
public IXUISpriteAnimation m_MyVoiceAni;
public IXUISpriteAnimation m_OtherVoiceAni;
private void Awake()
{
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_Title = (base.transform.Find("Bg/Title/content").GetComponent("XUILabel") as IXUILabel);
Transform transform = base.transform.Find("Bg/Self/List/ItemTpl");
this.m_MyItemPool.SetupPool(transform.parent.gameObject, transform.gameObject, 16u, false);
this.m_ItemScrollView = (base.transform.Find("Bg/Self/List").GetComponent("XUIScrollView") as IXUIScrollView);
this.m_MySelect = base.transform.Find("Bg/Self/MyItem/Item").gameObject;
this.m_MyItemGo = base.transform.Find("Bg/Self/MyItem").gameObject;
this.m_MyItemName = (base.transform.Find("Bg/Self/MyItem/Name").GetComponent("XUILabel") as IXUILabel);
this.m_OtherSelect = base.transform.Find("Bg/Other/OtherItem/Item").gameObject;
this.m_OtherItemGo = base.transform.Find("Bg/Other/OtherItem").gameObject;
this.m_OtherItemName = (base.transform.Find("Bg/Other/OtherItem/Name").GetComponent("XUILabel") as IXUILabel);
this.m_Tips = (base.transform.Find("Bg/Self/Tips").GetComponent("XUILabel") as IXUILabel);
this.m_MyEnsureText = (base.transform.Find("Bg/Self/OK/Text").GetComponent("XUILabel") as IXUILabel);
this.m_OtherEnsureText = (base.transform.Find("Bg/Other/Tips").GetComponent("XUILabel") as IXUILabel);
this.m_EnsureBtn = (base.transform.Find("Bg/Self/OK").GetComponent("XUIButton") as IXUIButton);
this.m_Input = (base.transform.Find("Bg/Input").GetComponent("XUIButton") as IXUIButton);
this.m_SpeakBtn = (base.transform.Find("Bg/Speak").GetComponent("XUIButton") as IXUIButton);
this.m_MyVoiceBtn = (base.transform.Find("Bg/Self/chatvoice").GetComponent("XUISprite") as IXUISprite);
this.m_MyInputGo = base.transform.Find("Bg/Self/chattext").gameObject;
this.m_MyInputText = (base.transform.Find("Bg/Self/chattext/text/content").GetComponent("XUILabel") as IXUILabel);
this.m_MyVoiceText = (base.transform.Find("Bg/Self/chatvoice/voice/content").GetComponent("XUILabel") as IXUILabel);
this.m_MyVoiceAni = (base.transform.Find("Bg/Self/chatvoice/voice/sign").GetComponent("XUISpriteAnimation") as IXUISpriteAnimation);
this.m_OtherVoiceBtn = (base.transform.Find("Bg/Other/chatvoice").GetComponent("XUISprite") as IXUISprite);
this.m_OtherInputGo = base.transform.Find("Bg/Other/chattext").gameObject;
this.m_OtherInputText = (base.transform.Find("Bg/Other/chattext/text/content").GetComponent("XUILabel") as IXUILabel);
this.m_OtherVoiceText = (base.transform.Find("Bg/Other/chatvoice/voice/content").GetComponent("XUILabel") as IXUILabel);
this.m_OtherVoiceAni = (base.transform.Find("Bg/Other/chatvoice/voice/sign").GetComponent("XUISpriteAnimation") as IXUISpriteAnimation);
}
}
}
|