To export a used package to the Mod folder add (or enable) CopyLocalLockFileAssemblies in the mod's .csproj:
CopyLocalLockFileAssemblies
<PropertyGroup> ... <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> </PropertyGroup>
To get access to inaccessible members of ACE add the Krafs.Publicizer Nuget package. Then add something like this to the mod's .csproj:
<PropertyGroup> <PublicizeAll>true</PublicizeAll> </PropertyGroup>
To selectively patch methods use Harmony.PatchCategory(categoryName) on startup:
Harmony.PatchCategory(categoryName)
if (Settings.EnableOnAttackForNonAetheria) Mod.Harmony.PatchCategory(Settings.OnAttackCategory);
Nothing should be needed when shutting down.
There was an error while loading. Please reload this page.