Harmony Patching

From Vintage Story Wiki
Revision as of 13:04, 27 July 2021 by Tyron (talk | contribs) (Created page with "Harmony is a library for patching, replacing and decorating .NET and Mono methods during runtime. It ships with the game and gives modders a much greater degree of freedom, wh...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Harmony is a library for patching, replacing and decorating .NET and Mono methods during runtime. It ships with the game and gives modders a much greater degree of freedom, which however comes at the cost of reduced game update resistance and mod compatibility. Due do that fact it is recommended to avoid Harmony where possible, but sometimes it is the only way to make necessary code changes for a mod to work.

Code samples for Vintage Story specifically are still missing here, but until then, you can refer to the official documentation