Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
[Tangerine] Update dependencies and add interop helper functions
Browse files Browse the repository at this point in the history
This PR of Il2CppInterop should be used from now on:
BepInEx/Il2CppInterop#70
  • Loading branch information
mosamadeeb committed Sep 11, 2023
1 parent e5a8f4e commit 20d438b
Show file tree
Hide file tree
Showing 2 changed files with 355 additions and 1 deletion.
264 changes: 263 additions & 1 deletion Tangerine/Tangerine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@
</PropertyGroup>

<ItemGroup>
<!--
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.*" IncludeAssets="compile" />
-->
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.1" PrivateAssets="all" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.*" />
<PackageReference Include="fasterflect" Version="3.0.0" />
</ItemGroup>
Expand All @@ -31,7 +34,8 @@
</Target>

<ItemGroup>
<Reference Include="Assembly-CSharp">
<!-- Game assemblies -->
<Reference Include="Assembly-CSharp" Publicize="true">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Assembly-CSharp.dll</HintPath>
</Reference>
<Reference Include="Assembly-CSharp-firstpass">
Expand Down Expand Up @@ -82,6 +86,8 @@
<Reference Include="ProtocolWeb">
<HintPath>$(mmxd_game_path)\BepInEx\interop\ProtocolWeb.dll</HintPath>
</Reference>

<!-- Il2Cpp generated assemblies -->
<Reference Include="Il2Cppmscorlib">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Il2Cppmscorlib.dll</HintPath>
</Reference>
Expand All @@ -94,23 +100,279 @@
<Reference Include="Il2CppSystem.Xml">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Il2CppSystem.Xml.dll</HintPath>
</Reference>

<!-- Unity assemblies -->
<Reference Include="Unity.Burst">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Burst.dll</HintPath>
</Reference>
<Reference Include="Unity.Burst.Unsafe">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Burst.Unsafe.dll</HintPath>
</Reference>
<Reference Include="Unity.Collections">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Collections.dll</HintPath>
</Reference>
<Reference Include="Unity.Entities">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Entities.dll</HintPath>
</Reference>
<Reference Include="Unity.Entities.Hybrid">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Entities.Hybrid.dll</HintPath>
</Reference>
<Reference Include="Unity.Mathematics">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Mathematics.dll</HintPath>
</Reference>
<Reference Include="Unity.Mathematics.Extensions">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Mathematics.Extensions.dll</HintPath>
</Reference>
<Reference Include="Unity.Properties">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Properties.dll</HintPath>
</Reference>
<Reference Include="Unity.Scenes.Hybrid">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Scenes.Hybrid.dll</HintPath>
</Reference>
<Reference Include="Unity.Serialization">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Serialization.dll</HintPath>
</Reference>
<Reference Include="Unity.Timeline">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Timeline.dll</HintPath>
</Reference>
<Reference Include="Unity.Transforms">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Transforms.dll</HintPath>
</Reference>
<Reference Include="Unity.Transforms.Hybrid">
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Transforms.Hybrid.dll</HintPath>
</Reference>
<Reference Include="UnityEngine">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AccessibilityModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AccessibilityModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AIModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AndroidJNIModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AndroidJNIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AnimationModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AnimationModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AssetBundleModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AssetBundleModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.AudioModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AudioModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ClothModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ClothModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ClusterInputModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ClusterInputModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ClusterRendererModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ClusterRendererModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CoreModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.CoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.CrashReportingModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.CrashReportingModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.DirectorModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.DirectorModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.DSPGraphModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.DSPGraphModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.GameCenterModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.GameCenterModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.GIModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.GIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.GridModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.GridModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.HotReloadModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.HotReloadModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ImageConversionModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ImageConversionModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.IMGUIModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.IMGUIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.InputLegacyModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.InputLegacyModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.InputModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.InputModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.JSONSerializeModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.JSONSerializeModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.LocalizationModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.LocalizationModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ParticleSystemModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ParticleSystemModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PerformanceReportingModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.PerformanceReportingModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.Physics2DModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.Physics2DModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.PhysicsModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.PhysicsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ProfilerModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ProfilerModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.ScreenCaptureModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ScreenCaptureModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.SharedInternalsModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SharedInternalsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.SpriteMaskModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SpriteMaskModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.SpriteShapeModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SpriteShapeModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.StreamingModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.StreamingModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.SubstanceModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SubstanceModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.SubsystemsModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SubsystemsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TerrainModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TerrainModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TerrainPhysicsModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TerrainPhysicsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextCoreModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TextCoreModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TextRenderingModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TextRenderingModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TilemapModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TilemapModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.TLSModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TLSModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UI">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UI.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UIElementsModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UIElementsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UIElementsNativeModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UIElementsNativeModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UIModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UIModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UmbraModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UmbraModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UNETModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UNETModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityAnalyticsCommonModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityAnalyticsCommonModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityAnalyticsModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityAnalyticsModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityConnectModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityConnectModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityCurlModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityCurlModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityTestProtocolModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityTestProtocolModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestAssetBundleModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestAssetBundleModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestAudioModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestAudioModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestTextureModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestTextureModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.UnityWebRequestWWWModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestWWWModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VehiclesModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VehiclesModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VFXModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VFXModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VideoModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VideoModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VirtualTexturingModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VirtualTexturingModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.VRModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VRModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.WindModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.WindModule.dll</HintPath>
</Reference>
<Reference Include="UnityEngine.XRModule">
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.XRModule.dll</HintPath>
</Reference>

<!-- BepInEx assemblies -->
<Reference Include="0Harmony">
<HintPath>$(mmxd_game_path)\BepInEx\core\0Harmony.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Core">
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Core.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Preloader.Core">
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Preloader.Core.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Unity.Common">
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Unity.Common.dll</HintPath>
</Reference>
<Reference Include="BepInEx.Unity.IL2CPP">
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Unity.IL2CPP.dll</HintPath>
</Reference>
<Reference Include="Il2CppInterop.Common">
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.Common.dll</HintPath>
</Reference>
<Reference Include="Il2CppInterop.Generator">
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.Generator.dll</HintPath>
</Reference>
<Reference Include="Il2CppInterop.HarmonySupport">
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.HarmonySupport.dll</HintPath>
</Reference>
<Reference Include="Il2CppInterop.Runtime">
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.Runtime.dll</HintPath>
</Reference>
<Reference Include="Cpp2IL.Core">
<HintPath>$(mmxd_game_path)\BepInEx\core\Cpp2IL.Core.dll</HintPath>
</Reference>
<Reference Include="LibCpp2IL">
<HintPath>$(mmxd_game_path)\BepInEx\core\LibCpp2IL.dll</HintPath>
</Reference>
</ItemGroup>
</Project>
Loading

0 comments on commit 20d438b

Please sign in to comment.