From fbc2b42630bd7675370eade11f4b350ff9ede741 Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期一, 08 十二月 2025 23:03:32 +0800
Subject: [PATCH] 364 【活动内容】开服冲榜

---
 Main/System/Store/StoreModel.cs |   17 ++++++++++-------
 1 files changed, 10 insertions(+), 7 deletions(-)

diff --git a/Main/System/Store/StoreModel.cs b/Main/System/Store/StoreModel.cs
index d0b8220..35e8337 100644
--- a/Main/System/Store/StoreModel.cs
+++ b/Main/System/Store/StoreModel.cs
@@ -22,7 +22,7 @@
 
 public class StoreModel : GameSystemManager<StoreModel>
 {
-    public Dictionary<int, List<StoreData>> storeTypeDict { get; private set; } //鎵�鏈夋樉绀哄晢鍝�
+    public Dictionary<int, List<StoreData>> storeTypeDict { get; private set; } //鎵�鏈夋樉绀哄晢鍝� 鍟嗗簵绫诲瀷锛氬晢鍝佸垪琛�
     public Dictionary<int, int> shopRefreshCntDict = new Dictionary<int, int>();    //鍒锋柊娆℃暟
     private Dictionary<int, int> shopItemlimitDict = new Dictionary<int, int>();    //宸茶喘涔版鏁�
     public event Action RefreshBuyShopLimitEvent;
@@ -38,7 +38,7 @@
     public int heroSoulRefreshMoney;
     public int heroSoulRefreshFreeCount;
 
-    Dictionary<int, List<int>> freeShopDict = new Dictionary<int, List<int>>();
+    public Dictionary<int, List<int>> freeShopDict = new Dictionary<int, List<int>>();  //鍏嶈垂鍟嗗搧 鍟嗗簵绫诲瀷锛氬晢鍝佸垪琛�
     public Dictionary<int, int> shopMoneyTypeDict = new Dictionary<int, int>();
 
     public override void Init()
@@ -320,7 +320,7 @@
 
         if (storeConfig.ItemID != 0)
         {
-            ShopItemInfo shopItem = new ShopItemInfo(storeConfig.ID, storeConfig.ItemCnt);
+            ShopItemInfo shopItem = new ShopItemInfo(storeConfig.ItemID, storeConfig.ItemCnt);
             shopItemlist.Add(shopItem);
         }
         var extraItem = storeConfig.ItemListEx;
@@ -343,7 +343,7 @@
         List<int[]> shopItemlist = new List<int[]>();
         if (storeConfig.ItemID != 0)
         {
-            shopItemlist.Add(new int[] { storeConfig.ID, storeConfig.ItemCnt});
+            shopItemlist.Add(new int[] { storeConfig.ItemID, storeConfig.ItemCnt});
         }
         var extraItem = storeConfig.ItemListEx;
         for (int i = 0; i < extraItem.Length; i++)
@@ -372,8 +372,10 @@
 
     }
 
-    //浠欑帀璐拱鐗╁搧鐨勪簩娆$‘璁ゆ锛屼竴绾ц揣甯佸彧鏈変粰鐜� 榛樿涓轰粰鐜夊嵆鍙�
+    //璐у竵璐拱鐨勪簩娆$‘璁ゆ鐨勭‘璁よ褰�
     Dictionary<int, bool> buyItemCheckDict = new Dictionary<int, bool>();   //璁板綍鍕鹃�変俊鎭�
+    
+    //璐拱鍟嗗簵鐗╁搧鐨勪簩娆$‘璁ゆ
     //eventType 浜屾纭妗嗙被鍨嬶紝瀵瑰簲鏋氫妇 BuyStoreItemCheckType
     public void SendBuyShopItemWithPopCheck(StoreConfig model, int count, int eventType = 0)
     {
@@ -390,7 +392,7 @@
             return;
         }
 
-        ConfirmCancel.ToggleConfirmCancel(Language.Get("Mail101"), Language.Get("CostMoney", model.MoneyNum, model.MoneyType),
+        ConfirmCancel.ToggleConfirmCancel(Language.Get("Mail101"), Language.Get("BuyStoreItem", model.MoneyNum, model.MoneyType, model.Name),
         Language.Get("ConfirmCancel102"), (bool isOk, bool isToggle) =>
         {
             if (isOk)
@@ -567,7 +569,8 @@
     Normal = 1, //1锛氬潑甯�
     Guild = 2, //2锛氬叕浼�
     Hero = 3, //3锛氬皢榄�
-    
+    OSHeroCall = 4, //4锛氬紑鏈嶆嫑鍕熺ぜ鍖�
+
 }
 
 

--
Gitblit v1.8.0