返回主城打开竞技试炼
parent
a1e4acd488
commit
a19e1d1b7d
|
@ -58,6 +58,12 @@ function ArenaTypePanel:BindEvent()
|
||||||
end)
|
end)
|
||||||
Util.AddClick(this.btnBack, function()
|
Util.AddClick(this.btnBack, function()
|
||||||
PlaySoundWithoutClick(SoundConfig.Sound_UICancel)
|
PlaySoundWithoutClick(SoundConfig.Sound_UICancel)
|
||||||
|
if PlayerPrefs.HasKey("ArenaTypePanel"..PlayerManager.uid) then
|
||||||
|
DynamicActivityManager.isopenJingjishilian = false
|
||||||
|
else
|
||||||
|
PlayerPrefs.SetInt("ArenaTypePanel"..PlayerManager.uid,1)
|
||||||
|
DynamicActivityManager.isopenJingjishilian = true
|
||||||
|
end
|
||||||
this:ClosePanel()
|
this:ClosePanel()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ this.selectIndex2 = {dataType = 0,goodsId = {}}
|
||||||
this.NiuQiIndex = 1
|
this.NiuQiIndex = 1
|
||||||
this.Index = 0--成长礼包需要的index
|
this.Index = 0--成长礼包需要的index
|
||||||
this.curLevel = 0--当前声望等级
|
this.curLevel = 0--当前声望等级
|
||||||
|
this.isopenJingjishilian = false
|
||||||
this.TaiChuMiJuanData = {}
|
this.TaiChuMiJuanData = {}
|
||||||
function this.SetTaiChuMiJuanData(msg,fun)
|
function this.SetTaiChuMiJuanData(msg,fun)
|
||||||
local datas
|
local datas
|
||||||
|
|
|
@ -1191,6 +1191,10 @@ function this:OnShow()
|
||||||
addUpDateNum = addUpDateNum + 1
|
addUpDateNum = addUpDateNum + 1
|
||||||
end
|
end
|
||||||
YuJianXingManager.MakeRequest()
|
YuJianXingManager.MakeRequest()
|
||||||
|
|
||||||
|
if DynamicActivityManager.isopenJingjishilian then
|
||||||
|
UIManager.OpenPanel(UIName.ArenaTrialPanel)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
Loading…
Reference in New Issue