Skip to content

Commit

Permalink
[GitHub Action] Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Aug 19, 2024
1 parent 1c2c36a commit 8b58d8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/Mod-Creation/C#-Programming/Hooking.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@ For Risk of Rain 2, most of the modders in the community use MonoMod and the `MM
Those `MMHOOK` files are generated through one of the MonoMod tool called [MonoMod.RuntimeDetour.HookGen](https://github.com/MonoMod/MonoMod/blob/master/README-RuntimeDetour.md#using-hookgen).

Or, if you have R2Modman installed with HookGenPatcher, you can have it generated:

- Launch the game using R2Modman ("Start modded");

- Find the file at `%appdata%\\r2modmanPlus-local\\RiskOfRain2\\profiles\\<YOUR_PROFILE>\\BepInEx\\plugins\\MMHOOK\\MMHOOK_RoR2.dll`.

(If you use the default profile, simply replace `<YOUR_PROFILE>` with `Default`.)

***

Having an assembly reference to one of these `MMHOOK` files will add the `On` and `IL` namespaces into your C# project for you to use.

Expand Down

0 comments on commit 8b58d8f

Please sign in to comment.