Changes

→‎Deprecated interfaces: + reflection API changes in SMAPI 2.3
Line 27: Line 27:     
==Deprecated interfaces==
 
==Deprecated interfaces==
<!--
+
===Currently deprecated===
 
These are currently deprecated:
 
These are currently deprecated:
   Line 37: Line 37:  
! replacement
 
! replacement
 
|-
 
|-
| 1.0
+
| 2.3
| <tt>Config</tt> class
+
| <tt>IReflectionHelper.GetPrivateField</tt><br /><tt>IReflectionHelper.GetPrivateMethod</tt><br /><tt>IReflectionHelper.GetPrivateProperty</tt>
| ''pending removal''
+
| ''notice''
| see [[#Mod configuration|mod configuration]].
+
| 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>
 +
| ''notice''
 +
| use <tt>GetPrivateField(...).GetValue()</tt> instead.
 
|}
 
|}
-->
  −
  −
These interfaces have been removed:
      +
===Removed in SMAPI 2.0===
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
translators
8,404

edits