增加新的跳转类型109 同bt

tcx_xiyou_dev
wangzhenxing 2024-05-22 19:06:06 +08:00
parent e47742f45a
commit c7fb1acf94
2 changed files with 11 additions and 0 deletions

View File

@ -1309,6 +1309,7 @@ JumpType = {
zhongzhichengcheng = 96001, --众志成城
zhongzhichengcheng_Explor = 96002,--众志成城跳转探索功能
player =108, --主角界面
NumGame=109, --比数字游戏
}
NPCPosType={

View File

@ -734,6 +734,16 @@ local jumpDic = {
[JumpType.zhenqibaoge] = function(data)
this.JumpActivity(JumpType.zhenqibaoge,data[1])
end,
[JumpType.NumGame] = function(data)
if CheckFunctionOpen(FUNCTION_OPEN_TYPE.Number_Game) then
NetManager.GetComparenumInfoRequest(function()
UIManager.OpenPanel(UIName.RatioNumberLevelPanel)
end)
else
PopupTipPanel.ShowTip("功能尚未开启")
end
end,
[JumpType.xunxianbaoge] = function(data)
this.JumpActivity(JumpType.xunxianbaoge,data[1])
end,