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