From cc349a454d938e4046151233d6639d2c3807da9b Mon Sep 17 00:00:00 2001
From: lcy <1459594991@qq.com>
Date: 星期二, 04 十一月 2025 14:48:47 +0800
Subject: [PATCH] 143 演武场-客户端 接入挑战凭证用货币购买

---
 Main/System/Store/StoreModel.cs |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/Main/System/Store/StoreModel.cs b/Main/System/Store/StoreModel.cs
index cc788fa..8310ac8 100644
--- a/Main/System/Store/StoreModel.cs
+++ b/Main/System/Store/StoreModel.cs
@@ -541,6 +541,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

--
Gitblit v1.8.0