Browse Source

商城支持跳转到活动兑换

huangxiaoyue 1 year ago
parent
commit
a6e664ae96

+ 11 - 0
GameClient/Assets/Editor/Excel/Scanner/ItemApproachScanner.cs

@@ -294,6 +294,7 @@ namespace GFGEditor
                     return "FU_ZHUANG_DIAN=" + ConstStoreId.GALLERY_STORE_ID;
                 }
             }
+
             return null;
         }
         /// <summary>
@@ -608,6 +609,16 @@ namespace GFGEditor
                 }
             }
 
+            List<ShopCfg> storyActivityCfg = ShopCfgArray.Instance.GetCfgsBymenu1Andmenu2(ConstStoreTabId.STORE_EXCHANGE, ConstStoreSubId.STORE_ACTIVITY_EXCHANGE);
+            for (int i = 0; i < storyActivityCfg.Count; i++)
+            {
+                if (CheckIsHasItem(itemId, storyActivityCfg[i].itemId))
+                {
+                    approachs.Add(ConstFunctionId.STORE + "=" + ConstStoreTabId.STORE_EXCHANGE + "=" + ConstStoreSubId.STORE_ACTIVITY_EXCHANGE);
+                    break;
+                }
+            }
+
             List<ShopCfg> exchangetShopCfgs = ShopCfgArray.Instance.GetCfgsBymenu1Andmenu2(ConstStoreTabId.STORE_EXCHANGE, ConstStoreSubId.STORE_EXCHANGE_LEAGUE);
             for (int i = 0; i < exchangetShopCfgs.Count; i++)
             {

BIN
GameClient/Assets/ResIn/UI/Store/Store_fui.bytes