You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SMAPI.Web/wwwroot/schemas/content-patcher.json
+1-1
Original file line number
Diff line number
Diff line change
@@ -147,7 +147,7 @@
147
147
"Value": {
148
148
"title": "Token value",
149
149
"description": "The value(s) to set. This can be a comma-delimited value to give it multiple values. If any block for a token name has multiple values, it will only be usable in conditions. This field supports tokens, including dynamic tokens defined before this entry.",
/// <summary>Maps Stardew Valley 1.5.6's <see cref="Stats"/> methods to their newer form to avoid breaking older mods.</summary>
7
8
/// <remarks>This is public to support SMAPI rewriting and should never be referenced directly by mods. See remarks on <see cref="ReplaceReferencesRewriter"/> for more info.</remarks>
8
-
publicclassStatsFacade:Stats,IRewriteFacade
9
+
[SuppressMessage("ReSharper","InconsistentNaming",Justification="Named due to technical limitations, since we can't have two different facades for the same fields in 1.6.0 and 1.6.15.")]
10
+
publicclassStatsFacade_160:Stats,IRewriteFacade
9
11
{
10
12
/*********
11
13
** Accessors
@@ -18,7 +20,6 @@ public class StatsFacade : Stats, IRewriteFacade
18
20
get=>base.specificMonstersKilled;
19
21
}
20
22
21
-
//started using this in 1.4 to track stats, rather than the annoying and messy uint fields above
/// <summary>Maps Stardew Valley 1.6.14's <see cref="Stats"/> methods to their newer form to avoid breaking older mods.</summary>
8
+
/// <remarks>This is public to support SMAPI rewriting and should never be referenced directly by mods. See remarks on <see cref="ReplaceReferencesRewriter"/> for more info.</remarks>
9
+
[SuppressMessage("ReSharper","InconsistentNaming",Justification="Named due to technical limitations, since we can't have two different facades for the same fields in 1.6.0 and 1.6.15.")]
/// <summary>Get the map display device which applies SMAPI features like tile rotation to loaded maps.</summary>
2373
-
/// <remarks>This is separate to let mods like PyTK wrap it with their own functionality.</remarks>
2374
-
privateIDisplayDeviceGetMapDisplayDevice()
2374
+
/// <remarks>This only exists for backwards compatibility with Stardew Valley 1.6.14, and will be removed in the next SMAPI update. See <see cref="SGame.CreateDisplayDevice"/> instead.</remarks>
0 commit comments