BepInEx logging adapter for IL2CppSharp.Hooking.
- Bridges
BepInEx.Logging.ManualLogSourcetoIHookLogger. - Keeps the core hook engine independent from BepInEx.
- Provides the integration point BepInEx IL2CPP plugins should reference.
IL2CppSharp.HookingBepInEx.Core
using IL2CppSharp.Hooking;
using IL2CppSharp.Hooking.BepInEx;
HookEngine.Initialize(new BepInExHookLogger(Logger));- This is a standalone adapter library, not a BepInEx plugin by itself.
- By default, it uses package references for
IL2CppSharp.HookingandBepInEx.Core. - If the dependent libraries have not been published as packages yet, copy
Directory.Build.props.exampletoDirectory.Build.propsand point the project properties at local checkouts.
dotnet build -c Release /p:GeneratePackageOnBuild=falseMIT. See LICENSE.