【森罗幻境】进入森罗幻境后直接关闭选择神将弹窗,会在离开幻境前闪过一个统计弹窗 修复

dev_chengFeng
ZhangBiao 2021-01-04 11:04:37 +08:00
parent fc8f74cd3a
commit 2fed5ddb45
5 changed files with 27 additions and 27 deletions

View File

@ -61,7 +61,7 @@ function MapLeavePanel:BindEvent()
end)
Util.AddClick(this.btnEnd, function()
UIManager.OpenPanel(UIName.MapStatsPanel)
-- UIManager.OpenPanel(UIName.MapStatsPanel)
--PlayUIAnimBack(this.frame, function ()
-- PlayUIAnimBack(this.starRoot, function ()
self:ClosePanel()

View File

@ -507,16 +507,16 @@ function this.RefreshTriggerListen(id, openType, openArgs)
end
end
Game.GlobalEvent:AddEvent(GameEvent.Guide.MapInit, trigger)
elseif openType == 22 then
--监听副本结算界面
local trigger
trigger = function(panelType)
if panelType == UIName.MapStatsPanel then
Game.GlobalEvent:RemoveEvent(GameEvent.UI.OnOpen, trigger)
this.ShowGuide(id)
end
end
Game.GlobalEvent:AddEvent(GameEvent.UI.OnOpen, trigger)
-- elseif openType == 22 then
-- --监听副本结算界面
-- local trigger
-- trigger = function(panelType)
-- if panelType == UIName.MapStatsPanel then
-- Game.GlobalEvent:RemoveEvent(GameEvent.UI.OnOpen, trigger)
-- this.ShowGuide(id)
-- end
-- end
-- Game.GlobalEvent:AddEvent(GameEvent.UI.OnOpen, trigger)
elseif openType == 23 then
--监听副本界面
local trigger

View File

@ -434,7 +434,7 @@ function this.UpdateMapProgressData(_type, _data, _num, _isSend)
--if not UIManager.IsOpen(UIName.MissionRewardPanel) then
this.progressFull = true
if not UIManager.IsOpen(UIName.RewardItemPopup) then
UIManager.OpenPanel(UIName.MapStatsPanel)
-- UIManager.OpenPanel(UIName.MapStatsPanel)
end
else
this.progressFull = false
@ -570,7 +570,7 @@ function this.VictoryHandler(result, callBack)
-- 试炼副本最后一层
if MapTrialManager.IsFinalLevel() then
this.PanelCloseCallBack(UIName.MapOptionPanel, function ()
UIManager.OpenPanel(UIName.MapStatsPanel)
-- UIManager.OpenPanel(UIName.MapStatsPanel)
end)
end

View File

@ -230,7 +230,7 @@ function this:OnOpen(...)
-- 副本相关的初始化设置
this.InitCarbonSet()
-- 如果100%,弹出离开界面
this.ExploreInitSet()
-- this.ExploreInitSet()
this.InitrightUpBtn()
---- 刷新被主角狗眼糟蹋过的点
EndLessMapManager.isOpenedFullPanel = false
@ -251,16 +251,16 @@ function this.SetMapFog()
end
-- 有探索度地图的初始化
function this.ExploreInitSet()
--首先他得有探索度
local curMapId = MapManager.curMapId
if DifficultyData[curMapId] and DifficultyData[curMapId].IsExplore == 1 then
local isPass = CarbonManager.ExplorationDone()
if isPass then
UIManager.OpenPanel(UIName.MapStatsPanel)
end
end
end
-- function this.ExploreInitSet()
-- --首先他得有探索度
-- local curMapId = MapManager.curMapId
-- if DifficultyData[curMapId] and DifficultyData[curMapId].IsExplore == 1 then
-- local isPass = CarbonManager.ExplorationDone()
-- if isPass then
-- UIManager.OpenPanel(UIName.MapStatsPanel)
-- end
-- end
-- end
function this.InitCarbonSet()
-- 面板遮罩

View File

@ -457,9 +457,9 @@ function this.NormalShowTime(time)
end
end
if not UIManager.IsOpen(UIName.MapStatsPanel) then
UIManager.OpenPanel(UIName.MapStatsPanel)
end
-- if not UIManager.IsOpen(UIName.MapStatsPanel) then
-- UIManager.OpenPanel(UIName.MapStatsPanel)
-- end
end
end
end