Changes

Jump to navigation Jump to search
+ best practices
Line 4: Line 4:     
This page explains how to update your mods for compatibility with Harmony 2.0.0. This only applies to mods which use Harmony directly; [[Modding:Modder Guide/APIs/Harmony|this is discouraged]] in most cases, isn't officially part of SMAPI's public API, and isn't subject to SMAPI's normal versioning policy.
 
This page explains how to update your mods for compatibility with Harmony 2.0.0. This only applies to mods which use Harmony directly; [[Modding:Modder Guide/APIs/Harmony|this is discouraged]] in most cases, isn't officially part of SMAPI's public API, and isn't subject to SMAPI's normal versioning policy.
 +
 +
==Before you start==
 +
Make sure you follow best practices outlined in the [[Modding:Modder Guide/APIs/Harmony|Harmony guide]]. In particular, use the <code>EnableHarmony</code> option (don't reference the Harmony DLL directly) and use the code API.
    
==Basic changes==
 
==Basic changes==
Line 10: Line 13:  
# Recompile the mod.
 
# Recompile the mod.
   −
That's it! If you're using the [[Modding:Modder Guide/APIs/Harmony|recommended code API]], usage is otherwise identical. Harmony 2.0.0 adds a number of new features; see the [https://harmony.pardeike.net official documentation] for more info.
+
That's it! Otherwise usage is otherwise identical. Harmony 2.0.0 adds a number of new features; see the [https://harmony.pardeike.net official documentation] for more info.
    
[[Category:Modding]]
 
[[Category:Modding]]
translators
8,445

edits

Navigation menu