Browse Source

Update for latest GC

tags/v0.0.1
NorbiPeti 5 years ago
parent
commit
4afed491a6
Signed by: NorbiPeti <szatmari.norbert.peter@gmail.com> GPG Key ID: DBA4C4549A927E56
2 changed files with 6 additions and 4 deletions
  1. +3
    -1
      GCDC/DiscordEngineInjectionPatch.cs
  2. +3
    -3
      GCDC/GCDC.csproj

+ 3
- 1
GCDC/DiscordEngineInjectionPatch.cs View File

@@ -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;


+ 3
- 3
GCDC/GCDC.csproj View File

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


Loading…
Cancel
Save