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