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 /src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs | |
parent | 6257fdf57def0f07a7970f9fb232879ed4c524f6 (diff) | |
download | SMAPI-46fe7a86a7020d9170ab5a05047a3f7a6cc4b3c0.tar.gz SMAPI-46fe7a86a7020d9170ab5a05047a3f7a6cc4b3c0.tar.bz2 SMAPI-46fe7a86a7020d9170ab5a05047a3f7a6cc4b3c0.zip |
add a few more avoidable net fields (#471)
Diffstat (limited to 'src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs')
-rw-r--r-- | src/SMAPI.ModBuildConfig.Analyzer/NetFieldAnalyzer.cs | 7 |
1 files changed, 7 insertions, 0 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", |