From d1f88d5b3386b4249bdfacd7fc6be46324c53d84 Mon Sep 17 00:00:00 2001 From: zhangqiang <657634622@qq.com> Date: Thu, 8 Apr 2021 20:03:19 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E7=BA=A2=E7=82=B9=E3=80=91=E9=80=80?= =?UTF-8?q?=E5=87=BA=E5=85=AC=E4=BC=9A=EF=BC=8C=E5=85=A5=E5=8F=A3=E4=BE=9D?= =?UTF-8?q?=E7=84=B6=E6=98=BE=E7=A4=BA=E7=BA=A2=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Guild/GuildInfoPopup.lua | 1 + .../~Lua/Modules/Guild/GuildManager.lua | 19 ++++++++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/GuildInfoPopup.lua b/Assets/ManagedResources/~Lua/Modules/Guild/GuildInfoPopup.lua index 844ad486d3..e352621520 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/GuildInfoPopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/GuildInfoPopup.lua @@ -187,6 +187,7 @@ function GuildInfoPopup:BindEvent() MsgPanel.ShowTwo(Language[10901],nil, function() MyGuildManager.RequestQuitGuild(function() this:ClosePanel() + GuildManager.RefreshGuildAllRedState() end) end) end) diff --git a/Assets/ManagedResources/~Lua/Modules/Guild/GuildManager.lua b/Assets/ManagedResources/~Lua/Modules/Guild/GuildManager.lua index 68f4fc5882..9b04358fb6 100644 --- a/Assets/ManagedResources/~Lua/Modules/Guild/GuildManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Guild/GuildManager.lua @@ -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 \ No newline at end of file