【红点】退出公会,入口依然显示红点

dev_chengFeng
zhangqiang 2021-04-08 20:03:19 +08:00
parent 56c0462062
commit d1f88d5b33
2 changed files with 19 additions and 1 deletions

View File

@ -187,6 +187,7 @@ function GuildInfoPopup:BindEvent()
MsgPanel.ShowTwo(Language[10901],nil, function()
MyGuildManager.RequestQuitGuild(function()
this:ClosePanel()
GuildManager.RefreshGuildAllRedState()
end)
end)
end)

View File

@ -188,5 +188,22 @@ function GuildManager.CheckGuildTip()
_TipTimer:Start()
end
end
function this.RefreshGuildAllRedState()
CheckRedPointStatus(RedPointType.Guild_Aid)
CheckRedPointStatus(RedPointType.Guild_AidBox)
CheckRedPointStatus(RedPointType.Guild_AidMy)
CheckRedPointStatus(RedPointType.Guild_Apply)
CheckRedPointStatus(RedPointType.Guild_DeathPos)
CheckRedPointStatus(RedPointType.Guild_Fete)
CheckRedPointStatus(RedPointType.Guild_House)
CheckRedPointStatus(RedPointType.Guild_House_Apply)
CheckRedPointStatus(RedPointType.Guild_RedPacket)
CheckRedPointStatus(RedPointType.Guild_Shop)
CheckRedPointStatus(RedPointType.Guild_Skill)
CheckRedPointStatus(RedPointType.Guild_Transcript)
CheckRedPointStatus(RedPointType.Guild_Boss)
CheckRedPointStatus(RedPointType.Guild_AidGuild)
CheckRedPointStatus(RedPointType.Gui)
CheckRedPointStatus(RedPointType.Guild_Shop)
end
return GuildManager