summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs50
1 files changed, 50 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs b/Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs
new file mode 100644
index 00000000..5a19dab7
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/RandomGiftBehaviour.cs
@@ -0,0 +1,50 @@
+using System;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient
+{
+ internal class RandomGiftBehaviour : DlgBehaviourBase
+ {
+ public IXUIButton m_Close;
+
+ public IXUIButton m_Share;
+
+ public Transform m_WX;
+
+ public IXUIButton m_WXFriend;
+
+ public IXUIButton m_WXTimeline;
+
+ public Transform m_QQ;
+
+ public IXUIButton m_QQFriend;
+
+ public IXUIButton m_QQZone;
+
+ public IXUILabel m_Title;
+
+ public IXUILabel m_Description;
+
+ public Transform m_BoxQQ;
+
+ public Transform m_BoxWX;
+
+ private void Awake()
+ {
+ this.m_Close = (base.transform.Find("Close").GetComponent("XUIButton") as IXUIButton);
+ this.m_Share = (base.transform.Find("Share").GetComponent("XUIButton") as IXUIButton);
+ this.m_WX = base.transform.Find("WX");
+ this.m_WXFriend = (this.m_WX.Find("WXFriend").GetComponent("XUIButton") as IXUIButton);
+ this.m_WXTimeline = (this.m_WX.Find("WXTimeline").GetComponent("XUIButton") as IXUIButton);
+ this.m_QQ = base.transform.Find("QQ");
+ this.m_QQFriend = (this.m_QQ.Find("QQFriend").GetComponent("XUIButton") as IXUIButton);
+ this.m_QQZone = (this.m_QQ.Find("QQZone").GetComponent("XUIButton") as IXUIButton);
+ this.m_Title = (base.transform.Find("Title").GetComponent("XUILabel") as IXUILabel);
+ this.m_Description = (base.transform.Find("Description").GetComponent("XUILabel") as IXUILabel);
+ this.m_BoxQQ = base.transform.Find("BoxQQ");
+ this.m_BoxWX = base.transform.Find("BoxWX");
+ }
+ }
+}