From f36e315c3074ebd2ce2147b6b380d038d81517e8 Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期三, 27 五月 2026 19:42:44 +0800
Subject: [PATCH] 666 新增代金券

---
 Main/Utility/UIHelper.cs |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/Main/Utility/UIHelper.cs b/Main/Utility/UIHelper.cs
index b8da6c1..4ff6bba 100644
--- a/Main/Utility/UIHelper.cs
+++ b/Main/Utility/UIHelper.cs
@@ -1128,6 +1128,7 @@
         {55, PlayerDataType.OSGalaScore},
         {57, PlayerDataType.QYScore},
         {58, PlayerDataType.heroSkin},
+        {97, PlayerDataType.ExAttr13},
         {99, PlayerDataType.ExAttr11},
     };
 
@@ -1301,6 +1302,11 @@
                     //鏃惰璐у竵
                     return PlayerDatas.Instance.GetPlayerDataByType(PlayerDataType.heroSkin);
                 }
+            case 97:
+                {
+                    //鐜伴噾绀煎埜锛堜唬閲戝埜锛�
+                    return PlayerDatas.Instance.baseData.cashVoucher;
+                }
             case 98:
                 {
                     //杩囨湡鍨嬩唬閲戝埜
@@ -1318,7 +1324,7 @@
 
     public static int GetAllVourcher()
     {
-        return (int)GetMoneyCnt(98) + (int)GetMoneyCnt(99);
+        return (int)GetMoneyCnt(97) + (int)GetMoneyCnt(98) + (int)GetMoneyCnt(99);
     }
 
     //鏄剧ず鏁伴噺, 鏍煎紡n/m, 瓒冲缁胯壊涓嶈冻绾㈣壊

--
Gitblit v1.8.0