A面修改
This commit is contained in:
@@ -122,7 +122,7 @@ namespace ChillConnect
|
||||
DOVirtual.DelayedCall(0.5f, () =>
|
||||
{
|
||||
int gold = 0;
|
||||
if(!GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
if(GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
|
||||
List<Passportrewards> Passportrewards_list = ConfigSystem.GetConfig<PassportrewardsModel>().DataList;
|
||||
for (int i = 0; i < Passportrewards_list.Count; i++)
|
||||
|
||||
@@ -57,7 +57,10 @@ namespace ChillConnect
|
||||
(ui.btn_max_pay.GetChild("img_saveingpot") as GImage).visible = true;
|
||||
ui.btn_buypass.GetChild("img_saveingpot").visible = true;
|
||||
}
|
||||
|
||||
if (!GameHelper.IsGiftSwitch())
|
||||
{
|
||||
GameHelper.GetCommonModel().Passportgift = 1;
|
||||
}
|
||||
if (GameHelper.IsAdModelOfPay())
|
||||
{
|
||||
ui.pay_type.selectedIndex = 0;
|
||||
@@ -87,7 +90,7 @@ namespace ChillConnect
|
||||
}
|
||||
|
||||
InitView();
|
||||
TrackKit.SendEvent(GameHelper.getTrackEvenName(),Property.PassShow);
|
||||
TrackKit.SendEvent(GameHelper.getTrackEvenName(), Property.PassShow);
|
||||
|
||||
}
|
||||
|
||||
@@ -136,7 +139,7 @@ namespace ChillConnect
|
||||
|
||||
}
|
||||
ui.text_allgold.text = GameHelper.Get101Str(gold);
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -113,7 +113,7 @@ namespace ChillConnect
|
||||
SaveData.GetSaveObject().have_slot = true;
|
||||
SaveData.saveDataFunc();
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.Slot_refresh);
|
||||
if (!GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
if (GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
GameHelper.IsTemporaryEnd = false;
|
||||
purch_number = ConfigSystem.GetConfig<CommonModel>().addspace2.ToString();
|
||||
}
|
||||
@@ -128,7 +128,7 @@ namespace ChillConnect
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.Slot_refresh);
|
||||
}
|
||||
GameHelper.IsTemporaryEnd = false;
|
||||
if (!GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
if (GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
}
|
||||
else if (type == PurchasingManager.GetPaySku(PayType.remove_ad))
|
||||
{
|
||||
@@ -139,7 +139,7 @@ namespace ChillConnect
|
||||
// GameDispatcher.Instance.Dispatch(GameMsg.Gold_refresh);
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.noads_refresh);
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.UpdateNoads);
|
||||
if (!GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
if (GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
purch_number = ConfigSystem.GetConfig<PaidgiftModel>().DataList[1].Paid_price2.ToString();
|
||||
}
|
||||
else if (type == PurchasingManager.GetPaySku(PayType.pack_reward))
|
||||
@@ -160,7 +160,7 @@ namespace ChillConnect
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.Gold_refresh);
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.Sheep_item_refresh);
|
||||
GameDispatcher.Instance.Dispatch(GameMsg.UpdateNoads);
|
||||
if (!GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
if (GameHelper.IsGiftSwitch()) GameHelper.ShowTips("Purchase successful");
|
||||
purch_number = ConfigSystem.GetConfig<PaidgiftModel>().DataList[0].Paid_price2.ToString();
|
||||
}
|
||||
else if (type == PurchasingManager.GetPaySku(PayType.battle_pass))
|
||||
|
||||
Reference in New Issue
Block a user