主城六星玉帝入口进入成长礼包滑动到指定条目

dev_chengFeng
wangzhenxing 2021-04-28 00:32:55 +08:00
parent 3f937a4d93
commit e918945386
3 changed files with 6 additions and 0 deletions

View File

@ -334,6 +334,7 @@ function this:BindEvent()
--六星前往
Util.AddClick(this.btnSixStarGo,function()
PlayerManager.isSixStarJump=true
JumpManager.GoJump(36011)
end)

View File

@ -33,6 +33,8 @@ this.now_index = 0
--头像框数据
this.headFrameList = {}
this.MainPanelRoleMonveState = false
--是否为从六星玉帝入口跳转进入
this.isSixStarJump=false
--激活的称号 时装 坐骑
this.isRefreshMainPanelNpc = true

View File

@ -174,6 +174,9 @@ function EveryDayGift:RefreshGiftData(isTop,isAni)
break
end
end
if PlayerManager.isSixStarJump and curindex==0 then
curindex=7
end
if curindex ~= 0 then
--LogGreen("curindex:"..curindex)
self.scrollView:SetIndex(curindex)