【跳转】增加惊喜礼盒跳转
parent
67dd2abbcb
commit
deb6eeca03
|
@ -1047,6 +1047,7 @@ JumpType = {
|
|||
|
||||
firstRecharge = 30001,
|
||||
ZhiZunJiangShi = 30002,
|
||||
SurpriseBox = 40001,--惊喜礼盒
|
||||
}
|
||||
|
||||
NPCPosType={
|
||||
|
|
|
@ -676,6 +676,14 @@ local jumpDic = {
|
|||
[JumpType.ZhiZunJiangShi] = function(data)
|
||||
UIManager.OpenPanel(UIName.SupremeHeroPopup)
|
||||
end,
|
||||
[JumpType.SurpriseBox] = function(data)
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(data[1])
|
||||
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(data[1]) then
|
||||
UIManager.OpenPanel(UIName.SurpriseBoxPanel)
|
||||
else
|
||||
PopupTipPanel.ShowTip("活动尚未开启")
|
||||
end
|
||||
end,
|
||||
}
|
||||
|
||||
function this.JumpActivity(data,skipfactor)
|
||||
|
|
Loading…
Reference in New Issue