少年修仙传客户端代码仓库
client_linchunjie
2018-08-30 7ef7d997863299960ca08746afdd1872b3a68e80
3009【前端】运营类活动优化
1个文件已修改
12 ■■■■■ 已修改文件
System/OpenServerActivity/OSGiftModel.cs 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/OpenServerActivity/OSGiftModel.cs
@@ -155,6 +155,18 @@
            return false;
        }
        public bool IsGiftBuy(int _id)
        {
            var _limit = storeModel.GetBuyShopLimit((uint)_id);
            var config = Config.Instance.Get<StoreConfig>(_id);
            if (_limit != null && config != null
                && _limit.BuyCnt >= config.PurchaseNumber[0])
            {
                return true;
            }
            return false;
        }
        private void PlayerDataRefreshInfoEvent(PlayerDataRefresh _type)
        {
            bool _activate = CheckActivate();