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