成长礼包添加特效

dev_chengFeng
jiaoyangna 2021-05-13 11:30:39 +08:00
parent 6556a240e4
commit ec8c7ea645
1 changed files with 13 additions and 1 deletions

View File

@ -6,6 +6,7 @@ local this = MainPanel
local endTime = 0
local GlobalActConfig = ConfigManager.GetConfig(ConfigName.GlobalActivity)
local ActGroupsConfig = ConfigManager.GetConfig(ConfigName.ActivityGroups)
local shopItemConfig = ConfigManager.GetConfig(ConfigName.StoreConfig)
--示意图轮回放
local imageList = {}
-- 主界面需要隐藏的功能
@ -335,7 +336,18 @@ function this:BindEvent()
--六星前往
Util.AddClick(this.btnSixStarGo,function()
--PlayerManager.isSixStarJump=true
DynamicActivityManager.SetSelectIndex(DataType.Shop,{1107,1110,1111,1112})
local shopId = {}
local shopData = ShopManager.GetShopDataByType(SHOP_TYPE.VIP_GIFT).storeItem
for i = 1, #shopData do
local shopItemData = shopItemConfig[shopData[i].id]
local shows = shopItemData.Goods
for j = 1,#shows do
if shows[j][1] == 11026 then
table.insert(shopId,shopItemData.Id)
end
end
end
DynamicActivityManager.SetSelectIndex(DataType.Shop,shopId)
JumpManager.GoJump(36011)
end)