56级宝物显示在背包

dev_chengFeng
wangzhenxing 2022-04-28 13:46:14 +08:00
parent 0805e5054d
commit 6606b6bc64
3 changed files with 9 additions and 1 deletions

View File

@ -230,7 +230,6 @@ function GodPrintPopUp:RefreshShow(type)
self.downBtn:SetActive(type==Type.Down)
self.upStarBtn:SetActive(type~=0 and equipConfig[soulId].Quality<7)
--基础信息
LogError("soulid=="..soulId)
self.soulName.text = GetLanguageStrById(equipConfig[soulId].Name)
self.frame.sprite = self.spLoader:LoadSprite(GetQuantityImageByquality(equipConfig[soulId].Quality))
self.icon.sprite = self.spLoader:LoadSprite(GetResourcePath(itemConfig[soulId].ResourceID))

View File

@ -244,6 +244,9 @@ function this.BcakUpdateUserExp(_msg)
CheckRedPointStatus(RedPointType.HeroExplore)
CheckRedPointStatus(RedPointType.LegendExplore)
CheckRedPointStatus(RedPointType.People_Mirror)
if this.level==56 then
NetManager.AllEquipTreasureRequest(0)
end
end
Game.GlobalEvent:DispatchEvent(GameEvent.Player.OnPlayerLvChange)

View File

@ -828,6 +828,12 @@ function ItemView:NoGetRewardShow(_reward, effectLayer, isShowAddImage)
Util.AddOnceClick(self.frameBtn, function()
UIManager.OpenPanel(UIName.RewardItemSingleShowPopup, itemSId,nil,self.isRewardItemPop)
end)
elseif itemDataConFig.ItemType == ItemType.GodPrint then
self.frame.sprite = self.spLoader:LoadSprite(GetQuantityImageByquality(itemConfig[itemSId].Quantity))
self.icon.sprite = self.spLoader:LoadSprite(GetResourcePath(itemConfig[itemSId].ResourceID))
Util.AddOnceClick(self.frameBtn, function()
UIManager.OpenPanel(UIName.GodPrintPopUp,0,nil,itemSId )
end)
else
--5随机道具6符文
self.frame.sprite = self.spLoader:LoadSprite(GetQuantityImageByquality(itemConfig[itemSId].Quantity))