| Main/Config/Configs/StoreConfig.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
| Main/System/Store/StoreCell.cs | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
Main/Config/Configs/StoreConfig.cs
@@ -1,6 +1,6 @@ //-------------------------------------------------------- // [Author]: YYL // [ Date ]: 2025年12月8日 // [ Date ]: 2026年1月8日 //-------------------------------------------------------- using System.Collections.Generic; @@ -29,6 +29,7 @@ public int MoneyOriginal; public int UnlockType; public int UnlockValue; public int IsExclusive; public string Name; public override int LoadKey(string _key) @@ -67,7 +68,9 @@ int.TryParse(tables[12],out UnlockValue); Name = tables[13]; int.TryParse(tables[13],out IsExclusive); Name = tables[14]; } catch (Exception exception) { Main/System/Store/StoreCell.cs
@@ -20,7 +20,7 @@ [SerializeField] Button freeButton; [SerializeField] Image freeRedPoint; [SerializeField] Text freeText; [SerializeField] Image exclusiveImage;//专属 public void Display(int index) { if (!StoreModel.Instance.storeTypeDict.ContainsKey((int)StoreModel.Instance.selectStoreFuncType)) @@ -33,7 +33,7 @@ int shopID = storeData.shopId; var itemID = storeData.storeConfig.ItemID; var itemCount = storeData.storeConfig.ItemCnt; exclusiveImage.SetActive(storeData.storeConfig.IsExclusive == 1); itemCell.Init(new ItemCellModel(itemID, false, itemCount)); itemCell.button.AddListener(() => {