Merge branch 'tcx_xiyou_yueNan' of http://192.168.1.21:3000/root/miduo_client into tcx_xiyou_yueNan

tcx_xiyou_yueNan
PC-202302260912\Administrator 2025-04-24 16:57:22 +08:00
commit 95c9d48320
1 changed files with 9 additions and 6 deletions

View File

@ -173,7 +173,8 @@ function this:BindEvent()
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
roleLevelUpTime = "x3_stage",
roleCreateTime =
"id|" .. tostring(levelId)
"stage-id|" ..
tostring(FightPointPassManager.GetCurFightId() .. "|role-level|" .. tostring(PlayerManager.level))
})
elseif scale == BATTLE_TIME_SCALE_TWO then
-- 2倍速时判断是否解锁了3倍速没解锁就回到1倍速
@ -219,7 +220,8 @@ function this:BindEvent()
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
roleLevelUpTime = "skip_stage",
roleCreateTime =
"id|" .. tostring(levelId)
"stage-id|" ..
tostring(FightPointPassManager.GetCurFightId() .. "|role-level|" .. tostring(PlayerManager.level))
})
--this:ClosePanel()
end
@ -325,7 +327,8 @@ function this:OnOpen(_fightData, _fightType, _endFunc, _guideType, isChangeBGM)
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
roleLevelUpTime = "main_stage_start",
roleCreateTime =
"id|" .. tostring(FightPointPassManager.GetCurFightId())
"stage-id|" ..
tostring(FightPointPassManager.GetCurFightId() .. "|role-level|" .. tostring(PlayerManager.level))
})
end
end
@ -669,7 +672,6 @@ function this.ShowBattleResult(result, msg)
UIManager.OpenPanel(UIName.BattleWinPopup, this, isBack, fightType, this.lastBattleResult)
end
else
LogRed("result==============================================:" .. tostring(result))
if result == 0 then -- 失败
local haveRecord = BattleRecordManager.isHaveRecord()
UIManager.OpenPanel(UIName.BattleFailPopup, this, haveRecord, nil, fightType)
@ -684,7 +686,7 @@ function this.ShowBattleResult(result, msg)
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
roleLevelUpTime = "main_stage_fail",
roleCreateTime =
"id|" .. tostring(levelId)
"stage-id|" .. tostring(levelId) .. "|role-level|" .. tostring(PlayerManager.level)
})
else
if levelId == 5201 then
@ -698,7 +700,8 @@ function this.ShowBattleResult(result, msg)
type = SDKSubMitType.TYPE_CUSTOM_PARAMS,
roleLevelUpTime = "main_stage_complete",
roleCreateTime =
"id|" .. tostring(levelId)
"stage-id|" ..
tostring(FightPointPassManager.lastPassFightId) .. "|role-level|" .. tostring(PlayerManager.level)
})
end
end