From 0fc2cb31b41a92716b7bd35698a12b79e1c4e8db Mon Sep 17 00:00:00 2001 From: "NGnius (Graham)" Date: Sat, 15 Aug 2020 13:06:18 -0400 Subject: [PATCH] Upgrade to Gamecraft-specific dependencies and add full MonoBehaviour functionality --- IPA.Tests/IPA.Tests.csproj | 42 +-- IPA.Tests/IPA.Tests.csproj.nuget.dgspec.json | 80 ++++++ IPA.Tests/IPA.Tests.csproj.nuget.g.props | 15 + IPA.Tests/IPA.Tests.csproj.nuget.g.targets | 6 + IPA.Tests/packages.config | 13 +- IPA.Tests/project.assets.json | 109 +++++++ IPA.Tests/project.packagespec.json | 28 ++ IPA/IPA.csproj | 51 +--- IPA/Patcher/Patcher.cs | 2 +- IPA/Program.cs | 9 +- IPA/Shortcut.cs | 3 +- IllusionInjector/CompositePlugin.cs | 134 ++++++--- IllusionInjector/IllusionInjector.csproj | 37 ++- IllusionInjector/PluginComponent.cs | 110 ++++++- IllusionPlugin/IEnhancedPlugin.cs | 286 ++++++++++++++++++- IllusionPlugin/IPlugin.cs | 115 +++++++- IllusionPlugin/IllusionPlugin.csproj | 38 ++- Launcher/Launcher.csproj | 15 +- Launcher/packages.config | 2 +- 19 files changed, 933 insertions(+), 162 deletions(-) create mode 100644 IPA.Tests/IPA.Tests.csproj.nuget.dgspec.json create mode 100644 IPA.Tests/IPA.Tests.csproj.nuget.g.props create mode 100644 IPA.Tests/IPA.Tests.csproj.nuget.g.targets create mode 100644 IPA.Tests/project.assets.json create mode 100644 IPA.Tests/project.packagespec.json diff --git a/IPA.Tests/IPA.Tests.csproj b/IPA.Tests/IPA.Tests.csproj index f437fab..b5e792c 100644 --- a/IPA.Tests/IPA.Tests.csproj +++ b/IPA.Tests/IPA.Tests.csproj @@ -1,7 +1,8 @@  + - + Debug AnyCPU @@ -10,9 +11,11 @@ Properties IPA.Tests IPA.Tests - v4.5.2 + net472 512 + false + false @@ -33,35 +36,8 @@ prompt 4 - - - - - - - - - - - ..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll - True - - - ..\packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll - True - - - ..\packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll - True - - - ..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll - True - - - @@ -76,13 +52,19 @@ - + + + + This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. + + + Debug AnyCPU @@ -9,9 +9,9 @@ Properties IPA IPA - v3.5 + net472 512 - Client + AnyCPU @@ -36,42 +36,11 @@ favicon.ico - - ..\packages\Mono.Cecil.0.9.6.4\lib\net35\Mono.Cecil.dll - True - - - ..\packages\Mono.Cecil.0.9.6.4\lib\net35\Mono.Cecil.Mdb.dll - False - - - ..\packages\Mono.Cecil.0.9.6.4\lib\net35\Mono.Cecil.Pdb.dll - False - - - ..\packages\Mono.Cecil.0.9.6.4\lib\net35\Mono.Cecil.Rocks.dll - False - - - - - - - - - - - - - - - - - - + + @@ -79,7 +48,13 @@ - + + + + + + + Debug AnyCPU @@ -9,10 +9,10 @@ Properties IllusionInjector IllusionInjector - v3.5 + net472 512 - - + false + false true @@ -32,11 +32,24 @@ 4 - - - - ..\Libs\UnityEngine.dll + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.dll + False + + + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.CoreModule.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.CoreModule.dll + False + + + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.PhysicsModule.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.PhysicsModule.dll + False + + + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.Physics2DModule.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.Physics2DModule.dll False @@ -46,7 +59,6 @@ - @@ -55,7 +67,10 @@ IllusionPlugin - + + + + - Debug - AnyCPU {E2848BFB-5432-42F4-8AE0-D2EC0CDF2F71} Library Properties IllusionPlugin IllusionPlugin - v3.5 + net472 512 + false + false @@ -33,18 +33,36 @@ bin\Release\IllusionPlugin.XML - - - + + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.dll + False + + + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.CoreModule.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.CoreModule.dll + False + + + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.PhysicsModule.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.PhysicsModule.dll + False + + + ..\..\ref\Gamecraft_Data\Managed\UnityEngine.Physics2DModule.dll + ..\..\ref\GamecraftPreview_Data\Managed\UnityEngine.Physics2DModule.dll + False + - - + + + Debug AnyCPU @@ -9,8 +9,10 @@ Properties Launcher Launcher - v3.5 + net472 512 + false + false AnyCPU @@ -40,14 +42,12 @@ - - True True @@ -80,7 +80,10 @@ - + + + +