|
@@ -109,6 +109,8 @@ namespace GFGGame
|
|
|
_ui.m_btnWanShiLi.target.onClick.Add(OnClickBtnWanShiLi);
|
|
|
_ui.m_btnTea.target.onClick.Add(OnClickBtnTea);
|
|
|
_ui.m_btnActivityZCJB.target.onClick.Add(OnClickBtnZCJB);
|
|
|
+ //_ui.m_btnGetYuanXiao.target.onClick.Add(OnClickBtnGetYuanXiao);
|
|
|
+ //_ui.m_btnGetYuanXiao.target.visible = false;
|
|
|
_btnLeague.onClick.Add(OnClickBtnLeague);
|
|
|
_btnStore.onClick.Add(OnClickBtnStore);
|
|
|
_btnTuJian.onClick.Add(OnClickBtnTuJian);
|
|
@@ -1106,24 +1108,24 @@ namespace GFGGame
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- //月卡弹窗
|
|
|
- if (GameGlobal.AutoMonthlyCardView)
|
|
|
- {
|
|
|
- GameGlobal.AutoMonthlyCardView = false;
|
|
|
- if (GameGlobal.myNumericComponent.GetAsInt(NumericType.IsPropCzykActivity) == 0)
|
|
|
- {
|
|
|
- long endTime1 = GameGlobal.myNumericComponent.GetAsLong(NumericType.MonthCardGoldEndTime);
|
|
|
- long endTime2 = GameGlobal.myNumericComponent.GetAsLong(NumericType.MonthCardBlackGoldEndTime);
|
|
|
- if (endTime1 < TimeHelper.ServerNow())
|
|
|
- {
|
|
|
- if (endTime2 < TimeHelper.ServerNow())
|
|
|
- {
|
|
|
- ViewManager.Show<MonthlyCardTipsView>();
|
|
|
- return;
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
- }
|
|
|
+ //月卡弹窗 暂时屏蔽该两个弹窗
|
|
|
+ //if (GameGlobal.AutoMonthlyCardView)
|
|
|
+ //{
|
|
|
+ // GameGlobal.AutoMonthlyCardView = false;
|
|
|
+ // if (GameGlobal.myNumericComponent.GetAsInt(NumericType.IsPropCzykActivity) == 0)
|
|
|
+ // {
|
|
|
+ // long endTime1 = GameGlobal.myNumericComponent.GetAsLong(NumericType.MonthCardGoldEndTime);
|
|
|
+ // long endTime2 = GameGlobal.myNumericComponent.GetAsLong(NumericType.MonthCardBlackGoldEndTime);
|
|
|
+ // if (endTime1 < TimeHelper.ServerNow())
|
|
|
+ // {
|
|
|
+ // if (endTime2 < TimeHelper.ServerNow())
|
|
|
+ // {
|
|
|
+ // ViewManager.Show<MonthlyCardTipsView>();
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ //}
|
|
|
//活动公告弹窗
|
|
|
if (GameGlobal.AutoAcitivtyTipsLoginView)
|
|
|
{
|
|
@@ -1134,22 +1136,22 @@ namespace GFGGame
|
|
|
return;
|
|
|
}
|
|
|
}
|
|
|
- if (GameGlobal.AutoSpecialOfferGiftBoxView)
|
|
|
- {
|
|
|
- //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<SpecialOfferGiftBoxView>();
|
|
|
- return;
|
|
|
- }
|
|
|
+ //if (GameGlobal.AutoSpecialOfferGiftBoxView)
|
|
|
+ //{
|
|
|
+ // //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<SpecialOfferGiftBoxView>();
|
|
|
+ // return;
|
|
|
+ // }
|
|
|
|
|
|
- }
|
|
|
+ //}
|
|
|
if (FieldDataManager.Instance.waitToShowFieldFightEndView)
|
|
|
{
|
|
|
ViewManager.Show<FieldFightEndView>();
|
|
@@ -1185,5 +1187,10 @@ namespace GFGGame
|
|
|
{
|
|
|
_ui.m_show.Play();
|
|
|
}
|
|
|
+
|
|
|
+ //private void OnClickBtnGetYuanXiao()
|
|
|
+ //{
|
|
|
+ // ViewManager.Show<ActivityGetYuanXiaoView>();
|
|
|
+ //}
|
|
|
}
|
|
|
}
|