|
@@ -1082,14 +1082,21 @@ namespace GFGGame
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- if (GameGlobal.AutoStoreView)
|
|
|
+ if (GameGlobal.AutoSpecialOfferGiftBoxView)
|
|
|
{
|
|
|
- List<int> shopListId = new List<int>() { 40012, 40013 };
|
|
|
- if (ShopDataManager.Instance.GetShopIdCanBuyInShop(ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY, shopListId))
|
|
|
+ //List<int> shopListId = new List<int>() { 40012, 40013 };
|
|
|
+ //if (ShopDataManager.Instance.GetShopIdCanBuyInShop(ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY, shopListId))
|
|
|
+ //{
|
|
|
+ // ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY });
|
|
|
+ // return;
|
|
|
+ //}
|
|
|
+
|
|
|
+ if (LimitedTimeGiftBoxDataManager.Instance.SpecialOfferGiftBoxCanBuy())
|
|
|
{
|
|
|
- ViewManager.Show<StoreView>(new object[] { ConstStoreTabId.STORE_GIFT_BAG, ConstStoreSubId.STORE_GIFT_BAG_ACTIVITY });
|
|
|
+ ViewManager.Show<SpecialOfferGiftBoxView>();
|
|
|
return;
|
|
|
}
|
|
|
+
|
|
|
}
|
|
|
if (FieldDataManager.Instance.waitToShowFieldFightEndView)
|
|
|
{
|