summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs7
-rw-r--r--src/SMAPI.ModBuildConfig/package.nuspec2
2 files changed, 8 insertions, 1 deletions
diff --git a/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs b/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs
index d1e5c59a..fad9251b 100644
--- a/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs
+++ b/src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs
@@ -22,6 +22,13 @@ namespace StardewModdingAPI.ModBuildConfig.Analyzer
/// <summary>Maps net fields to their equivalent non-net properties where available.</summary>
private readonly IDictionary<string, string> NetFieldWrapperProperties = new Dictionary<string, string>
{
+ // AnimatedSprite
+ ["StardewValley.AnimatedSprite::currentAnimation"] = "CurrentAnimation",
+ ["StardewValley.AnimatedSprite::currentFrame"] = "CurrentFrame",
+ ["StardewValley.AnimatedSprite::sourceRect"] = "SourceRect",
+ ["StardewValley.AnimatedSprite::spriteHeight"] = "SpriteHeight",
+ ["StardewValley.AnimatedSprite::spriteWidth"] = "SpriteWidth",
+
// Character
["StardewValley.Character::currentLocationRef"] = "currentLocation",
["StardewValley.Character::facingDirection"] = "FacingDirection",
diff --git a/src/SMAPI.ModBuildConfig/package.nuspec b/src/SMAPI.ModBuildConfig/package.nuspec
index 6bb7736c..fa26875b 100644
--- a/src/SMAPI.ModBuildConfig/package.nuspec
+++ b/src/SMAPI.ModBuildConfig/package.nuspec
@@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Pathoschild.Stardew.ModBuildConfig</id>
- <version>2.1.0-beta-20180426</version>
+ <version>2.1.0-beta-20180428</version>
<title>Build package for SMAPI mods</title>
<authors>Pathoschild</authors>
<owners>Pathoschild</owners>