diff --git a/AmongUs.props b/AmongUs.props index ff68350..9195cff 100644 --- a/AmongUs.props +++ b/AmongUs.props @@ -1,13 +1,7 @@ - - Steam - 2022.9.20 - 2022.9.20 - - - + diff --git a/Reactor.Benchmarks/packages.lock.json b/Reactor.Benchmarks/packages.lock.json index 8007400..bd82a5d 100644 --- a/Reactor.Benchmarks/packages.lock.json +++ b/Reactor.Benchmarks/packages.lock.json @@ -4,9 +4,9 @@ "net6.0": { "AmongUs.GameLibs.Steam": { "type": "Direct", - "requested": "[2022.9.20, )", - "resolved": "2022.9.20", - "contentHash": "NxKOtn4ScIOCc53z+6YlNvwQ+rorGdbuAofp6GSOjnF9LJ+GRW/G18rDUnwZH+g9c+Q8j3JLADkC30j+NIIYXg==" + "requested": "[2022.10.18, )", + "resolved": "2022.10.18", + "contentHash": "oDdsWQH7mIKB3+qceA9o7nLwJbchn6GUHiIhLhhWxQWcGwFKanOHibLxFbV5JYgGxhwBdY+Kr9NMfzWRDPdQ/w==" }, "BenchmarkDotNet": { "type": "Direct", diff --git a/Reactor.Debugger/packages.lock.json b/Reactor.Debugger/packages.lock.json index 5e55856..a472df4 100644 --- a/Reactor.Debugger/packages.lock.json +++ b/Reactor.Debugger/packages.lock.json @@ -4,9 +4,9 @@ "net6.0": { "AmongUs.GameLibs.Steam": { "type": "Direct", - "requested": "[2022.9.20, )", - "resolved": "2022.9.20", - "contentHash": "NxKOtn4ScIOCc53z+6YlNvwQ+rorGdbuAofp6GSOjnF9LJ+GRW/G18rDUnwZH+g9c+Q8j3JLADkC30j+NIIYXg==" + "requested": "[2022.10.18, )", + "resolved": "2022.10.18", + "contentHash": "oDdsWQH7mIKB3+qceA9o7nLwJbchn6GUHiIhLhhWxQWcGwFKanOHibLxFbV5JYgGxhwBdY+Kr9NMfzWRDPdQ/w==" }, "BepInEx.AutoPlugin": { "type": "Direct", diff --git a/Reactor.Example/packages.lock.json b/Reactor.Example/packages.lock.json index 5e55856..a472df4 100644 --- a/Reactor.Example/packages.lock.json +++ b/Reactor.Example/packages.lock.json @@ -4,9 +4,9 @@ "net6.0": { "AmongUs.GameLibs.Steam": { "type": "Direct", - "requested": "[2022.9.20, )", - "resolved": "2022.9.20", - "contentHash": "NxKOtn4ScIOCc53z+6YlNvwQ+rorGdbuAofp6GSOjnF9LJ+GRW/G18rDUnwZH+g9c+Q8j3JLADkC30j+NIIYXg==" + "requested": "[2022.10.18, )", + "resolved": "2022.10.18", + "contentHash": "oDdsWQH7mIKB3+qceA9o7nLwJbchn6GUHiIhLhhWxQWcGwFKanOHibLxFbV5JYgGxhwBdY+Kr9NMfzWRDPdQ/w==" }, "BepInEx.AutoPlugin": { "type": "Direct", diff --git a/Reactor/Networking/Patches/ClientPatches.cs b/Reactor/Networking/Patches/ClientPatches.cs index aa1a4af..0c320d2 100644 --- a/Reactor/Networking/Patches/ClientPatches.cs +++ b/Reactor/Networking/Patches/ClientPatches.cs @@ -12,10 +12,10 @@ namespace Reactor.Networking.Patches; internal static class ClientPatches { - [HarmonyPatch(typeof(InnerNetClient._HandleGameDataInner_d__38), nameof(InnerNetClient._HandleGameDataInner_d__38.MoveNext))] + [HarmonyPatch(typeof(InnerNetClient._HandleGameDataInner_d__39), nameof(InnerNetClient._HandleGameDataInner_d__39.MoveNext))] public static class HandleGameDataInnerPatch { - public static bool Prefix(InnerNetClient._HandleGameDataInner_d__38 __instance, ref bool __result) + public static bool Prefix(InnerNetClient._HandleGameDataInner_d__39 __instance, ref bool __result) { var innerNetClient = __instance.__4__this; var reader = __instance.reader; @@ -101,10 +101,10 @@ internal static class ClientPatches } } - [HarmonyPatch(typeof(InnerNetClient._CoSendSceneChange_d__29), nameof(InnerNetClient._CoSendSceneChange_d__29.MoveNext))] + [HarmonyPatch(typeof(InnerNetClient._CoSendSceneChange_d__30), nameof(InnerNetClient._CoSendSceneChange_d__30.MoveNext))] public static class CoSendSceneChangePatch { - public static bool Prefix(InnerNetClient._CoSendSceneChange_d__29 __instance, ref bool __result) + public static bool Prefix(InnerNetClient._CoSendSceneChange_d__30 __instance, ref bool __result) { if (ReactorConnection.Instance!.Syncer != Syncer.Host) return true; @@ -141,10 +141,10 @@ internal static class ClientPatches } } - [HarmonyPatch(typeof(InnerNetClient._CoHandleSpawn_d__39), nameof(InnerNetClient._CoHandleSpawn_d__39.MoveNext))] + [HarmonyPatch(typeof(InnerNetClient._CoHandleSpawn_d__40), nameof(InnerNetClient._CoHandleSpawn_d__40.MoveNext))] public static class CoHandleSpawnPatch { - public static void Postfix(InnerNetClient._CoHandleSpawn_d__39 __instance, bool __result) + public static void Postfix(InnerNetClient._CoHandleSpawn_d__40 __instance, bool __result) { if (ReactorConnection.Instance!.Syncer != Syncer.Host) return; diff --git a/Reactor/packages.lock.json b/Reactor/packages.lock.json index a901255..061a174 100644 --- a/Reactor/packages.lock.json +++ b/Reactor/packages.lock.json @@ -4,9 +4,9 @@ "net6.0": { "AmongUs.GameLibs.Steam": { "type": "Direct", - "requested": "[2022.9.20, )", - "resolved": "2022.9.20", - "contentHash": "NxKOtn4ScIOCc53z+6YlNvwQ+rorGdbuAofp6GSOjnF9LJ+GRW/G18rDUnwZH+g9c+Q8j3JLADkC30j+NIIYXg==" + "requested": "[2022.10.18, )", + "resolved": "2022.10.18", + "contentHash": "oDdsWQH7mIKB3+qceA9o7nLwJbchn6GUHiIhLhhWxQWcGwFKanOHibLxFbV5JYgGxhwBdY+Kr9NMfzWRDPdQ/w==" }, "BepInEx.AutoPlugin": { "type": "Direct", diff --git a/build.cake b/build.cake index 68a5ca1..b3dc40b 100644 --- a/build.cake +++ b/build.cake @@ -22,11 +22,7 @@ Task("Build") settings.MSBuildSettings.VersionSuffix = "ci." + buildId; } - foreach (var gamePlatform in new[] { "Steam", "Itch" }) - { - settings.MSBuildSettings.Properties["GamePlatform"] = new[] { gamePlatform }; - DotNetBuild(".", settings); - } + DotNetBuild(".", settings); }); RunTarget(target);