From 8b29c12d91cff1c913ca72968f5b69122433c4fb Mon Sep 17 00:00:00 2001 From: yuanshuai <243578945@qq.com> Date: Mon, 4 Jul 2022 17:57:39 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E5=85=85=E6=8B=8D=E8=84=B8=E4=BB=A3?= =?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua index 8434cdb62e..3b7ab2439a 100644 --- a/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Expert/PatFaceManager.lua @@ -267,6 +267,11 @@ function this.PatFaceSpecialMonitor(v,patFaceAllData,type,starUpGiftNum) table.insert(patFaceAllData,v) end end + elseif v.Type==23 then--首充拍脸 + if PlayerPrefs.GetInt(PlayerManager.uid.."FirstRecharge") == 0 then + UIManager.OpenPanel(UIName.FirstRechargePanel) + PlayerPrefs.SetInt(PlayerManager.uid.."FirstRecharge",1) + end else if RedPointManager.PlayerPrefsGetStr(v.Id.."PatFace") == "0" then table.insert(patFaceAllData,v)