From 9fad11cb4c305933d76cafedb69301da7b8591a1 Mon Sep 17 00:00:00 2001 From: js6pak Date: Thu, 20 Jun 2024 22:29:42 +0200 Subject: [PATCH] 2024.3.5 --- Reactor.RemoveAccounts/FunctionalPatches.cs | 29 ++++++++++++------- .../Reactor.RemoveAccounts.csproj | 2 +- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/Reactor.RemoveAccounts/FunctionalPatches.cs b/Reactor.RemoveAccounts/FunctionalPatches.cs index edfc3bd..f4dc12e 100644 --- a/Reactor.RemoveAccounts/FunctionalPatches.cs +++ b/Reactor.RemoveAccounts/FunctionalPatches.cs @@ -43,7 +43,6 @@ public static bool Prefix(EOSManager __instance) DataManager.Player.Account.LoginStatus = EOSManager.AccountLoginStatus.LoggedIn; DataManager.Settings.Multiplayer.ChatMode = QuickChatModes.FreeChatOrQuickChat; - DataManager.Player.Onboarding.LastAcceptedPrivacyPolicyVersion = Constants.PrivacyPolicyVersion; __instance.userId = new ProductUserId(); @@ -93,16 +92,6 @@ public static bool Prefix(out bool __result) } } - [HarmonyPatch(typeof(EOSManager), nameof(EOSManager.HasFinishedLoginFlow))] - public static class HasFinishedLoginFlowPatch - { - public static bool Prefix(out bool __result) - { - __result = true; - return false; - } - } - [HarmonyPatch(typeof(EOSManager), nameof(EOSManager.ProductUserId), MethodType.Getter)] public static class ProductUserIdOverride { @@ -151,4 +140,22 @@ public static bool Prefix() return false; } } + + [HarmonyPatch(typeof(AchievementManager), nameof(AchievementManager.UpdateAchievementProgress))] + public static class UpdateAchievementProgressPatch + { + public static bool Prefix() + { + return false; + } + } + + [HarmonyPatch(typeof(AchievementManager), nameof(AchievementManager.UnlockAchievement))] + public static class UnlockAchievementPatch + { + public static bool Prefix() + { + return false; + } + } } diff --git a/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj b/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj index 4cec049..d2a4ffc 100644 --- a/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj +++ b/Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj @@ -11,7 +11,7 @@ - +