Changes

Jump to navigation Jump to search
Line 43: Line 43:  
! new API
 
! new API
 
! conversion notes
 
! conversion notes
 +
|-
 +
| <tt>helper.GetContentPacks</tt>
 +
| →
 +
| <tt>helper.ContentPacks.GetOwned</tt>
 +
| Identical usage.
 
|-
 
|-
 
| <tt>helper.CreateTransitionalContentPack</tt>
 
| <tt>helper.CreateTransitionalContentPack</tt>
 
| →
 
| →
| <tt>helper.CreateTemporaryContentPack</tt>
+
| <tt>helper.ContentPacks.CreateTemporary</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.)
 
| 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>assetData.AsDictionary&lt;T, T&gt;().Set</tt>
 +
| →
 +
| <tt>assetData.AsDictionary&lt;T, T&gt;().Data</tt>
 +
| The <tt>Set</tt> methods caused a lot of confusion and were of limited usefulness. You can access the dictionary directly using the <tt>Data</tt> field instead.
 
|-
 
|-
 
| <tt>SemanticVersion.Build</tt>
 
| <tt>SemanticVersion.Build</tt>
translators
8,403

edits

Navigation menu