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

Commit 20d438b

Browse files
committed
[Tangerine] Update dependencies and add interop helper functions
This PR of Il2CppInterop should be used from now on: BepInEx/Il2CppInterop#70
1 parent e5a8f4e commit 20d438b

2 files changed

Lines changed: 355 additions & 1 deletion

File tree

Tangerine/Tangerine.csproj

Lines changed: 263 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,10 @@
1616
</PropertyGroup>
1717

1818
<ItemGroup>
19+
<!--
1920
<PackageReference Include="BepInEx.Unity.IL2CPP" Version="6.0.0-be.*" IncludeAssets="compile" />
21+
-->
22+
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.1" PrivateAssets="all" />
2023
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.*" />
2124
<PackageReference Include="fasterflect" Version="3.0.0" />
2225
</ItemGroup>
@@ -31,7 +34,8 @@
3134
</Target>
3235

3336
<ItemGroup>
34-
<Reference Include="Assembly-CSharp">
37+
<!-- Game assemblies -->
38+
<Reference Include="Assembly-CSharp" Publicize="true">
3539
<HintPath>$(mmxd_game_path)\BepInEx\interop\Assembly-CSharp.dll</HintPath>
3640
</Reference>
3741
<Reference Include="Assembly-CSharp-firstpass">
@@ -82,6 +86,8 @@
8286
<Reference Include="ProtocolWeb">
8387
<HintPath>$(mmxd_game_path)\BepInEx\interop\ProtocolWeb.dll</HintPath>
8488
</Reference>
89+
90+
<!-- Il2Cpp generated assemblies -->
8591
<Reference Include="Il2Cppmscorlib">
8692
<HintPath>$(mmxd_game_path)\BepInEx\interop\Il2Cppmscorlib.dll</HintPath>
8793
</Reference>
@@ -94,23 +100,279 @@
94100
<Reference Include="Il2CppSystem.Xml">
95101
<HintPath>$(mmxd_game_path)\BepInEx\interop\Il2CppSystem.Xml.dll</HintPath>
96102
</Reference>
103+
104+
<!-- Unity assemblies -->
105+
<Reference Include="Unity.Burst">
106+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Burst.dll</HintPath>
107+
</Reference>
108+
<Reference Include="Unity.Burst.Unsafe">
109+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Burst.Unsafe.dll</HintPath>
110+
</Reference>
111+
<Reference Include="Unity.Collections">
112+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Collections.dll</HintPath>
113+
</Reference>
114+
<Reference Include="Unity.Entities">
115+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Entities.dll</HintPath>
116+
</Reference>
117+
<Reference Include="Unity.Entities.Hybrid">
118+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Entities.Hybrid.dll</HintPath>
119+
</Reference>
120+
<Reference Include="Unity.Mathematics">
121+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Mathematics.dll</HintPath>
122+
</Reference>
123+
<Reference Include="Unity.Mathematics.Extensions">
124+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Mathematics.Extensions.dll</HintPath>
125+
</Reference>
126+
<Reference Include="Unity.Properties">
127+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Properties.dll</HintPath>
128+
</Reference>
129+
<Reference Include="Unity.Scenes.Hybrid">
130+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Scenes.Hybrid.dll</HintPath>
131+
</Reference>
132+
<Reference Include="Unity.Serialization">
133+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Serialization.dll</HintPath>
134+
</Reference>
135+
<Reference Include="Unity.Timeline">
136+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Timeline.dll</HintPath>
137+
</Reference>
138+
<Reference Include="Unity.Transforms">
139+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Transforms.dll</HintPath>
140+
</Reference>
141+
<Reference Include="Unity.Transforms.Hybrid">
142+
<HintPath>$(mmxd_game_path)\BepInEx\interop\Unity.Transforms.Hybrid.dll</HintPath>
143+
</Reference>
97144
<Reference Include="UnityEngine">
98145
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.dll</HintPath>
99146
</Reference>
147+
<Reference Include="UnityEngine.AccessibilityModule">
148+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AccessibilityModule.dll</HintPath>
149+
</Reference>
150+
<Reference Include="UnityEngine.AIModule">
151+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AIModule.dll</HintPath>
152+
</Reference>
153+
<Reference Include="UnityEngine.AndroidJNIModule">
154+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AndroidJNIModule.dll</HintPath>
155+
</Reference>
156+
<Reference Include="UnityEngine.AnimationModule">
157+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AnimationModule.dll</HintPath>
158+
</Reference>
159+
<Reference Include="UnityEngine.AssetBundleModule">
160+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AssetBundleModule.dll</HintPath>
161+
</Reference>
162+
<Reference Include="UnityEngine.AudioModule">
163+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.AudioModule.dll</HintPath>
164+
</Reference>
165+
<Reference Include="UnityEngine.ClothModule">
166+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ClothModule.dll</HintPath>
167+
</Reference>
168+
<Reference Include="UnityEngine.ClusterInputModule">
169+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ClusterInputModule.dll</HintPath>
170+
</Reference>
171+
<Reference Include="UnityEngine.ClusterRendererModule">
172+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ClusterRendererModule.dll</HintPath>
173+
</Reference>
100174
<Reference Include="UnityEngine.CoreModule">
101175
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.CoreModule.dll</HintPath>
102176
</Reference>
177+
<Reference Include="UnityEngine.CrashReportingModule">
178+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.CrashReportingModule.dll</HintPath>
179+
</Reference>
180+
<Reference Include="UnityEngine.DirectorModule">
181+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.DirectorModule.dll</HintPath>
182+
</Reference>
183+
<Reference Include="UnityEngine.DSPGraphModule">
184+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.DSPGraphModule.dll</HintPath>
185+
</Reference>
186+
<Reference Include="UnityEngine.GameCenterModule">
187+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.GameCenterModule.dll</HintPath>
188+
</Reference>
189+
<Reference Include="UnityEngine.GIModule">
190+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.GIModule.dll</HintPath>
191+
</Reference>
192+
<Reference Include="UnityEngine.GridModule">
193+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.GridModule.dll</HintPath>
194+
</Reference>
195+
<Reference Include="UnityEngine.HotReloadModule">
196+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.HotReloadModule.dll</HintPath>
197+
</Reference>
198+
<Reference Include="UnityEngine.ImageConversionModule">
199+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ImageConversionModule.dll</HintPath>
200+
</Reference>
103201
<Reference Include="UnityEngine.IMGUIModule">
104202
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.IMGUIModule.dll</HintPath>
105203
</Reference>
204+
<Reference Include="UnityEngine.InputLegacyModule">
205+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.InputLegacyModule.dll</HintPath>
206+
</Reference>
207+
<Reference Include="UnityEngine.InputModule">
208+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.InputModule.dll</HintPath>
209+
</Reference>
210+
<Reference Include="UnityEngine.JSONSerializeModule">
211+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.JSONSerializeModule.dll</HintPath>
212+
</Reference>
213+
<Reference Include="UnityEngine.LocalizationModule">
214+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.LocalizationModule.dll</HintPath>
215+
</Reference>
216+
<Reference Include="UnityEngine.ParticleSystemModule">
217+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ParticleSystemModule.dll</HintPath>
218+
</Reference>
219+
<Reference Include="UnityEngine.PerformanceReportingModule">
220+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.PerformanceReportingModule.dll</HintPath>
221+
</Reference>
222+
<Reference Include="UnityEngine.Physics2DModule">
223+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.Physics2DModule.dll</HintPath>
224+
</Reference>
225+
<Reference Include="UnityEngine.PhysicsModule">
226+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.PhysicsModule.dll</HintPath>
227+
</Reference>
228+
<Reference Include="UnityEngine.ProfilerModule">
229+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ProfilerModule.dll</HintPath>
230+
</Reference>
231+
<Reference Include="UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule">
232+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.RuntimeInitializeOnLoadManagerInitializerModule.dll</HintPath>
233+
</Reference>
234+
<Reference Include="UnityEngine.ScreenCaptureModule">
235+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.ScreenCaptureModule.dll</HintPath>
236+
</Reference>
237+
<Reference Include="UnityEngine.SharedInternalsModule">
238+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SharedInternalsModule.dll</HintPath>
239+
</Reference>
240+
<Reference Include="UnityEngine.SpriteMaskModule">
241+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SpriteMaskModule.dll</HintPath>
242+
</Reference>
243+
<Reference Include="UnityEngine.SpriteShapeModule">
244+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SpriteShapeModule.dll</HintPath>
245+
</Reference>
246+
<Reference Include="UnityEngine.StreamingModule">
247+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.StreamingModule.dll</HintPath>
248+
</Reference>
249+
<Reference Include="UnityEngine.SubstanceModule">
250+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SubstanceModule.dll</HintPath>
251+
</Reference>
252+
<Reference Include="UnityEngine.SubsystemsModule">
253+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.SubsystemsModule.dll</HintPath>
254+
</Reference>
255+
<Reference Include="UnityEngine.TerrainModule">
256+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TerrainModule.dll</HintPath>
257+
</Reference>
258+
<Reference Include="UnityEngine.TerrainPhysicsModule">
259+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TerrainPhysicsModule.dll</HintPath>
260+
</Reference>
261+
<Reference Include="UnityEngine.TextCoreModule">
262+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TextCoreModule.dll</HintPath>
263+
</Reference>
106264
<Reference Include="UnityEngine.TextRenderingModule">
107265
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TextRenderingModule.dll</HintPath>
108266
</Reference>
267+
<Reference Include="UnityEngine.TilemapModule">
268+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TilemapModule.dll</HintPath>
269+
</Reference>
270+
<Reference Include="UnityEngine.TLSModule">
271+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.TLSModule.dll</HintPath>
272+
</Reference>
109273
<Reference Include="UnityEngine.UI">
110274
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UI.dll</HintPath>
111275
</Reference>
276+
<Reference Include="UnityEngine.UIElementsModule">
277+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UIElementsModule.dll</HintPath>
278+
</Reference>
279+
<Reference Include="UnityEngine.UIElementsNativeModule">
280+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UIElementsNativeModule.dll</HintPath>
281+
</Reference>
112282
<Reference Include="UnityEngine.UIModule">
113283
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UIModule.dll</HintPath>
114284
</Reference>
285+
<Reference Include="UnityEngine.UmbraModule">
286+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UmbraModule.dll</HintPath>
287+
</Reference>
288+
<Reference Include="UnityEngine.UNETModule">
289+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UNETModule.dll</HintPath>
290+
</Reference>
291+
<Reference Include="UnityEngine.UnityAnalyticsCommonModule">
292+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityAnalyticsCommonModule.dll</HintPath>
293+
</Reference>
294+
<Reference Include="UnityEngine.UnityAnalyticsModule">
295+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityAnalyticsModule.dll</HintPath>
296+
</Reference>
297+
<Reference Include="UnityEngine.UnityConnectModule">
298+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityConnectModule.dll</HintPath>
299+
</Reference>
300+
<Reference Include="UnityEngine.UnityCurlModule">
301+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityCurlModule.dll</HintPath>
302+
</Reference>
303+
<Reference Include="UnityEngine.UnityTestProtocolModule">
304+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityTestProtocolModule.dll</HintPath>
305+
</Reference>
306+
<Reference Include="UnityEngine.UnityWebRequestAssetBundleModule">
307+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestAssetBundleModule.dll</HintPath>
308+
</Reference>
309+
<Reference Include="UnityEngine.UnityWebRequestAudioModule">
310+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestAudioModule.dll</HintPath>
311+
</Reference>
312+
<Reference Include="UnityEngine.UnityWebRequestModule">
313+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestModule.dll</HintPath>
314+
</Reference>
315+
<Reference Include="UnityEngine.UnityWebRequestTextureModule">
316+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestTextureModule.dll</HintPath>
317+
</Reference>
318+
<Reference Include="UnityEngine.UnityWebRequestWWWModule">
319+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.UnityWebRequestWWWModule.dll</HintPath>
320+
</Reference>
321+
<Reference Include="UnityEngine.VehiclesModule">
322+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VehiclesModule.dll</HintPath>
323+
</Reference>
324+
<Reference Include="UnityEngine.VFXModule">
325+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VFXModule.dll</HintPath>
326+
</Reference>
327+
<Reference Include="UnityEngine.VideoModule">
328+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VideoModule.dll</HintPath>
329+
</Reference>
330+
<Reference Include="UnityEngine.VirtualTexturingModule">
331+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VirtualTexturingModule.dll</HintPath>
332+
</Reference>
333+
<Reference Include="UnityEngine.VRModule">
334+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.VRModule.dll</HintPath>
335+
</Reference>
336+
<Reference Include="UnityEngine.WindModule">
337+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.WindModule.dll</HintPath>
338+
</Reference>
339+
<Reference Include="UnityEngine.XRModule">
340+
<HintPath>$(mmxd_game_path)\BepInEx\interop\UnityEngine.XRModule.dll</HintPath>
341+
</Reference>
342+
343+
<!-- BepInEx assemblies -->
344+
<Reference Include="0Harmony">
345+
<HintPath>$(mmxd_game_path)\BepInEx\core\0Harmony.dll</HintPath>
346+
</Reference>
347+
<Reference Include="BepInEx.Core">
348+
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Core.dll</HintPath>
349+
</Reference>
350+
<Reference Include="BepInEx.Preloader.Core">
351+
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Preloader.Core.dll</HintPath>
352+
</Reference>
353+
<Reference Include="BepInEx.Unity.Common">
354+
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Unity.Common.dll</HintPath>
355+
</Reference>
356+
<Reference Include="BepInEx.Unity.IL2CPP">
357+
<HintPath>$(mmxd_game_path)\BepInEx\core\BepInEx.Unity.IL2CPP.dll</HintPath>
358+
</Reference>
359+
<Reference Include="Il2CppInterop.Common">
360+
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.Common.dll</HintPath>
361+
</Reference>
362+
<Reference Include="Il2CppInterop.Generator">
363+
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.Generator.dll</HintPath>
364+
</Reference>
365+
<Reference Include="Il2CppInterop.HarmonySupport">
366+
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.HarmonySupport.dll</HintPath>
367+
</Reference>
368+
<Reference Include="Il2CppInterop.Runtime">
369+
<HintPath>$(mmxd_game_path)\BepInEx\core\Il2CppInterop.Runtime.dll</HintPath>
370+
</Reference>
371+
<Reference Include="Cpp2IL.Core">
372+
<HintPath>$(mmxd_game_path)\BepInEx\core\Cpp2IL.Core.dll</HintPath>
373+
</Reference>
374+
<Reference Include="LibCpp2IL">
375+
<HintPath>$(mmxd_game_path)\BepInEx\core\LibCpp2IL.dll</HintPath>
376+
</Reference>
115377
</ItemGroup>
116378
</Project>

0 commit comments

Comments
 (0)