From d66b7a9263980c571fc193ddc9f46d8249e8e7bb Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期五, 21 二月 2025 01:40:58 +0800
Subject: [PATCH] 10398 子 2月11-14版本更新 / 2月17-21版本更新 -购买超65535 问题

---
 System/Store/StoreModel.cs |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/System/Store/StoreModel.cs b/System/Store/StoreModel.cs
index 6e5a1d7..43d69d6 100644
--- a/System/Store/StoreModel.cs
+++ b/System/Store/StoreModel.cs
@@ -10,7 +10,7 @@
 public class BuyShopItemLimit
 {
     public uint ItemIndex;
-    public ushort BuyCnt;        // 浠婃棩宸茶喘涔版鏁�
+    public int BuyCnt;        // 浠婃棩宸茶喘涔版鏁�
     public int isReset;         //鏄惁灞炰簬姣忔湀閲嶇疆  0 涓嶉噸缃� 1閲嶇疆
 }
 
@@ -984,13 +984,13 @@
                 {
                     BuyShopItemLimit shopItemLimit = new BuyShopItemLimit();
                     shopItemLimit.ItemIndex = buylimit.DayBuyCntList[i].ItemIndex;
-                    shopItemLimit.BuyCnt = buylimit.DayBuyCntList[i].BuyCnt;
+                    shopItemLimit.BuyCnt = (int)buylimit.DayBuyCntList[i].BuyCnt;
                     shopItemLimit.isReset = buylimit.DayBuyCntList[i].IsReset;
                     shopItemlimitDict.Add(shopItemLimit.ItemIndex, shopItemLimit);
                 }
                 else
                 {
-                    shopItemlimitDict[buylimit.DayBuyCntList[i].ItemIndex].BuyCnt = buylimit.DayBuyCntList[i].BuyCnt;
+                    shopItemlimitDict[buylimit.DayBuyCntList[i].ItemIndex].BuyCnt = (int)buylimit.DayBuyCntList[i].BuyCnt;
                     shopItemlimitDict[buylimit.DayBuyCntList[i].ItemIndex].isReset = buylimit.DayBuyCntList[i].IsReset;
                 }
             }

--
Gitblit v1.8.0