소스 검색

商城支持跳转到活动兑换

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