Revert "Revert "Start working on http handshake support""

This reverts commit a6152f559c.
This commit is contained in:
js6pak committed 2022-08-23 20:59:19 +02:00
1 parent a6152f559c
commit c2047b033e
3 files changed
+76 -3

No files matched your search

+2 -2
View File
@@ -165,7 +165,7 @@ namespace Reactor.Networking.Patches
public static void Postfix(ref Il2CppStructArray<byte> __result)
{
ModList.Update();
var mods = ModList.Update();
var handshake = new MessageWriter(1000);
@@ -173,7 +173,7 @@ namespace Reactor.Networking.Patches
ModdedHandshakeC2S.Serialize(
handshake,
ModList.Current!.Count
mods.Count
);
__result = handshake.ToByteArray(true);