Exemplo n.º 1
0
 public void OnBonusRenew(NodeAddedEvent e, ActivePaymentSaleNode sale, ScreenNode screen, XCrystalPersonalRewardNode personalReward, [JoinBy(typeof(BattleRewardGroupComponent))] XCrystalRewardNode reward)
 {
     if (sale.activePaymentSale.PersonalXCrystalBonus)
     {
         screen.battleResultsAwardsScreen.specialOfferUI.ShowDiscountButtonIfXBonus();
     }
 }
Exemplo n.º 2
0
 public void OnBonusUse(NodeRemoveEvent e, ActivePaymentSaleNode sale, [Context] ScreenNode screen)
 {
     screen.battleResultsAwardsScreen.specialOfferUI.HideDiscountButton();
 }