Update for latest GC

This commit is contained in:
Norbi Peti 2019-12-30 00:57:49 +01:00
parent ef380a03bc
commit 4afed491a6
No known key found for this signature in database
GPG key ID: DBA4C4549A927E56
2 changed files with 6 additions and 4 deletions

View file

@ -5,6 +5,7 @@ using Harmony;
using RobocraftX; using RobocraftX;
using RobocraftX.GUI.CommandLine; using RobocraftX.GUI.CommandLine;
using RobocraftX.Multiplayer; using RobocraftX.Multiplayer;
using RobocraftX.Services.MultiplayerNetworking;
using RobocraftX.StateSync; using RobocraftX.StateSync;
using Svelto.Context; using Svelto.Context;
using Svelto.ECS; using Svelto.ECS;
@ -32,7 +33,8 @@ namespace GCDC
return _ComposeMethodInfo(ConsoleBlockCompositionRoot.Compose); 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) private static MethodInfo _ComposeMethodInfo(ComposeAction a)
{ {
return a.Method; return a.Method;

View file

@ -44,6 +44,9 @@
<Reference Include="IllusionPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null"> <Reference Include="IllusionPlugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>IllusionPlugin.dll</HintPath> <HintPath>IllusionPlugin.dll</HintPath>
</Reference> </Reference>
<Reference Include="MultiplayerNetworking, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>ref\MultiplayerNetworking.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null"> <Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>ref\Newtonsoft.Json.dll</HintPath> <HintPath>ref\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
@ -179,9 +182,6 @@
<Reference Include="Svelto.ECS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <Reference Include="Svelto.ECS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>ref\Svelto.ECS.dll</HintPath> <HintPath>ref\Svelto.ECS.dll</HintPath>
</Reference> </Reference>
<Reference Include="Svelto.Services, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>ref\Svelto.Services.dll</HintPath>
</Reference>
<Reference Include="Svelto.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null"> <Reference Include="Svelto.Tasks, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null">
<HintPath>ref\Svelto.Tasks.dll</HintPath> <HintPath>ref\Svelto.Tasks.dll</HintPath>
</Reference> </Reference>