paddywan-MMHook icon

MMHook

The autogenerated MMHook for assembly_valheim, inclusive of private methods.

Last updated 3 years ago
Total downloads 908
Total rating 1 
Categories
Dependency string paddywan-MMHook-1.0.1
Dependants 1 other package depends on this package

This mod requires the following mods to function

denikson-BepInExPack_Valheim-5.4.601 icon
denikson-BepInExPack_Valheim

BepInEx pack for Valheim. Preconfigured and includes unstripped Unity DLLs.

Preferred version: 5.4.601

README

MMHook

MMHook is a method detour library generated via Monomod, and provides an interface for developers to easily hook and reference objects, classes, methods, and members.

Installation

Drag and drop the Plugins directory to inside of the Valheim\BepInEx\.

How to use

Any mods which depend upon MMHook will require the MMHook to be placed inside the plugins directory.

Any developers that wish to utilise MMHook should add the file as a reference to their project.

Methods can be hooked via the On.* and IL.* namespaces.

This set of generated hooks will require updating upon each major valheim update.

For more information about Monomod, and how to utilise it, please visit https://github.com/MonoMod/MonoMod.

Changelog

  • v1.0.1 - Restructured package for convenience of mod managers
  • v1.0.0 - Release