少年修仙传客户端代码仓库
hch
2024-12-11 9c2aa79a1b8960da5bb6ca78a09494ad6acc650c
0312 暂且屏蔽商店购买事件
1个文件已修改
10 ■■■■■ 已修改文件
System/KnapSack/Logic/PackModel.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/KnapSack/Logic/PackModel.cs
@@ -1813,14 +1813,10 @@
        public void ReceiveAwardNotify(HA801_tagMCGiveAwardInfo netPack)
        {
            if (WindowCenter.Instance.IsOpen<StoreWin>()
                || WindowCenter.Instance.IsOpen<BagStoreWin>() || WindowCenter.Instance.IsOpen<CrossServerOneVsOneHonorStoreWin>()
                || WindowCenter.Instance.IsOpen<UnionStoreWin>() || WindowCenter.Instance.IsOpen<XBStoreWin>())
            {
                return;
            }
            var eventName = UIHelper.ServerStringTrim(netPack.EventName);
            if (eventName == "BuyItem")
                return;
            if (!commonShowAwardEvents.Contains(eventName))
                return;