Преглед на файлове

商城支持跳转到活动兑换

huangxiaoyue преди 1 година
родител
ревизия
a6e664ae96
променени са 2 файла, в които са добавени 11 реда и са изтрити 0 реда
  1. 11 0
      GameClient/Assets/Editor/Excel/Scanner/ItemApproachScanner.cs
  2. BIN
      GameClient/Assets/ResIn/UI/Store/Store_fui.bytes

+ 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