lcy
6 天以前 bcd8d6f3711aaf07623d192a956dff94872ad4af
251 每日特惠-客户端 商店物品增加专属标识
2个文件已修改
11 ■■■■■ 已修改文件
Main/Config/Configs/StoreConfig.cs 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Main/System/Store/StoreCell.cs 4 ●●●● 补丁 | 查看 | 原始文档 | 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(() =>
        {