Skip to content

Release v2.2.0

Compare
Choose a tag to compare
@github-actions github-actions released this 17 Nov 17:14

Changelog

  • Merged latest codebase from pardeike/Harmony#e79874b
    • Add AccessTools.CreateInstance<T>()
    • AccessTools.CreateInstance can now use non-public parameterless constructors
    • AccessTools.CreateInstance also now invokes the ConstructorInfo rather than using Activator.CreateInstance; the former should be faster
    • FieldRef now supports F = underlying integral type for enum field types
  • Added support for multitargeted patch methods
    • If you define multiple complete HarmonyPatch attributes on a method, they will be applied separately. This way you can specify multiple patch targets on the same method
    • HarmonyPatch attribute is considered complete when it defines both target type and target method.