summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/Guild/XGuildDailyTaskBehavior.cs
blob: f2f4a4e77985f3b0c38d153a5b1a96aa0e4b42e2 (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
using System;
using UILib;
using UnityEngine;
using XMainClient.UI.UICommon;
using XUtliPoolLib;

namespace XMainClient
{
	internal class XGuildDailyTaskBehavior : DlgBehaviourBase
	{
		public IXUIButton CompleteTaskBtn = null;

		public Transform CurrentRewardsGrid = null;

		public Transform AdditionalRewardsGrid = null;

		public IXUIButton SubmmitBtn = null;

		public IXUIButton CloseBtn = null;

		public XUIPool RewardPool = new XUIPool(XSingleton<XGameUI>.singleton.m_uiTool);

		public IXUILabel timeLabel;

		public IXUILabel taskTimeLabel;

		public IXUILabel taskNumLabel;

		public IXUIWrapContent TaskContent;

		public IXUIButton RefreshTaskBtn;

		public Transform RefreshRecordRoot;

		public IXUISprite TaskLevelSprite;

		public IXUIButton RefreshLogBtn;

		public IXUIWrapContent RefreshLogWrapContent;

		public IXUIScrollView RefreshLogScrollView;

		public IXUIButton RefreshCloseBtn;

		public IXUILabel TalkLabel;

		public IXUIButton TipButton;

		private void Awake()
		{
			this.SubmmitBtn = (base.transform.Find("Submmit").GetComponent("XUIButton") as IXUIButton);
			this.CloseBtn = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
			this.CurrentRewardsGrid = base.transform.Find("Rewards/BaseRewards");
			this.AdditionalRewardsGrid = base.transform.Find("Rewards/AllRewards");
			this.RewardPool.SetupPool(null, base.transform.Find("Rewards/Tpl").gameObject, 2u, false);
			this.timeLabel = (base.transform.Find("TimesDec2/Times").GetComponent("XUILabel") as IXUILabel);
			this.taskTimeLabel = (base.transform.Find("TimesDec/Times").GetComponent("XUILabel") as IXUILabel);
			this.taskNumLabel = (base.transform.Find("BaseInfo/Num").GetComponent("XUILabel") as IXUILabel);
			this.TalkLabel = (base.transform.Find("Talk").GetComponent("XUILabel") as IXUILabel);
			this.TaskContent = (base.transform.Find("ScrollView/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent);
			this.RefreshTaskBtn = (base.transform.Find("Refresh").GetComponent("XUIButton") as IXUIButton);
			this.RefreshRecordRoot = base.transform.Find("LogPanel");
			this.TaskLevelSprite = (base.transform.Find("TaskLevel").GetComponent("XUISprite") as IXUISprite);
			this.RefreshLogBtn = (base.transform.Find("RefreshLogBtn").GetComponent("XUIButton") as IXUIButton);
			this.RefreshLogWrapContent = (this.RefreshRecordRoot.Find("LogMenu/Panel/WrapContent").GetComponent("XUIWrapContent") as IXUIWrapContent);
			this.RefreshLogScrollView = (this.RefreshRecordRoot.Find("LogMenu/Panel").GetComponent("XUIScrollView") as IXUIScrollView);
			this.RefreshCloseBtn = (this.RefreshRecordRoot.Find("Close").GetComponent("XUIButton") as IXUIButton);
			this.TipButton = (base.transform.Find("Help").GetComponent("XUIButton") as IXUIButton);
		}
	}
}