|
@@ -60,6 +60,7 @@ namespace GFGGame
|
|
|
if (string.IsNullOrEmpty(itemCfg.approach)) return;
|
|
|
|
|
|
string[] approachStrs = itemCfg.approach.Split(';');
|
|
|
+
|
|
|
foreach (string approachStr in approachStrs)
|
|
|
{
|
|
|
if (string.IsNullOrEmpty(approachStr)) continue;
|
|
@@ -130,7 +131,6 @@ namespace GFGGame
|
|
|
{
|
|
|
int storeTabId = int.Parse(infos[1]);
|
|
|
int storeSubId = int.Parse(infos[2]);
|
|
|
-
|
|
|
listItem.m_txtSourceName.text = StoreTabCfgArray.Instance.GetCfg(storeTabId).subTabArr[storeSubId][0];
|
|
|
}
|
|
|
else
|
|
@@ -177,7 +177,12 @@ namespace GFGGame
|
|
|
|
|
|
int storeTabId = int.Parse(infos[1]);
|
|
|
int storeSubId = int.Parse(infos[2]);
|
|
|
-
|
|
|
+ if (storeTabId == ConstStoreTabId.STORE_GIFT_BAG) {
|
|
|
+ List<ShopCfg> shopCfgs = ShopCfgArray.Instance.GetCfgsBymenu1Andmenu2(ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY);
|
|
|
+ //活动商店关闭需要减1
|
|
|
+ if (ShopDataManager.Instance.RemoveNotOpenCfg(shopCfgs).Count == 0)
|
|
|
+ storeSubId -= 1;
|
|
|
+ }
|
|
|
isJump = ViewManager.Show<StoreView>(new object[] { storeTabId, storeSubId });
|
|
|
return;
|
|
|
// case ConstFunctionId.SHOP_GIFT_BAG:
|