Skip to content

Commit

Permalink
2024.3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
js6pak committed Jun 20, 2024
1 parent 3cc0123 commit 9fad11c
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
29 changes: 18 additions & 11 deletions Reactor.RemoveAccounts/FunctionalPatches.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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;
}
}
}
2 changes: 1 addition & 1 deletion Reactor.RemoveAccounts/Reactor.RemoveAccounts.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<ItemGroup>
<PackageReference Include="Reactor" Version="2.2.0" />
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.674" Private="false" ExcludeAssets="runtime;native" />
<PackageReference Include="AmongUs.GameLibs.Steam" Version="2023.7.11" PrivateAssets="all" />
<PackageReference Include="AmongUs.GameLibs.Steam" Version="2024.3.5" PrivateAssets="all" />

<PackageReference Include="BepInEx.AutoPlugin" Version="1.1.0" PrivateAssets="all" />
<PackageReference Include="BepInEx.IL2CPP.MSBuild" Version="2.0.1" PrivateAssets="all" ExcludeAssets="runtime" />
Expand Down

0 comments on commit 9fad11c

Please sign in to comment.