diff options
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);
+ }
+ }
+}
|
