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/UI/XFavorParam.cs |
+scripts
Diffstat (limited to 'Client/Assets/Scripts/XMainClient/UI/XFavorParam.cs')
-rw-r--r-- | Client/Assets/Scripts/XMainClient/UI/XFavorParam.cs | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/Client/Assets/Scripts/XMainClient/UI/XFavorParam.cs b/Client/Assets/Scripts/XMainClient/UI/XFavorParam.cs new file mode 100644 index 00000000..23d69dfe --- /dev/null +++ b/Client/Assets/Scripts/XMainClient/UI/XFavorParam.cs @@ -0,0 +1,38 @@ +using System;
+using UILib;
+
+namespace XMainClient.UI
+{
+ internal class XFavorParam : XDataBase
+ {
+ public XNpc Npc;
+
+ public string Text;
+
+ public bool isShowSend = false;
+
+ public bool isShowExchange = false;
+
+ public bool isShowExchangeRedpoint = false;
+
+ public ButtonClickEventHandler sendCallback;
+
+ public ButtonClickEventHandler exchangeCallback;
+
+ public override void Init()
+ {
+ this.Npc = null;
+ this.Text = string.Empty;
+ this.isShowSend = false;
+ this.isShowExchange = false;
+ this.isShowExchangeRedpoint = false;
+ this.sendCallback = null;
+ this.exchangeCallback = null;
+ }
+
+ public override void Recycle()
+ {
+ XDataPool<XFavorParam>.Recycle(this);
+ }
+ }
+}
|