blob: 2a44bf0bd5ee11c5fc28fc1d52ee768c2247e0cf (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient
{
internal class XCaptainPVPBehaviour : DlgBehaviourBase
{
public IXUIButton m_Close;
public IXUIButton m_Help;
public IXUIButton m_BtnShop;
public IXUIButton m_BtnRecord;
public IXUIButton m_BtnStartSingle;
public IXUIButton m_BtnStartTeam;
public IXUILabel m_BattleRecord;
public IXUILabel m_BoxLabel;
public IXUILabel m_MatchNum;
public IXUILabel m_BtnStartSingleLabel;
public IXUILabel m_WeekRewardLabel;
public IXUILabel m_ExRewardLabel;
public GameObject m_BattleRecordFrame;
public GameObject m_Bg;
public GameObject m_WeekRewardList;
public GameObject m_ExRewardList;
public XUIPool m_ExRewardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
public XUIPool m_WeekRewardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
this.m_BtnShop = (base.transform.Find("Bg/Right/BtnShop").GetComponent("XUIButton") as IXUIButton);
this.m_BtnRecord = (base.transform.Find("Bg/Right/BtnRecord").GetComponent("XUIButton") as IXUIButton);
this.m_BtnStartSingle = (base.transform.Find("Bg/Right/BtnStartSingle").GetComponent("XUIButton") as IXUIButton);
this.m_BtnStartTeam = (base.transform.Find("Bg/Right/BtnStartTeam").GetComponent("XUIButton") as IXUIButton);
this.m_BattleRecord = (base.transform.Find("Bg/Left/BattleRecord").GetComponent("XUILabel") as IXUILabel);
this.m_BoxLabel = (base.transform.Find("Bg/Left/Box/T").GetComponent("XUILabel") as IXUILabel);
this.m_MatchNum = (base.transform.Find("Bg/Right/MatchNum").GetComponent("XUILabel") as IXUILabel);
this.m_BtnStartSingleLabel = (base.transform.Find("Bg/Right/BtnStartSingle/T").GetComponent("XUILabel") as IXUILabel);
this.m_BattleRecordFrame = base.transform.Find("Bg/BattleRecordFrame").gameObject;
this.m_Bg = base.transform.Find("Bg").gameObject;
this.m_WeekRewardLabel = (this.m_Bg.transform.Find("WeekReward/T").GetComponent("XUILabel") as IXUILabel);
this.m_WeekRewardList = this.m_Bg.transform.Find("WeekReward/ListPanel/ItemTpl").gameObject;
this.m_WeekRewardPool.SetupPool(this.m_WeekRewardList.transform.parent.gameObject, this.m_WeekRewardList, 2u, false);
this.m_ExRewardLabel = (this.m_Bg.transform.Find("ExReward/T").GetComponent("XUILabel") as IXUILabel);
this.m_ExRewardList = this.m_Bg.transform.Find("ExReward/ListPanel/ItemTpl").gameObject;
this.m_ExRewardPool.SetupPool(this.m_ExRewardList.transform.parent.gameObject, this.m_ExRewardList, 2u, false);
}
}
}
|