summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/XPurchaseBehaviour.cs
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2021-01-25 14:28:30 +0800
committerchai <chaifix@163.com>2021-01-25 14:28:30 +0800
commit6eb915c129fc90c6f4c82ae097dd6ffad5239efc (patch)
tree7dd2be50edf41f36b60fac84696e731c13afe617 /Client/Assets/Scripts/XMainClient/XPurchaseBehaviour.cs
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/XPurchaseBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/XPurchaseBehaviour.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/XPurchaseBehaviour.cs b/Client/Assets/Scripts/XMainClient/XPurchaseBehaviour.cs
new file mode 100644
index 00000000..dbd367cf
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/XPurchaseBehaviour.cs
@@ -0,0 +1,47 @@
+using System;
+using UILib;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient
+{
+ internal class XPurchaseBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_QuitBtn;
+
+ public IXUILabel m_Title;
+
+ public IXUILabel m_BuyNumLeft;
+
+ public IXUILabel m_BuyNumError;
+
+ public IXUILabelSymbol m_BuyNum;
+
+ public IXUILabel m_Time;
+
+ public IXUILabel m_Tips;
+
+ public IXUIButton m_QuickBuyDiamond;
+
+ public IXUIButton m_QuickBuyDiamond10;
+
+ public IXUIButton m_QuickBuyDragonCoin;
+
+ public IXUILabelSymbol m_QuickBuyCost;
+
+ private void Awake()
+ {
+ this.m_QuickBuyDiamond = (base.transform.Find("bg/BuyFrame/Btn/UseDiamond").GetComponent("XUIButton") as IXUIButton);
+ this.m_QuickBuyDiamond10 = (base.transform.Find("bg/BuyFrame/Btn/UseDiamond10").GetComponent("XUIButton") as IXUIButton);
+ this.m_QuickBuyDragonCoin = (base.transform.Find("bg/BuyFrame/Btn/UseDragonCoin").GetComponent("XUIButton") as IXUIButton);
+ this.m_QuickBuyCost = (base.transform.Find("bg/BuyFrame/num2").GetComponent("XUILabelSymbol") as IXUILabelSymbol);
+ this.m_QuitBtn = (base.transform.Find("backclick").GetComponent("XUIButton") as IXUIButton);
+ this.m_Tips = (base.transform.Find("bg/BuyFrame/tips").GetComponent("XUILabel") as IXUILabel);
+ this.m_Title = (base.transform.Find("bg/BuyFrame/title").GetComponent("XUILabel") as IXUILabel);
+ this.m_BuyNumLeft = (base.transform.Find("bg/BuyFrame/timesleft").GetComponent("XUILabel") as IXUILabel);
+ this.m_BuyNumLeft.gameObject.SetActive(false);
+ this.m_BuyNum = (base.transform.Find("bg/BuyFrame/num1").GetComponent("XUILabelSymbol") as IXUILabelSymbol);
+ this.m_BuyNumError = (base.transform.Find("bg/BuyFrame/error").GetComponent("XUILabel") as IXUILabel);
+ this.m_Time = (base.transform.Find("bg/BuyFrame/time").GetComponent("XUILabel") as IXUILabel);
+ }
+ }
+}