diff options
author | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-01-25 14:28:30 +0800 |
commit | 6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch) | |
tree | 7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/Guild/XGuildDailyTaskBehavior.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/Guild/XGuildDailyTaskBehavior.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/Guild/XGuildDailyTaskBehavior.cs | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/Guild/XGuildDailyTaskBehavior.cs b/Client/Assets/Scripts/XMainClient/Guild/XGuildDailyTaskBehavior.cs new file mode 100644 index 00000000..f2f4a4e7 --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/Guild/XGuildDailyTaskBehavior.cs @@ -0,0 +1,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);
+ }
+ }
+}
|