Modding:Monkey patching: Difference between revisions

From Vintage Story Wiki
m
add navbox
m (Egocarib moved page Monkey patching to Modding:Monkey patching: This is a modding topic, so it should be in the modding namespace.)
m (add navbox)
Line 16: Line 16:
* Just because you can use monkey patching, does not mean you should. Patches are often fragile and break easily (especially if you access internal private methods). So if you can use normal means of modding you probably should.
* Just because you can use monkey patching, does not mean you should. Patches are often fragile and break easily (especially if you access internal private methods). So if you can use normal means of modding you probably should.
* You can't use harmony to patch fields (because they are not called), so in order to change field access you have to patch all calls to this field with patches.
* You can't use harmony to patch fields (because they are not called), so in order to change field access you have to patch all calls to this field with patches.
{{Navbox/modding|Vintage Story}}
Confirmedusers, editor
104

edits