| System/OpenServerActivity/OSGiftModel.cs | ●●●●● 补丁 | 查看 | 原始文档 | 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();