【百宝商会】新增跳转

dev_chengFeng
ZhangBiao 2022-01-11 11:29:43 +08:00
parent c40be4411d
commit f94e79b6e2
2 changed files with 9 additions and 0 deletions

View File

@ -1203,6 +1203,7 @@ JumpType = {
ContinuePackage = 20290,--连购礼包
tehuishangcheng = 18888,--特惠商城
TreasureStoreSeason2 = 20300,--新百宝商会
}
NPCPosType={

View File

@ -875,6 +875,14 @@ local jumpDic = {
[JumpType.Explor] = function(data,args)
UIManager.OpenPanel(UIName.ExploreMainPanel)
end,
[JumpType.TreasureStoreSeason2] = function(data,args)
local activityId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.TreasureStoreSeason2)
if activityId and activityId > 0 and ActivityGiftManager.IsQualifiled(ActivityTypeDef.TreasureStoreSeason2) then
UIManager.OpenPanel(UIName.TreasureStoreSeason2)
else
PopupTipPanel.ShowTip("活动尚未开启")
end
end,
}
function this.JumpActivity(data,skipfactor)