【ID1018356】

【四灵试炼】在线过渡第二天,新开启的试炼入口没红点,关闭的入口红点不消失
dev_chengFeng
jiaoyangna 2021-09-03 16:29:30 +08:00
parent fb4a7afdc0
commit 1b82990227
2 changed files with 8 additions and 9 deletions

View File

@ -573,6 +573,14 @@ function this.SetMyHelpHeroData(trail,_data,func)
end
this.myHelpHeroData[v.trailType] = HeroManager.GetSingleHeroData(v.hero.id)
end
CheckRedPointStatus(RedPointType.PersonTrail)
CheckRedPointStatus(RedPointType.BuddishTrail)
CheckRedPointStatus(RedPointType.DemonTrail)
CheckRedPointStatus(RedPointType.TaoistTrail)
CheckRedPointStatus(RedPointType.PersonTrailHelp)
CheckRedPointStatus(RedPointType.BuddishTrailHelp)
CheckRedPointStatus(RedPointType.DemonTrailHelp)
CheckRedPointStatus(RedPointType.TaoistTrailHelp)
end
--发协议获取 调用x
NetManager.HelpFightListRequest(0,x)
@ -695,7 +703,6 @@ function this.CheckHelpFightRedPoint(redType)
elseif redType == RedPointType.DemonTrailHelp then
local heros = HeroManager.GetHeroDataByProperty(3,0)
if not heros or #heros < 1 then
LogGreen("#heros:"..#heros)
return false
end
if this.fourMonsterData[3] and this.fourMonsterData[3].openState > 0 then

View File

@ -256,14 +256,6 @@ function this.SendFourChallengeInfoIndication(buffer)
MonsterCampManager.InitFourMonsterData(msg)
MonsterCampManager.SetFriendHelpHero({},nil)
MonsterCampManager.SetMyHelpHeroData(nil)
CheckRedPointStatus(RedPointType.PersonTrail)
CheckRedPointStatus(RedPointType.BuddishTrai)
CheckRedPointStatus(RedPointType.DemonTrail)
CheckRedPointStatus(RedPointType.TaoistTrail)
CheckRedPointStatus(RedPointType.PersonTrailHelp)
CheckRedPointStatus(RedPointType.BuddishTraiHelp)
CheckRedPointStatus(RedPointType.DemonTrailHelp)
CheckRedPointStatus(RedPointType.TaoistTrailHelp)
end
function this.HeroSkinUseIndication(buffer)
local data = buffer:DataByte()