summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Guild/XGuildWeeklyBountyBehavior.cs
blob: c0d1d61df6c088bf15601c171d70638e9c95fa2d (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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XGuildWeeklyBountyBehavior : DlgBehaviourBase
	{
		public XUIPool BountyItemPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		public Transform BountyListTrans;

		public IXUILabel TaskDecLabel;

		public IXUILabel GetLabel;

		public Transform RewardsParentTrans;

		public IXUIButton CloseBtn;

		public IXUIButton RefreshBtn;

		public IXUIButton HelpBtn;

		public IXUIButton CommitBtn;

		public IXUIButton GetBtn;

		public Transform ChestX;

		public IXUILabel ChestXExpLabel;

		public IXUILabel DragonCoinCostLabel;

		public IXUILabel WeeklyAskLabel;

		public IXUILabel CommitLabel;

		public IXUILabel HelpBtnLabel;

		public IXUILabel LeftTimeLabel;

		public IXUILabel CurrentValueLabel;

		public IXUILabel SingleTaskBountyLabel;

		public IXUILabel ProgressLabel;

		public IXUIScrollView BountyListScrollView;

		public IXUIButton AboutBtn;

		public GameObject FreeLabelObj;

		public Transform MailRoot;

		public Transform effectRoot;

		public IXUISprite MailCloseSprite;

		public IXUIWrapContent MailWrapContent;

		public IXUIScrollView MailScrollView;

		public IXUIButton SendGrateFulBtn;

		public GameObject CommitBtnRedpoint;

		public GameObject RightItem;

		private void Awake()
		{
			this.AboutBtn = (base.transform.Find("Help").GetComponent("XUIButton") as IXUIButton);
			this.BountyListTrans = base.transform.Find("BountyList");
			this.BountyItemPool.SetupPool(this.BountyListTrans.gameObject, this.BountyListTrans.Find("BountyItem").gameObject, 12u, false);
			this.TaskDecLabel = (base.transform.Find("Text/TaskDec").GetComponent("XUILabel") as IXUILabel);
			this.GetLabel = (base.transform.transform.Find("GetBtn/GetLabel").GetComponent("XUILabel") as IXUILabel);
			this.RewardsParentTrans = base.transform.Find("TaskRewards");
			this.CloseBtn = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
			this.RefreshBtn = (base.transform.Find("RefreshBtn").GetComponent("XUIButton") as IXUIButton);
			this.HelpBtn = (base.transform.Find("ReqHelp").GetComponent("XUIButton") as IXUIButton);
			this.CommitBtn = (base.transform.Find("CommitBtn").GetComponent("XUIButton") as IXUIButton);
			this.CommitBtnRedpoint = base.transform.Find("CommitBtn/RedPoint").gameObject;
			this.GetBtn = (base.transform.Find("GetBtn").GetComponent("XUIButton") as IXUIButton);
			this.ChestX = base.transform.transform.Find("ChestX");
			this.ChestXExpLabel = (this.ChestX.Find("Exp").GetComponent("XUILabel") as IXUILabel);
			this.FreeLabelObj = base.transform.Find("RefreshBtn/FreeLabel").gameObject;
			this.DragonCoinCostLabel = (base.transform.Find("RefreshBtn/godLabel").GetComponent("XUILabel") as IXUILabel);
			this.WeeklyAskLabel = (base.transform.Find("AskTimesLabel").GetComponent("XUILabel") as IXUILabel);
			this.CommitLabel = (base.transform.Find("CommitBtn/T").GetComponent("XUILabel") as IXUILabel);
			this.HelpBtnLabel = (base.transform.Find("ReqHelp/GetLabel").GetComponent("XUILabel") as IXUILabel);
			this.LeftTimeLabel = (base.transform.Find("LeftTimeLabel").GetComponent("XUILabel") as IXUILabel);
			this.CurrentValueLabel = (base.transform.Find("CurrentOwnedNum").GetComponent("XUILabel") as IXUILabel);
			this.SingleTaskBountyLabel = (base.transform.Find("SingleTaskBountyValue").GetComponent("XUILabel") as IXUILabel);
			this.ProgressLabel = (base.transform.Find("SingleTaskBountyValue/t").GetComponent("XUILabel") as IXUILabel);
			this.MailRoot = base.transform.Find("mail");
			this.MailCloseSprite = (this.MailRoot.Find("Bg/Black").GetComponent("XUISprite") as IXUISprite);
			this.MailWrapContent = (this.MailRoot.Find("MailDlg/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent);
			this.MailScrollView = (this.MailRoot.Find("MailDlg").GetComponent("XUIScrollView") as IXUIScrollView);
			this.SendGrateFulBtn = (this.MailRoot.Find("OK").GetComponent("XUIButton") as IXUIButton);
			this.BountyListScrollView = (this.BountyListTrans.GetComponent("XUIScrollView") as IXUIScrollView);
			this.RightItem = base.transform.Find("RightItem").gameObject;
			this.effectRoot = base.transform.Find("EffectPanel/Effect");
		}
	}
}