SK_LongZhu
parent
cd6062ed8f
commit
0211cf2a60
|
|
@ -498,34 +498,35 @@ function CarbonsPanel:BtnClick(id)
|
|||
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(id))
|
||||
end
|
||||
elseif id==FUNCTION_OPEN_TYPE.LINGMAIMIJING then --灵脉
|
||||
if not ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.LINGMAIMIJING) then
|
||||
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip( FUNCTION_OPEN_TYPE.LINGMAIMIJING))
|
||||
if not ActTimeCtrlManager.IsQualifiled(FUNCTION_OPEN_TYPE.LINGMAIMIJING) then
|
||||
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip(FUNCTION_OPEN_TYPE.LINGMAIMIJING))
|
||||
return
|
||||
end
|
||||
-- 跨服相关判断
|
||||
if not JumpServerManager.GetLingMaiIsStart() then
|
||||
PopupTipPanel.ShowTip(string.format("开服第%s周开放!",ConfigManager.GetConfigData(ConfigName.MServerLodeSetting,1).OpenWeek))
|
||||
PopupTipPanel.ShowTip(string.format("开服第%s周开放!",
|
||||
ConfigManager.GetConfigData(ConfigName.MServerLodeSetting, 1).OpenWeek))
|
||||
return
|
||||
elseif not JumpServerManager.GetHightLadderDataIsGroup() then
|
||||
PopupTipPanel.ShowTip("未划分跨服分组,无法参与!")
|
||||
return
|
||||
end
|
||||
|
||||
if ActTimeCtrlManager.SingleFuncState(id) then
|
||||
NetManager.GetLingMaiInfoRequest(0,function ()
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.LINGMAIMIJING) then
|
||||
NetManager.GetLingMaiInfoRequest(0, function()
|
||||
if LingMaiMiJingManager.state == 0 then
|
||||
PopupTipPanel.ShowTip("今日不开放灵脉秘境玩法!")
|
||||
PopupTipPanel.ShowTip("今日不开放那美克星探险玩法!")
|
||||
else
|
||||
if not LingMaiMiJingManager.GetData() then
|
||||
LogError("灵脉试炼数据为空")
|
||||
PopupTipPanel.ShowTip("灵脉暂无法进入,请耐心等待!")
|
||||
LogError("那美克星探险数据为空")
|
||||
PopupTipPanel.ShowTip("那美克星探险暂无法进入,请耐心等待!")
|
||||
return
|
||||
end
|
||||
UIManager.OpenPanel(UIName.LingMaiMiJingPanel)
|
||||
end
|
||||
end)
|
||||
else
|
||||
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(id))
|
||||
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(FUNCTION_OPEN_TYPE.LINGMAIMIJIN))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue