summaryrefslogtreecommitdiff
path: root/Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs')
-rw-r--r--Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs47
1 files changed, 47 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs b/Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs
new file mode 100644
index 00000000..0641ab03
--- /dev/null
+++ b/Client/Assets/Scripts/XMainClient/UI/XFlowerReplyBehavior.cs
@@ -0,0 +1,47 @@
+using System;
+using System.Collections.Generic;
+using UILib;
+using UnityEngine;
+using XMainClient.UI.UICommon;
+
+namespace XMainClient.UI
+{
+ internal class XFlowerReplyBehavior : DlgBehaviourBase
+ {
+ public IXUILabel m_SenderName = null;
+
+ public IXUILabel m_SenderCount = null;
+
+ public IXUILabel m_FlowerName = null;
+
+ public IXUILabel m_ThxContent = null;
+
+ public IXUISprite m_Close = null;
+
+ public IXUIButton m_Voice = null;
+
+ public IXUIButton m_QuickThx = null;
+
+ public Transform m_SpeakPanel = null;
+
+ public List<GameObject> m_ReplayBgList = new List<GameObject>();
+
+ private void Awake()
+ {
+ this.m_SpeakPanel = base.transform.Find("Bg/SpeakPanel");
+ this.m_SenderName = (base.transform.Find("Bg/SenderName").GetComponent("XUILabel") as IXUILabel);
+ this.m_SenderCount = (base.transform.Find("Bg/SendCount").GetComponent("XUILabel") as IXUILabel);
+ this.m_FlowerName = (base.transform.Find("Bg/FlowerName").GetComponent("XUILabel") as IXUILabel);
+ this.m_QuickThx = (base.transform.Find("Bg/BtnTHx").GetComponent("XUIButton") as IXUIButton);
+ this.m_Voice = (base.transform.Find("Bg/speak").GetComponent("XUIButton") as IXUIButton);
+ this.m_Close = (base.transform.Find("InputBlocker").GetComponent("XUISprite") as IXUISprite);
+ this.m_ThxContent = (base.transform.Find("Bg/ThxContent").GetComponent("XUILabel") as IXUILabel);
+ GameObject gameObject = base.transform.Find("Bg/Bg2").gameObject;
+ GameObject gameObject2 = base.transform.Find("Bg/Bg2_Advance").gameObject;
+ GameObject gameObject3 = base.transform.Find("Bg/Bg2_Elite").gameObject;
+ this.m_ReplayBgList.Add(gameObject);
+ this.m_ReplayBgList.Add(gameObject2);
+ this.m_ReplayBgList.Add(gameObject3);
+ }
+ }
+}