diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-29 11:35:01 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2018-04-29 11:35:01 -0400 |
commit | 46fe7a86a7020d9170ab5a05047a3f7a6cc4b3c0 (patch) | |
tree | 59eaf07d4311359fd51aa1df5d91eab453bf4365 | |
parent | 6257fdf57def0f07a7970f9fb232879ed4c524f6 (diff) | |
download | SMAPI-46fe7a86a7020d9170ab5a05047a3f7a6cc4b3c0.tar.gz SMAPI-46fe7a86a7020d9170ab5a05047a3f7a6cc4b3c0.tar.bz2 SMAPI-46fe7a86a7020d9170ab5a05047a3f7a6cc4b3c0.zip |
add a few more avoidable net fields (#471)
-rw-r--r-- | src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs | 7 | ||||
-rw-r--r-- | src/SMAPI.ModBuildConfig/package.nuspec | 2 |
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> |