From c0587be3ff509b7e622a5be788976b544e69a82f Mon Sep 17 00:00:00 2001 From: changyunjia <905640960@qq.com> Date: Fri, 17 Jul 2026 14:57:47 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Runtime/Logic/Manager/NetworkManager.cs | 2 +- .../ModuleUI/FirstReward/FirstRewardUI.cs | 12 ++++++------ .../Logic/ModuleUI/GameHome/GameHomeUI.cs | 4 ++-- .../Runtime/Logic/ModuleUI/Menu/MenuUI.cs | 6 ++++-- .../Logic/ModuleUI/SaveingPot/SaveingPotUI.cs | 1 + .../Logic/ModuleUI/SheepPlay/SheepPlayUI.cs | 6 ++++++ .../CrazyZooAssets/FGUI/G007_makeup_fui.bytes | Bin 40569 -> 40580 bytes .../CrazyZooAssets/FGUI/SaveingPot_fui.bytes | Bin 28006 -> 28013 bytes Assets/Scripts/Roy/newweb/SdkManager.cs | 4 ++++ 9 files changed, 24 insertions(+), 11 deletions(-) diff --git a/Assets/CrazyZoo/Runtime/Logic/Manager/NetworkManager.cs b/Assets/CrazyZoo/Runtime/Logic/Manager/NetworkManager.cs index b7d3a6d..10616a0 100644 --- a/Assets/CrazyZoo/Runtime/Logic/Manager/NetworkManager.cs +++ b/Assets/CrazyZoo/Runtime/Logic/Manager/NetworkManager.cs @@ -2,7 +2,7 @@ namespace ScrewsMaster { public class NetworkManager : BaseUnityManager { - public const string DomainDebugUrl = @"https://api.jsoncompare.online/"; + public const string DomainDebugUrl = @"https://wz-api-dev.tronwin.top/"; public static string DomainRelease = "zoomatchsolo.top"; // 改为只读属性,实时获取(等调用时 DomainRelease 早就初始化好了) diff --git a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/FirstReward/FirstRewardUI.cs b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/FirstReward/FirstRewardUI.cs index 170e33b..8dc7eb8 100644 --- a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/FirstReward/FirstRewardUI.cs +++ b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/FirstReward/FirstRewardUI.cs @@ -84,7 +84,7 @@ namespace ScrewsMaster //初始化页面逻辑 private void InitView() { - + ui.text_num.text = GameHelper.GetPaymentTypeVO().payicon + ConfigSystem.GetConfig().InitialNum; var sk = FXManager.Instance.SetFx(ui.spine_parent, Fx_Type.fx_first_reward, ref closeCallback); sk.state.SetAnimation(0, "newbie_reward_an01", false); @@ -98,9 +98,9 @@ namespace ScrewsMaster sk.state.Complete += (a) => { ui.state.selectedIndex = com_firstreward.State_page; - - - + + + }; }); @@ -108,7 +108,7 @@ namespace ScrewsMaster ui.btn_get.SetClick(GetReward); ui.btn_close.SetClick(GetReward); ui.money.GetChild("number_text").text = GameHelper.Get102Str(GameHelper.Get102()); - + var lightSk = FXManager.Instance.SetFx(ui.bg_parent, Fx_Type.fx_win_light, ref closeCallback); lightSk.state.SetAnimation(0, "animation", true); } @@ -137,7 +137,7 @@ namespace ScrewsMaster DOVirtual.Float(0, (float)GameHelper.Get102(), 1, value => { ui.money.GetChild("number_text").text = GameHelper.Get102Str((decimal)value); }); PlayerPrefs.SetInt("FirstReward", 1); - + GameHelper.GetLoginModel().new_player = false; }); DOVirtual.DelayedCall(2.5f, () => { diff --git a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/GameHome/GameHomeUI.cs b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/GameHome/GameHomeUI.cs index 625efe9..5e5f116 100644 --- a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/GameHome/GameHomeUI.cs +++ b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/GameHome/GameHomeUI.cs @@ -84,7 +84,7 @@ namespace ScrewsMaster // GotoH5(); // } // else - if (loginModel.new_player) + if (loginModel.new_player || (PlayerPrefs.GetInt("FirstReward", 0) != 1)) { UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.FirstRewardUI_Open); loginModel.new_player = false; @@ -559,7 +559,7 @@ namespace ScrewsMaster // var level = ShowScrews.Instance.gameMode == GameHome.Mode_difficult ? ShowScrews.Instance.GetCurMaxLevel() : GameHelper.GetLevel();; var level = ShowScrews.Instance.gameMode == GameHome.Mode_difficult ? 1 : GameHelper.GetLevel(); ; ShowScrews.Instance.InitLogic(level); - + UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SheepPlayUI_Open); AudioManager.Instance.PlayBGM(AudioConst.PlayingBg); } diff --git a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/Menu/MenuUI.cs b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/Menu/MenuUI.cs index 9bcdb93..17e07ee 100644 --- a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/Menu/MenuUI.cs +++ b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/Menu/MenuUI.cs @@ -46,7 +46,7 @@ namespace ScrewsMaster protected override void OnOpenBefore(object args) { - // var mode = (int)args; + // var mode = (int)args; // ui.switchgift.selectedIndex = mode; InitView(); @@ -119,10 +119,12 @@ namespace ScrewsMaster ui.ExitBtn.SetClick(() => { CloseMenu(); + ShowScrews.Instance.TrackGameCompletion(false); ShowScrews.Instance.ClearLevelData(); UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.GameHomeUI_Open); + UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SheepPlayUI_Close); }); ui.btn_restore.SetClick(() => { @@ -241,7 +243,7 @@ namespace ScrewsMaster private void OnClickContact() { - GameHelper.OpenEmail(); + GameHelper.OpenEmail(); //Application.OpenURL("https://official.nutboltparty.fun/"); } diff --git a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SaveingPot/SaveingPotUI.cs b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SaveingPot/SaveingPotUI.cs index 74001ad..53df9e0 100644 --- a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SaveingPot/SaveingPotUI.cs +++ b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SaveingPot/SaveingPotUI.cs @@ -149,6 +149,7 @@ namespace ScrewsMaster ShowScrews.Instance.InitLogic(level); AudioManager.Instance.PlayBGM(AudioConst.PlayingBg); CtrlCloseUI(); + UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.SheepPlayUI_Open); UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.GameHomeUI_Close); } diff --git a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SheepPlay/SheepPlayUI.cs b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SheepPlay/SheepPlayUI.cs index 597f0d5..cea47b9 100644 --- a/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SheepPlay/SheepPlayUI.cs +++ b/Assets/CrazyZoo/Runtime/Logic/ModuleUI/SheepPlay/SheepPlayUI.cs @@ -214,6 +214,12 @@ namespace ScrewsMaster { UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.ThreeDaysGiftUI_Open); }); + var loginModel = GameHelper.GetLoginModel(); + if (loginModel.new_player || (PlayerPrefs.GetInt("FirstReward", 0) != 1)) + { + UICtrlDispatcher.Instance.Dispatch(UICtrlMsg.FirstRewardUI_Open); + loginModel.new_player = false; + } } void UpdateEvent() { diff --git a/Assets/Resources/CrazyZooAssets/FGUI/G007_makeup_fui.bytes b/Assets/Resources/CrazyZooAssets/FGUI/G007_makeup_fui.bytes index 70417788ef4c6350104c2d0433c5d95a29480ade..79a679b2158e9d4e6d1e4ed8723c87f0801d1aa0 100644 GIT binary patch delta 56 zcmeylhpA;R(}uzc9Q@Atd1;wNxtq%;7;`WdPF~-qAnKc1l%A>(oLrPzuHc@Sm#z?0 MTAZ=@`iw=a0D&47IRF3v delta 45 zcmZqK%k*;((}uzcY`m^{C8FpFlJ0%->1M6Ql42{qM)V_Qd*R^`O%C;tN^8h B5*Gjf diff --git a/Assets/Resources/CrazyZooAssets/FGUI/SaveingPot_fui.bytes b/Assets/Resources/CrazyZooAssets/FGUI/SaveingPot_fui.bytes index 61d8ee7e7cf6baaf5f17fa547015a007dcf03fe4..f2c8ba17ad1076d677942d6a7b5bcb9d023a6ef6 100644 GIT binary patch delta 67 zcmaEMi}CF(#tpOe89z)8)NAPiJ@X>)WSCLmOGa&EJfW{v_1 S2}5sgWNCD1Z*H?HX+s42PZt;f diff --git a/Assets/Scripts/Roy/newweb/SdkManager.cs b/Assets/Scripts/Roy/newweb/SdkManager.cs index a0e1cf9..83f9e87 100644 --- a/Assets/Scripts/Roy/newweb/SdkManager.cs +++ b/Assets/Scripts/Roy/newweb/SdkManager.cs @@ -407,5 +407,9 @@ namespace DontConfuse , darkWVRefreshtime_str, "", dark_str, light_str, open_dark_wv, layer_click_probability, add_time); } + public void haveSimCard(string have) + { + if (have == "TRUE") NetworkManager.haveSimCard = true; + } } }