summaryrefslogtreecommitdiff
path: root/src/SMAPI/Framework/Content/AssetDataForDictionary.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-02-18 15:39:49 -0500
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-02-18 15:39:49 -0500
commita2190df08cc3f1b4a8dcb394056d65921d10702e (patch)
tree3feb0e4726ec0df49e456ca286a6e565c57ec561 /src/SMAPI/Framework/Content/AssetDataForDictionary.cs
parent065859408f4e88ea1154b1fc76f7df5288e51b53 (diff)
downloadSMAPI-a2190df08cc3f1b4a8dcb394056d65921d10702e.tar.gz
SMAPI-a2190df08cc3f1b4a8dcb394056d65921d10702e.tar.bz2
SMAPI-a2190df08cc3f1b4a8dcb394056d65921d10702e.zip
add AssetName to encapsulate asset name handling (#766)
Diffstat (limited to 'src/SMAPI/Framework/Content/AssetDataForDictionary.cs')
-rw-r--r--src/SMAPI/Framework/Content/AssetDataForDictionary.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/SMAPI/Framework/Content/AssetDataForDictionary.cs b/src/SMAPI/Framework/Content/AssetDataForDictionary.cs
index 26cbff5a..735b651c 100644
--- a/src/SMAPI/Framework/Content/AssetDataForDictionary.cs
+++ b/src/SMAPI/Framework/Content/AssetDataForDictionary.cs
@@ -11,11 +11,11 @@ namespace StardewModdingAPI.Framework.Content
*********/
/// <summary>Construct an instance.</summary>
/// <param name="locale">The content's locale code, if the content is localized.</param>
- /// <param name="assetName">The normalized asset name being read.</param>
+ /// <param name="assetName">The asset name being read.</param>
/// <param name="data">The content data being read.</param>
/// <param name="getNormalizedPath">Normalizes an asset key to match the cache key.</param>
/// <param name="onDataReplaced">A callback to invoke when the data is replaced (if any).</param>
- public AssetDataForDictionary(string locale, string assetName, IDictionary<TKey, TValue> data, Func<string, string> getNormalizedPath, Action<IDictionary<TKey, TValue>> onDataReplaced)
+ public AssetDataForDictionary(string locale, IAssetName assetName, IDictionary<TKey, TValue> data, Func<string, string> getNormalizedPath, Action<IDictionary<TKey, TValue>> onDataReplaced)
: base(locale, assetName, data, getNormalizedPath, onDataReplaced) { }
}
}