blob: e56578802efcac5b8a43012c8b74fbcf6bcc3180 (
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
|
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;
namespace XMainClient
{
internal class ActivityWeekendPartyBehaviour : DlgBehaviourBase
{
public IXUILabel m_CurrActName;
public IXUILabel m_Rule;
public IXUILabel m_Times;
public IXUIButton m_SingleMatch;
public IXUIButton m_TeamMatch;
public IXUIButton m_Close;
public IXUILabel m_SingleMatchLabel;
public IXUIButton m_Help;
public IXUITexture m_Bg;
public IXUILabel m_TimeTip;
public IXUIList m_DropAward;
public XUIPool m_DropAwardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);
private void Awake()
{
this.m_Rule = (base.transform.Find("Bg/Left/GameRule").GetComponent("XUILabel") as IXUILabel);
this.m_CurrActName = (base.transform.Find("Bg/Left/CurrName").GetComponent("XUILabel") as IXUILabel);
this.m_Times = (base.transform.Find("Bg/Right/Times").GetComponent("XUILabel") as IXUILabel);
this.m_TimeTip = (base.transform.Find("Bg/Right/Times/time").GetComponent("XUILabel") as IXUILabel);
this.m_SingleMatch = (base.transform.Find("Bg/Right/BtnStartSingle").GetComponent("XUIButton") as IXUIButton);
this.m_TeamMatch = (base.transform.Find("Bg/Right/BtnStartTeam").GetComponent("XUIButton") as IXUIButton);
this.m_Close = (base.transform.Find("Bg/Close").GetComponent("XUIButton") as IXUIButton);
this.m_SingleMatchLabel = (this.m_SingleMatch.gameObject.transform.Find("T").GetComponent("XUILabel") as IXUILabel);
this.m_Help = (base.transform.Find("Bg/Help").GetComponent("XUIButton") as IXUIButton);
this.m_Bg = (base.transform.Find("Bg/Texture").GetComponent("XUITexture") as IXUITexture);
this.m_DropAward = (base.transform.Find("Bg/WeekReward/ListPanel/Grid").GetComponent("XUIList") as IXUIList);
Transform transform = this.m_DropAward.gameObject.transform.Find("ItemTpl");
this.m_DropAwardPool.SetupPool(transform.parent.parent.gameObject, transform.gameObject, 4u, false);
}
}
}
|