【跨服天梯】修改

zhangqiang 2020-12-18 10:57:29 +08:00
parent 9b83785b6d
commit 004c56ce90
5 changed files with 20 additions and 17 deletions

View File

@ -1403,8 +1403,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9} m_AnchoredPosition: {x: 255.7, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33} m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &8627966088746689758 --- !u!222 &8627966088746689758
CanvasRenderer: CanvasRenderer:
@ -4851,8 +4851,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9} m_AnchoredPosition: {x: 255.70001, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33} m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1780904953495839689 --- !u!222 &1780904953495839689
CanvasRenderer: CanvasRenderer:
@ -5373,8 +5373,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9} m_AnchoredPosition: {x: 255.70001, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33} m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &2151655759273255593 --- !u!222 &2151655759273255593
CanvasRenderer: CanvasRenderer:
@ -9086,8 +9086,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5} m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5} m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 137, y: 1.9} m_AnchoredPosition: {x: 255.70001, y: 1.9}
m_SizeDelta: {x: 602.86, y: 201.33} m_SizeDelta: {x: 864.6, y: 201.3}
m_Pivot: {x: 0.5, y: 0.5} m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &7174524862990147623 --- !u!222 &7174524862990147623
CanvasRenderer: CanvasRenderer:

View File

@ -1312,7 +1312,8 @@ FUNCTION_OPEN_TYPE = {
POKEMON=79,--灵兽山 POKEMON=79,--灵兽山
XiaoYaoYou = 80, -- 逍遥游 XiaoYaoYou = 80, -- 逍遥游
RoleAwake = 81, -- 神将觉醒 RoleAwake = 81, -- 神将觉醒
JumpServer = 82, -- 跨服玩法 JumpServer_HightLadder = 82, -- 跨服天梯玩法
JumpServer = 85, -- 跨服玩法
} }
TaskGetBtnIconDef = { TaskGetBtnIconDef = {

View File

@ -56,7 +56,7 @@ function JumpServerHightLadderPanel:BindEvent()
UIManager.OpenPanel(UIName.RankingSingleListPanel,rankKingList[15]) UIManager.OpenPanel(UIName.RankingSingleListPanel,rankKingList[15])
end) end)
Util.AddClick(this.rewardSortBtn,function() Util.AddClick(this.rewardSortBtn,function()
UIManager.OpenPanel(UIName.JumpServerHightLadderRewardSortPanel,FUNCTION_OPEN_TYPE.JumpServer) UIManager.OpenPanel(UIName.JumpServerHightLadderRewardSortPanel,FUNCTION_OPEN_TYPE.JumpServer_HightLadder)
end) end)
Util.AddClick(this.recordBtn,function() Util.AddClick(this.recordBtn,function()
UIManager.OpenPanel(UIName.JumpServerHightLadderRecordPopup) UIManager.OpenPanel(UIName.JumpServerHightLadderRecordPopup)
@ -65,7 +65,7 @@ function JumpServerHightLadderPanel:BindEvent()
JumpManager.GoJump(3005) JumpManager.GoJump(3005)
end) end)
Util.AddClick(this.formationBtn,function() Util.AddClick(this.formationBtn,function()
-- if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer) then -- if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) then
-- PopupTipPanel.ShowTip(Language[10082]) -- PopupTipPanel.ShowTip(Language[10082])
-- return -- return
-- end -- end

View File

@ -172,23 +172,25 @@ function this.CheckJumpServerhightLadderMainCityRedPoint()
end end
--剩余免费挑战次数红点 --剩余免费挑战次数红点
function this.JumpServerHightLadderMianFeiNumRedPoint() function this.JumpServerHightLadderMianFeiNumRedPoint()
local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer) local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder)
if not isOpen then if not isOpen then
return false return false
end end
if not this.GetHightLadderDataEnterable() then if not this.GetHightLadderDataEnterable() then
return false return false
end end
if stage == 2 then
if this.GetCanBattleCount() > 0 then if this.GetCanBattleCount() > 0 then
LogPink("跨服天梯剩余免费挑战次数红点true") LogPink("跨服天梯剩余免费挑战次数红点true")
return true return true
end end
end
LogPink("跨服天梯剩余免费挑战次数红点false") LogPink("跨服天梯剩余免费挑战次数红点false")
return false return false
end end
--跨服天梯可以膜拜红点 --跨服天梯可以膜拜红点
function this.JumpServerHightLadderWorshipRedPoint() function this.JumpServerHightLadderWorshipRedPoint()
local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer) local isOpen = ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder)
if not isOpen then if not isOpen then
return false return false
end end

View File

@ -147,7 +147,7 @@ end
function this.BtnClick(id) function this.BtnClick(id)
if id == JumpServer_Type.HightLadder then if id == JumpServer_Type.HightLadder then
if ActTimeCtrlManager.SingleFuncState(id) == false then --如果未解锁 if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) == false then --如果未解锁
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(JumpServer_Type.HightLadder)) PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(JumpServer_Type.HightLadder))
return return
end end