献祭 和 吞卡 掉落身上装备不显示提交
parent
107096bd96
commit
22ad34291b
|
@ -10,6 +10,7 @@ this.mapShotTimeItemData = {}
|
||||||
this.tianFuMaterial = {}
|
this.tianFuMaterial = {}
|
||||||
this.needEndingTime = 0
|
this.needEndingTime = 0
|
||||||
|
|
||||||
|
this.dropIsSHowEquipPrint = true--显示掉落时是否显示装备和魂印
|
||||||
function this.Initialize()
|
function this.Initialize()
|
||||||
this.isBagPanel = false
|
this.isBagPanel = false
|
||||||
end
|
end
|
||||||
|
@ -703,7 +704,12 @@ function this.GetItemListFromTempBag(drop, isSave)
|
||||||
itemdata.frame = GetQuantityImageByquality(itemdata.configData.Quantity)
|
itemdata.frame = GetQuantityImageByquality(itemdata.configData.Quantity)
|
||||||
itemdata.icon = GetResourcePath(itemdata.configData.ResourceID)
|
itemdata.icon = GetResourcePath(itemdata.configData.ResourceID)
|
||||||
itemdata.num = drop.itemlist[i].itemNum
|
itemdata.num = drop.itemlist[i].itemNum
|
||||||
|
-- LogGreen("itemdata.configData.ItemType "..itemdata.configData.ItemType.." this.dropIsSHowEquipPrint "..tostring(this.dropIsSHowEquipPrint))
|
||||||
|
if itemdata.configData.ItemType ~= ItemType.Equip or itemdata.configData.ItemType ~= ItemType.HunYin then
|
||||||
table.insert(itemDataList, itemdata)
|
table.insert(itemDataList, itemdata)
|
||||||
|
elseif this.dropIsSHowEquipPrint then--献祭 升星吞卡 掉落身上装备和魂印 但是不显示 前端做处理
|
||||||
|
table.insert(itemDataList, itemdata)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
if drop.equipId ~= nil and #drop.equipId > 0 then
|
if drop.equipId ~= nil and #drop.equipId > 0 then
|
||||||
|
@ -992,4 +998,8 @@ function this.BagIndicationRefresh(msg)
|
||||||
CheckRedPointStatus(RedPointType.Bag_HeroDebris)
|
CheckRedPointStatus(RedPointType.Bag_HeroDebris)
|
||||||
CheckRedPointStatus(RedPointType.Bag_BoxAndBlueprint)
|
CheckRedPointStatus(RedPointType.Bag_BoxAndBlueprint)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
function this.SetDropIsSHowEquipPrint(dropIsSHowEquipPrint)
|
||||||
|
this.dropIsSHowEquipPrint = dropIsSHowEquipPrint
|
||||||
|
end
|
||||||
return this
|
return this
|
|
@ -463,7 +463,7 @@ function RewardItemPopup:ItemDataListSort(itemDataList)
|
||||||
end
|
end
|
||||||
--界面关闭时调用(用于子类重写)
|
--界面关闭时调用(用于子类重写)
|
||||||
function RewardItemPopup:OnClose()
|
function RewardItemPopup:OnClose()
|
||||||
|
BagManager.SetDropIsSHowEquipPrint(true)
|
||||||
local fightConFigData = ConfigManager.GetConfigData(ConfigName.MainLevelConfig, FightPointPassManager.curOpenFight)
|
local fightConFigData = ConfigManager.GetConfigData(ConfigName.MainLevelConfig, FightPointPassManager.curOpenFight)
|
||||||
if compShowType == 1 then
|
if compShowType == 1 then
|
||||||
compShowType = 0
|
compShowType = 0
|
||||||
|
|
|
@ -36,6 +36,7 @@ function this:BindEvent()
|
||||||
NetManager.UseAndPriceItemRequest(3, data, function(msg)
|
NetManager.UseAndPriceItemRequest(3, data, function(msg)
|
||||||
HeroManager.DeleteHeroDatas(data)
|
HeroManager.DeleteHeroDatas(data)
|
||||||
parent:ClosePanel()
|
parent:ClosePanel()
|
||||||
|
BagManager.SetDropIsSHowEquipPrint(false)
|
||||||
UIManager.OpenPanel(UIName.RewardItemPopup,msg,1,function ()
|
UIManager.OpenPanel(UIName.RewardItemPopup,msg,1,function ()
|
||||||
ResolvePanel.SwitchView(2)
|
ResolvePanel.SwitchView(2)
|
||||||
end)
|
end)
|
||||||
|
|
|
@ -1278,6 +1278,7 @@ function RoleInfoPanel:StarUpClick()
|
||||||
UIManager.OpenPanel(UIName.RoleUpStarSuccessPanel,curHeroData,upStarRankUpConfig.Id,upStarRankUpConfig.OpenLevel,function ()
|
UIManager.OpenPanel(UIName.RoleUpStarSuccessPanel,curHeroData,upStarRankUpConfig.Id,upStarRankUpConfig.OpenLevel,function ()
|
||||||
local dropItemTabs = BagManager.GetTableByBackDropData(msg)
|
local dropItemTabs = BagManager.GetTableByBackDropData(msg)
|
||||||
if #dropItemTabs > 0 then
|
if #dropItemTabs > 0 then
|
||||||
|
BagManager.SetDropIsSHowEquipPrint(false)
|
||||||
UIManager.OpenPanel(UIName.RewardItemPopup, msg, 1, function ()
|
UIManager.OpenPanel(UIName.RewardItemPopup, msg, 1, function ()
|
||||||
self:DeleteUpStarMaterials()
|
self:DeleteUpStarMaterials()
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue