From 4afed491a69fd8f6dbec015c38ec8b7012869d71 Mon Sep 17 00:00:00 2001 From: NorbiPeti Date: Mon, 30 Dec 2019 00:57:49 +0100 Subject: [PATCH] Update for latest GC --- GCDC/DiscordEngineInjectionPatch.cs | 4 +++- GCDC/GCDC.csproj | 6 +++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/GCDC/DiscordEngineInjectionPatch.cs b/GCDC/DiscordEngineInjectionPatch.cs index 1f7bfcd..8c7eec9 100644 --- a/GCDC/DiscordEngineInjectionPatch.cs +++ b/GCDC/DiscordEngineInjectionPatch.cs @@ -5,6 +5,7 @@ using Harmony; using RobocraftX; using RobocraftX.GUI.CommandLine; using RobocraftX.Multiplayer; +using RobocraftX.Services.MultiplayerNetworking; using RobocraftX.StateSync; using Svelto.Context; using Svelto.ECS; @@ -32,7 +33,8 @@ namespace GCDC return _ComposeMethodInfo(ConsoleBlockCompositionRoot.Compose); } - private delegate void ComposeAction(EnginesRoot er, ref StateSyncRegistrationHelper ssrh, bool isAuthoritative); + private delegate void ComposeAction(EnginesRoot er, ref StateSyncRegistrationHelper ssrh, + NetworkReceivers networkReceivers, NetworkSender networkSende, bool isAuthoritative); private static MethodInfo _ComposeMethodInfo(ComposeAction a) { return a.Method; diff --git a/GCDC/GCDC.csproj b/GCDC/GCDC.csproj index c726feb..a08301f 100644 --- a/GCDC/GCDC.csproj +++ b/GCDC/GCDC.csproj @@ -44,6 +44,9 @@ IllusionPlugin.dll + + ref\MultiplayerNetworking.dll + ref\Newtonsoft.Json.dll @@ -179,9 +182,6 @@ ref\Svelto.ECS.dll - - ref\Svelto.Services.dll - ref\Svelto.Tasks.dll