【log】关闭鸿蒙阵推送log
parent
912945a782
commit
e34f6a79cb
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue