播放第三场战斗动画修改
parent
485c81da9f
commit
dbb563fbe5
|
|
@ -907,6 +907,7 @@ function this.GetTwoOutOfThreeInfo(type)
|
|||
LogGreen(" return 2,0")
|
||||
return 2,0
|
||||
end
|
||||
return 0,0
|
||||
end
|
||||
--获取当前三局两胜是否结束
|
||||
function this.GetIsBattleEndState(type)
|
||||
|
|
@ -915,6 +916,7 @@ function this.GetIsBattleEndState(type)
|
|||
oldTwoOutOfThreeIndex = this.GetBaseData().process
|
||||
elseif type == 2 then--竞猜
|
||||
oldTwoOutOfThreeIndex = this.GetProcess()
|
||||
LogPink("oldTwoOutOfThreeIndex "..oldTwoOutOfThreeIndex)
|
||||
end
|
||||
local baseData = ArenaTopMatchManager.GetBaseData()
|
||||
-- 没开启或者开启没参赛都属于未参赛
|
||||
|
|
|
|||
|
|
@ -128,6 +128,7 @@ function this.SetInfoData(panelType, blueData, redData, textType, showScore,batt
|
|||
this.RefreshTwoOutOfThreeData()
|
||||
|
||||
this.awaitText:SetActive(ArenaTopMatchManager.GetIsBattleEndState(this.panelType))
|
||||
LogPink("ArenaTopMatchManager.GetIsBattleEndState(this.panelType) "..tostring(ArenaTopMatchManager.GetIsBattleEndState(this.panelType)))
|
||||
if this.panelType == 1 then
|
||||
this.awaitText.transform.localPosition = Vector3.New(0,785,0)
|
||||
elseif this.panelType == 2 then
|
||||
|
|
|
|||
|
|
@ -89,6 +89,10 @@ function this.battleDetailBtnClick(isShowTip)
|
|||
Log(Language[10168])
|
||||
return
|
||||
end
|
||||
if ArenaTopMatchManager.GetIsBattleEndState(2) then
|
||||
LogPink(" `````````` 第三场 竞技战斗动画拦截住了 ")
|
||||
return
|
||||
end
|
||||
local nameStr = betBattleInfo.myInfo.name.."|"..betBattleInfo.enemyInfo.name
|
||||
ArenaTopMatchManager.RequestReplayRecord(betBattleInfo.result, betBattleInfo.fightData, nameStr, function()
|
||||
|
||||
|
|
|
|||
|
|
@ -123,6 +123,10 @@ function this.battleDetailBtnClick()
|
|||
Log(Language[10168])
|
||||
return
|
||||
end
|
||||
if ArenaTopMatchManager.GetIsBattleEndState(1) then
|
||||
LogPink(" `````````` 第三场 我的战斗动画拦截住了 ")
|
||||
return
|
||||
end
|
||||
local nameStr = battleInfo.myInfo.name.."|"..battleInfo.enemyInfo.name
|
||||
ArenaTopMatchManager.RequestReplayRecord(battleInfo.result, battleInfo.fightData, nameStr, function()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue