From f4bb83fc7902cf87ba43b918c87c1d96ee5dbc14 Mon Sep 17 00:00:00 2001
From: yyl <yyl>
Date: 星期四, 07 八月 2025 15:01:30 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.1.20:10010/r/Project_SG_scripts

---
 Main/System/KnapSack/Logic/PackGirdCell.cs |   13 ++-----------
 1 files changed, 2 insertions(+), 11 deletions(-)

diff --git a/Main/System/KnapSack/Logic/PackGirdCell.cs b/Main/System/KnapSack/Logic/PackGirdCell.cs
index 0ceae9e..aac05c3 100644
--- a/Main/System/KnapSack/Logic/PackGirdCell.cs
+++ b/Main/System/KnapSack/Logic/PackGirdCell.cs
@@ -15,17 +15,8 @@
             return;
 
         var item = PackManager.Instance.GetItemByGuid(guid);
-        ulong count = 0;
-        if (GeneralDefine.itemMoneyCountDict.ContainsKey(item.itemId))
-        {
-            //灞曠ず璐у竵鏁伴噺鐨勭墿鍝�
-            count = UIHelper.GetMoneyCnt(GeneralDefine.itemMoneyCountDict[item.itemId]);
-        }
-        else
-        {
-            count = (ulong)item.count;
-        }
-        itemCell.Init(new ItemCellModel(item.itemId, false, count));
+
+        itemCell.Init(item);
         itemCell.button.AddListener(()=>
         {
             ItemTipUtility.Show(guid);

--
Gitblit v1.8.0