lcy
6 天以前 3b2a6bb9047cfce9f501593b3669a9c1af6c5df4
Main/System/Store/StoreModel.cs
@@ -281,6 +281,11 @@
        for (int i = 0; i < netPack.ShopIDList.Length; i++)
        {
            var config = StoreConfig.Get((int)netPack.ShopIDList[i]);
            if (config == null)
            {
                Debug.LogError("前后端商店数据不一致");
                continue;
            }
            //UnlockType 2 由服务端通知
            StoreData storeData = new StoreData();
            storeData.shopId = config.ID;
@@ -541,6 +546,17 @@
        
        return 0;
    }
    public bool CheckPopBuyWin(int shopID)
    {
        int state = GetShopIDState(shopID);
        if (state == 1 || state == 3)
        {
            SysNotifyMgr.Instance.ShowTip(StringUtility.Contact("StoreTip", state));
            return false;
        }
        return true;
    }
}
public enum StoreFunc