【跨服天梯】国内提交替换资源 。。。。
parent
a72f77c71d
commit
7c7e0970a2
Binary file not shown.
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 24 KiB |
Binary file not shown.
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 26 KiB |
File diff suppressed because it is too large
Load Diff
|
@ -36,10 +36,10 @@ end
|
||||||
function this.InitView()
|
function this.InitView()
|
||||||
this.root.bg:SetActive(true)
|
this.root.bg:SetActive(true)
|
||||||
this.root.btn_2:SetActive(true)
|
this.root.btn_2:SetActive(true)
|
||||||
this.root.btn_2_lab.text = Language[10726]
|
this.root.btn_2_lab.text = Language[10559]
|
||||||
|
|
||||||
this.root.btn_1:SetActive(true)
|
this.root.btn_1:SetActive(true)
|
||||||
this.root.btn_1_lab.text = Language[10743]
|
this.root.btn_1_lab.text = Language[10710]
|
||||||
this.root.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.JumpServerHightLadder })
|
this.root.UpView:OnOpen({ showType = UpViewOpenType.ShowLeft, panelType = PanelType.JumpServerHightLadder })
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -148,6 +148,10 @@ end
|
||||||
|
|
||||||
function this.BtnClick(id)
|
function this.BtnClick(id)
|
||||||
if id == JumpServer_Type.HightLadder then
|
if id == JumpServer_Type.HightLadder then
|
||||||
|
if not ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.JumpServer_HightLadder) then
|
||||||
|
PopupTipPanel.ShowTip(ActTimeCtrlManager.GetFuncTip( FUNCTION_OPEN_TYPE.JumpServer_HightLadder))
|
||||||
|
return
|
||||||
|
end
|
||||||
local conFigWorldLevel = ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,1).WorldLevel
|
local conFigWorldLevel = ConfigManager.GetConfigData(ConfigName.MServerArenaSetting,1).WorldLevel
|
||||||
if PlayerManager.worldLeve < conFigWorldLevel then --如果世界等级不足
|
if PlayerManager.worldLeve < conFigWorldLevel then --如果世界等级不足
|
||||||
PopupTipPanel.ShowTip(string.format("世界等级到达%s后开启!",conFigWorldLevel))
|
PopupTipPanel.ShowTip(string.format("世界等级到达%s后开启!",conFigWorldLevel))
|
||||||
|
|
|
@ -145,7 +145,7 @@ function this:InitComponent()
|
||||||
-- this.btnTianFu = Util.GetGameObject(this.gameObject, "scene/layer6/btnTianFu")
|
-- this.btnTianFu = Util.GetGameObject(this.gameObject, "scene/layer6/btnTianFu")
|
||||||
this.btnWaiDi = Util.GetGameObject(this.gameObject, "scene/layer4/btnWaiDi")
|
this.btnWaiDi = Util.GetGameObject(this.gameObject, "scene/layer4/btnWaiDi")
|
||||||
this.btnColorfulWorld = Util.GetGameObject(this.gameObject, "scene/layer6/btnColorfulWorld")
|
this.btnColorfulWorld = Util.GetGameObject(this.gameObject, "scene/layer6/btnColorfulWorld")
|
||||||
this.btnJumpServer = Util.GetGameObject(this.gameObject, "scene/layer4/btnJumpServer")--跨服
|
this.btnJumpServer = Util.GetGameObject(this.gameObject, "scene/layer6/btnJumpServer")--跨服
|
||||||
this.btnWaiDi:SetActive(false)
|
this.btnWaiDi:SetActive(false)
|
||||||
this.btnCompoundHero = Util.GetGameObject(this.gameObject, "scene/layer3/btnCompoundHero")
|
this.btnCompoundHero = Util.GetGameObject(this.gameObject, "scene/layer3/btnCompoundHero")
|
||||||
this.btnTianShuMiJuan = Util.GetGameObject(this.gameObject, "scene/layer6/btnTianShuMiJuan")
|
this.btnTianShuMiJuan = Util.GetGameObject(this.gameObject, "scene/layer6/btnTianShuMiJuan")
|
||||||
|
@ -466,7 +466,7 @@ function this:BindEvent()
|
||||||
UIManager.OpenPanel(UIName.JumpServerPanel)
|
UIManager.OpenPanel(UIName.JumpServerPanel)
|
||||||
else
|
else
|
||||||
local config = ConfigManager.GetConfigData(ConfigName.GlobalSystemConfig,FUNCTION_OPEN_TYPE.JumpServer)
|
local config = ConfigManager.GetConfigData(ConfigName.GlobalSystemConfig,FUNCTION_OPEN_TYPE.JumpServer)
|
||||||
PopupTipPanel.ShowTip(string.format(Language[12297],config.OpenRules[2]))
|
PopupTipPanel.ShowTip(string.format(Language[10279],config.OpenRules[2]))
|
||||||
end
|
end
|
||||||
this.ScenceBtnClick(FUNCTION_OPEN_TYPE.JumpServer)
|
this.ScenceBtnClick(FUNCTION_OPEN_TYPE.JumpServer)
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue