【log】关闭鸿蒙阵推送log

dev_chengFeng
gaoxin 2021-07-16 14:49:35 +08:00
parent 912945a782
commit e34f6a79cb
1 changed files with 10 additions and 10 deletions

View File

@ -1,4 +1,4 @@
IndicationManager = {}
IndicationManager = {}
local this = IndicationManager
function this.Initialize()
Game.GlobalEvent:AddEvent(Protocal.Connect, this.RegisterMessage)
@ -169,18 +169,18 @@ function this.HongMengIndication(buffer)
if msg.hongmengTabletMax ~= 0 then
-- body
LogYellow("鸿蒙碑开启!!!!!!!!!```````````````````````````` "..msg.hongmengTabletMax)
-- LogYellow("鸿蒙碑开启!!!!!!!!!```````````````````````````` "..msg.hongmengTabletMax)
HarmonyManager:SetHongMengTowerUpLimit(msg.hongmengTabletMax)
end
if msg.hongmengGuards then
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
-- 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