Skip to content

Commit

Permalink
Bump Il2CppInterop, HarmonyX
Browse files Browse the repository at this point in the history
  • Loading branch information
ghorsington committed Nov 13, 2022
1 parent 3ad398a commit 5796f53
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion BepInEx.Core/BepInEx.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All"/>
<PackageReference Include="HarmonyX" Version="2.10.0"/>
<PackageReference Include="HarmonyX" Version="2.10.1"/>
<PackageReference Include="SemanticVersioning" Version="2.0.2"/>
<PackageReference Include="MonoMod.Utils" Version="22.5.1.1"/>
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion BepInEx.Preloader.Core/BepInEx.Preloader.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All"/>
<PackageReference Include="HarmonyX" Version="2.10.0"/>
<PackageReference Include="HarmonyX" Version="2.10.1"/>
<PackageReference Include="MonoMod.RuntimeDetour" Version="22.5.1.1"/>
<PackageReference Include="MonoMod.Utils" Version="22.5.1.1"/>
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ A more comprehensive comparison list of features and compatibility is available
## Used libraries

- [NeighTools/UnityDoorstop](https://github.com/NeighTools/UnityDoorstop) - v4.0.0
- [BepInEx/HarmonyX](https://github.com/BepInEx/HarmonyX) - v2.10.0
- [BepInEx/HarmonyX](https://github.com/BepInEx/HarmonyX) - v2.10.1
- [0x0ade/MonoMod](https://github.com/0x0ade/MonoMod) - v22.5.1.1
- [jbevain/cecil](https://github.com/jbevain/cecil) - v0.10.4

#### IL2CPP libraries

- [SamboyCoding/Cpp2IL](https://github.com/SamboyCoding/Cpp2IL) - v2022.0.7.2
- [BepInEx/Il2CppInterop](https://github.com/BepInEx/Il2CppInterop) - v1.3.0
- [BepInEx/Il2CppInterop](https://github.com/BepInEx/Il2CppInterop) - v1.4.0
- [BepInEx/dotnet-runtime](https://github.com/BepInEx/dotnet-runtime) - v6.0.7

## License
Expand Down
2 changes: 1 addition & 1 deletion Runtimes/NET/BepInEx.NET.Common/BepInEx.NET.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="HarmonyX" Version="2.10.0"/>
<PackageReference Include="HarmonyX" Version="2.10.1"/>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All"/>
</ItemGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<ProjectReference Include="..\..\..\BepInEx.Preloader.Core\BepInEx.Preloader.Core.csproj" PrivateAssets="All"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="HarmonyX" Version="2.10.0"/>
<PackageReference Include="HarmonyX" Version="2.10.1"/>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All"/>
</ItemGroup>
<Import Project="..\BepInEx.NET.Shared\BepInEx.NET.Shared.projitems" Label="Shared"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
<ProjectReference Include="..\BepInEx.Unity.Common\BepInEx.Unity.Common.csproj"/>
</ItemGroup>
<ItemGroup>
<PackageReference Include="HarmonyX" Version="2.10.0"/>
<PackageReference Include="HarmonyX" Version="2.10.1"/>
<PackageReference Include="Iced" Version="1.17.0"/>
<PackageReference Include="Il2CppInterop.Generator" Version="1.3.0"/>
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.3.0"/>
<PackageReference Include="Il2CppInterop.Generator" Version="1.4.0"/>
<PackageReference Include="Il2CppInterop.HarmonySupport" Version="1.4.0"/>
<PackageReference Include="Il2CppInterop.ReferenceLibs" Version="1.0.0" IncludeAssets="compile" PrivateAssets="all"/>
<PackageReference Include="Il2CppInterop.Runtime" Version="1.3.0"/>
<PackageReference Include="Il2CppInterop.Runtime" Version="1.4.0"/>
<PackageReference Include="Microsoft.Extensions.Logging" Version="6.0.0" IncludeAssets="compile" PrivateAssets="all"/>
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.1" IncludeAssets="compile" PrivateAssets="all"/>
<PackageReference Include="MonoMod.RuntimeDetour" Version="22.5.1.1"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ public Il2CppInteropDetour(INativeDetour detour)

public void Apply() => detour.Apply();

public T GenerateTrampoline<T>() where T : Delegate => detour.GenerateTrampoline<T>();

public nint Target => detour.OriginalMethodPtr;
public nint Detour => detour.DetourMethodPtr;
public nint OriginalTrampoline => detour.TrampolinePtr;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All"/>
<PackageReference Include="HarmonyX" Version="2.10.0"/>
<PackageReference Include="HarmonyX" Version="2.10.1"/>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3" PrivateAssets="All"/>
<PackageReference Include="HarmonyX" Version="2.10.0"/>
<PackageReference Include="HarmonyX" Version="2.10.1"/>
<PackageReference Include="UnityEngine" Version="5.6.1" IncludeAssets="compile"/>
</ItemGroup>
</Project>

0 comments on commit 5796f53

Please sign in to comment.