添加限制皮肤显示
parent
9e2c3f60ac
commit
9b13236cfc
|
@ -216,7 +216,7 @@ function this:UpdateHeroInfoData()
|
|||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.HeroSkin,"HeroId",heroConFigData.Id)
|
||||
local HeoSkin = {}
|
||||
for i = 1 ,#configs do
|
||||
if not HeoSkin[configs[i].Type] then
|
||||
if not HeoSkin[configs[i].Type] and configs[i].Show == 1 then
|
||||
HeoSkin[configs[i].Type] = configs[i]
|
||||
end
|
||||
end
|
||||
|
@ -250,7 +250,7 @@ function HandBookHeroInfoPanel:UpdateBtnList()
|
|||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.HeroSkin,"HeroId",heroConFigData.Id)
|
||||
local HeoSkin = {}
|
||||
for i = 1 ,#configs do
|
||||
if not HeoSkin[configs[i].Type] then
|
||||
if not HeoSkin[configs[i].Type] and configs[i].Show then
|
||||
HeoSkin[configs[i].Type] = configs[i]
|
||||
end
|
||||
end
|
||||
|
|
|
@ -58,7 +58,7 @@ function HandBookRoleSkinPanel:SetData(_sortinglayer,_parent,_curHerodata)
|
|||
local tempskins = {}
|
||||
for i = 1 ,#configs do
|
||||
--LogGreen("configs[i].Type:"..configs[i].Type)
|
||||
if not tempskins[configs[i].Type] then
|
||||
if not tempskins[configs[i].Type] and configs[i].Show then
|
||||
tempskins[configs[i].Type] = configs[i]
|
||||
end
|
||||
end
|
||||
|
|
|
@ -404,7 +404,7 @@ function this:UpdateBtnList()
|
|||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.HeroSkin,"HeroId",curHeroData.id)
|
||||
local HeoSkin = {}
|
||||
for i = 1 ,#configs do
|
||||
if not HeoSkin[configs[i].Type] then
|
||||
if not HeoSkin[configs[i].Type] and configs[i].Show == 1 then
|
||||
HeoSkin[configs[i].Type] = configs[i]
|
||||
end
|
||||
end
|
||||
|
@ -529,7 +529,7 @@ function this:UpdateHeroInfoData()
|
|||
local configs = ConfigManager.GetAllConfigsDataByKey(ConfigName.HeroSkin,"HeroId",curHeroData.id)
|
||||
local HeoSkin = {}
|
||||
for i = 1 ,#configs do
|
||||
if not HeoSkin[configs[i].Type] then
|
||||
if not HeoSkin[configs[i].Type] and configs[i].Show == 1 then
|
||||
HeoSkin[configs[i].Type] = configs[i]
|
||||
end
|
||||
end
|
||||
|
|
|
@ -55,7 +55,7 @@ function RoleSkinPanel:SetData(_sortinglayer,_parent,_curHerodata,_isUpZhen,_her
|
|||
local tempskins = {}
|
||||
for i = 1 ,#configs do
|
||||
--LogGreen("configs[i].Type:"..configs[i].Type)
|
||||
if not tempskins[configs[i].Type] then
|
||||
if not tempskins[configs[i].Type] and configs[i].Show == 1 then
|
||||
tempskins[configs[i].Type] = configs[i]
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue