public void ClickDrawTripleRewardButtonHandler() { multiple = Multiple.Triple; if (VIPProxy.instance.VIPLevel < GlobalData.GetGlobalData().dailyDungeonAwardVIPLevelList[1]) { CommonErrorTipsView.Open(Localization.Get("ui.daily_dungeon_win_view.vip_level_not_enough_tips")); return; } if (ConsumeTipProxy.instance.GetConsumeTipEnable(ConsumeTipType.DiamondDrawMutipleReward)) { ConsumeTipData consumeTipData = ConsumeTipData.GetConsumeTipDataByType(ConsumeTipType.DiamondDrawMutipleReward); ConfirmCostTipsView.Open(GlobalData.GetGlobalData().dailyDungeonAwardCostList[1], Localization.Get(consumeTipData.des), null, ConfirmDrawTripleReward, ConsumeTipType.DiamondDrawMutipleReward); } else { ConfirmDrawTripleReward(); } }
public void SetType(ConsumeTipType type) { _consumeTipData = ConsumeTipData.GetConsumeTipDataByType(type); Refresh(); }