2020-08-25 15:46:38 +08:00
|
|
|
|
--- 显示奖励
|
2020-05-09 13:31:21 +08:00
|
|
|
|
local BHShowReward = {}
|
|
|
|
|
local this = BHShowReward
|
|
|
|
|
|
|
|
|
|
function this.Excute(arg, func)
|
|
|
|
|
local drop = arg.drop
|
|
|
|
|
if drop then
|
|
|
|
|
if #drop.itemlist > 0 or #drop.equipId > 0 or #drop.Hero > 0 then
|
|
|
|
|
UIManager.OpenPanel(UIName.RewardItemPopup, drop, 2, function ()
|
|
|
|
|
if func then func() end
|
|
|
|
|
end)
|
|
|
|
|
return
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
if func then func() end
|
|
|
|
|
end
|
|
|
|
|
|
2020-06-23 18:36:24 +08:00
|
|
|
|
return this
|