47
edits
(Created page with "== Monkey Patching == === Overview === Monkey patching (changing code at runtime) in Vintage Story is available through [https://harmony.pardeike.net/articles/basics.html Harm...") |
No edit summary |
||
Line 5: | Line 5: | ||
Documentation on harmony is available [https://harmony.pardeike.net/articles/basics.html#creating-a-harmony-instance here.]. | Documentation on harmony is available [https://harmony.pardeike.net/articles/basics.html#creating-a-harmony-instance here.]. | ||
=== Getting started === | === Getting started === | ||
To use Harmony in you Vintage Story mod you first have to reference the 0harmony.dll in the Vintage Story lib directory ( | To use Harmony in you Vintage Story mod you first have to reference the 0harmony.dll in the Vintage Story lib directory (VintageStory\Lib\0Harmony.dll). | ||
Then you have to create a Harmony-instance by calling the constructor with you a unique identifier, preferrably you modid (this let's harmoy differentiate between different patches and allows other people to patch your patches). | Then you have to create a Harmony-instance by calling the constructor with you a unique identifier, preferrably you modid (this let's harmoy differentiate between different patches and allows other people to patch your patches). |
edits