mirror of
https://github.com/NuclearPowered/Reactor.git
synced 2026-10-19 15:51:54 +00:00
Revert "Revert "Start working on http handshake support""
This reverts commit a6152f559c.
This commit is contained in:
3 files changed
+76
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user