Changes

Jump to navigation Jump to search
→‎Major changes: + SMAPI deprecated APIs removed
Line 66: Line 66:  
* They're not synced to other players, so each player has their own overlay objects. (That's used for special quest items, so other players can't take your item.)
 
* They're not synced to other players, so each player has their own overlay objects. (That's used for special quest items, so other players can't take your item.)
 
* They're positioned on top of the normal object layer. (If there was already an object where the item is placed, the previous object will be hidden until you pick up the overlay object instead of being deleted.)
 
* They're positioned on top of the normal object layer. (If there was already an object where the item is placed, the previous object will be hidden until you pick up the overlay object instead of being deleted.)
 +
 +
===SMAPI deprecated APIs removed===
 +
Since nearly all SMAPI mods broke in Stardew Valley 1.2, SMAPI 2.6 also drops support for deprecated APIs:
 +
 +
{| class="wikitable"
 +
|-
 +
! since
 +
! interfaces
 +
! replacement
 +
|-
 +
| 2.3
 +
| <tt>IReflectionHelper.GetPrivateField</tt><br /><tt>IReflectionHelper.GetPrivateMethod</tt><br /><tt>IReflectionHelper.GetPrivateProperty</tt>
 +
| renamed to <tt>GetField</tt>, <tt>GetMethod</tt>, and <tt>GetProperty</tt> respectively; their return values have also been renamed (<tt>IPrivateField</tt> → <tt>IReflectedField</tt>, <tt>IPrivateProperty</tt> → <tt>IReflectedProperty</tt>, and <tt>IPrivateMethod</tt> → <tt>IReflectedMethod</tt>).
 +
|-
 +
| 2.3
 +
| <tt>IReflectionHelper.GetPrivateValue</tt>
 +
| use <tt>GetPrivateField(...).GetValue()</tt> instead.
 +
|}
    
===SMAPI event changes===
 
===SMAPI event changes===
translators
8,403

edits

Navigation menu