This wiki is a read-only version of the Stardew Valley Wiki. The official editable wiki maintained by ConcernedApe can be found at stardewvalleywiki.com

Changes

Jump to: navigation, search

Modding:Migrate to SMAPI 3.0

381 bytes added, 06:38, 13 December 2018
API changes: ++
! new API
! conversion notes
|-
| <tt>helper.GetContentPacks</tt>
| →
| <tt>helper.ContentPacks.GetOwned</tt>
| Identical usage.
|-
| <tt>helper.CreateTransitionalContentPack</tt>
| →
| <tt>helper.CreateTemporaryContentPackContentPacks.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.)
|-
| <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>
Protected, translators
5,421
edits

Navigation menu