Changes

Jump to navigation Jump to search
→‎Renamed CreateTransitionalContentPack: reformatted into "API changes", add version changes
Line 230: Line 230:  
|}
 
|}
   −
===Renamed CreateTransitionalContentPack===
+
===API changes===
<code>this.Helper.CreateTransitionalContentPack</code> has been renamed to <code>CreateTemporaryContentPack</code>.
+
{| class="wikitable"
 
+
|-
(<code>CreateTransitionalContentPack</code> was a temporary method to support mods which already accepted custom content packs in their subfolder, before they migrated to regular [[Modding:Content packs|SMAPI content packs]]. A few mods have permanent use cases for this feature beyond the transition though.)
+
! old API
 +
! →
 +
! new API
 +
! conversion notes
 +
|-
 +
| <tt>helper.CreateTransitionalContentPack</tt>
 +
| →
 +
| <tt>helper.CreateTemporaryContentPack</tt>
 +
| Identical usage. (This was a temporary method for the transition to [[Modding:Content packs|SMAPI content packs]], but a few mods have permanent use cases for it.)
 +
|-
 +
| <tt>SemanticVersion.Build</tt>
 +
| →
 +
| <tt>SemanticVersion.PrereleaseTag</tt>
 +
| Identical usage.
 +
|}
    
[[Category:Modding]]
 
[[Category:Modding]]
translators
8,403

edits

Navigation menu