From 22af1dbc5aca4153860314b97130f91c8516bb62 Mon Sep 17 00:00:00 2001 From: "PC-202302260912\\Administrator" <1545929779@qq.com> Date: Tue, 14 May 2024 10:55:42 +0800 Subject: [PATCH] =?UTF-8?q?gm=E7=89=B9=E6=83=A0=E5=BC=B9=E7=AA=97=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../~Lua/Modules/Main/MainPanel.lua | 27 ++++++++++--------- .../~Lua/Modules/Popup/CreateNamePopup.lua | 2 +- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua index 84be2f733b..658319e878 100644 --- a/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua +++ b/Assets/ManagedResources/~Lua/Modules/Main/MainPanel.lua @@ -1182,20 +1182,21 @@ end function this:TabBtnAction(id,actType,data) if actType == 1 then if id == ActivityTypeDef.FirstRecharge then - if PlayerPrefs.GetInt(PlayerManager.uid.."isGMEsp")==0 then - local isOpen=CheckFunctionOpen(153) - if isOpen then - UIManager.OpenPanel(UIName.GMEspecially,function() - UIManager.OpenPanel(UIName.FirstRechargePanel) - PlayerPrefs.SetInt(PlayerManager.uid.."isGMEsp",1) - end) - else - UIManager.OpenPanel(UIName.FirstRechargePanel) - end + -- if PlayerPrefs.GetInt(PlayerManager.uid.."isGMEsp")==0 then + -- local isOpen=CheckFunctionOpen(153) + -- if isOpen then + -- UIManager.OpenPanel(UIName.GMEspecially,function() + -- UIManager.OpenPanel(UIName.FirstRechargePanel) + -- PlayerPrefs.SetInt(PlayerManager.uid.."isGMEsp",1) + -- end) + -- else + -- UIManager.OpenPanel(UIName.FirstRechargePanel) + -- end - else - UIManager.OpenPanel(UIName.FirstRechargePanel) - end + -- else + -- UIManager.OpenPanel(UIName.FirstRechargePanel) + -- end + UIManager.OpenPanel(UIName.FirstRechargePanel) elseif id == ActivityTypeDef.SevenDayCarnival then UIManager.OpenPanel(UIName.SevenDayCarnivalPanelV2,SevenDayCarnivalManager.GetPriorityDayNumber()) elseif id == ActivityTypeDef.WarPowerSort then diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua index f7ef707fef..54902d273e 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua @@ -185,7 +185,7 @@ function CreateNamePopup:BindEvent() if this.options then self:ClosePanel() StoryManager.StoryJumpType(this.options[1], nil, this.callBackFunc) - --UIManager.OpenPanel(UIName.GMEspecially) + UIManager.OpenPanel(UIName.GMEspecially) -- 发送创建角色事件 CustomEventManager.SendCustomEvents(FBSDKCustomEventType.CreateCharacter) CustomEventManager.SendCustomEvents(FBSDKCustomEventType.RoleLv,1)