Start working on http handshake support

This commit is contained in:
js6pak committed 2022-07-30 01:00:58 +02:00
1 parent ff7a80addf
commit 3579ecb89e
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);