【鸿蒙阵】增加logerror
parent
52a7b26e0a
commit
30f2a8cb1a
|
@ -166,7 +166,6 @@ function this.HongMengIndication(buffer)
|
|||
local data = buffer:DataByte()
|
||||
local msg = HeroInfoProto_pb.HongmengInfoIndication()
|
||||
msg:ParseFromString(data)
|
||||
--LogGreen("更新数据")
|
||||
|
||||
if msg.hongmengTabletMax ~= 0 then
|
||||
-- body
|
||||
|
@ -174,11 +173,14 @@ function this.HongMengIndication(buffer)
|
|||
HarmonyManager:SetHongMengTowerUpLimit(msg.hongmengTabletMax)
|
||||
end
|
||||
if msg.hongmengGuards then
|
||||
-- body
|
||||
-- for i = 1, #msg.hongmengGuards do
|
||||
-- -- body
|
||||
-- print(HeroManager.GetSingleHeroData(msg.hongmengGuards[i].heroId).name)
|
||||
-- end
|
||||
LogError("鸿蒙阵更新数据的Indication..##msg.hongmengGuards:"..tostring(#msg.hongmengGuards))
|
||||
for i = 1, #msg.hongmengGuards do
|
||||
if msg.hongmengGuards[i].heroId == "" then
|
||||
Log("鸿蒙守卫:"..i.."为nil")
|
||||
else
|
||||
Log("鸿蒙守卫:"..i..HeroManager.GetSingleHeroData(msg.hongmengGuards[i].heroId).name)
|
||||
end
|
||||
end
|
||||
HarmonyManager.UpdateHongMengDataGuards(msg.hongmengGuards)
|
||||
end
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 88ae94ae510d46947966f1c53d98556f
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
Loading…
Reference in New Issue