diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-26 01:19:44 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-03-26 01:19:44 -0400 |
commit | e40907ab8b97bd8a557adf683a406413646b1fc5 (patch) | |
tree | 6f13c434e37ea71f8007752f39210c4800357965 /src/SMAPI/IAssetName.cs | |
parent | 4da38e1317f6ebd6485b04482eb3d2ffd0507530 (diff) | |
download | SMAPI-e40907ab8b97bd8a557adf683a406413646b1fc5.tar.gz SMAPI-e40907ab8b97bd8a557adf683a406413646b1fc5.tar.bz2 SMAPI-e40907ab8b97bd8a557adf683a406413646b1fc5.zip |
add NameWithoutLocale fields (#766)
Diffstat (limited to 'src/SMAPI/IAssetName.cs')
-rw-r--r-- | src/SMAPI/IAssetName.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/SMAPI/IAssetName.cs b/src/SMAPI/IAssetName.cs index a5bfea93..89f02adf 100644 --- a/src/SMAPI/IAssetName.cs +++ b/src/SMAPI/IAssetName.cs @@ -40,5 +40,8 @@ namespace StardewModdingAPI /// <remarks>For example, <c>Characters/Dialogue/Abigail</c> is directly under <c>Characters/Dialogue</c> but not <c>Characters</c> or <c>Characters/Dialogue/Ab</c>. To allow sub-paths, use <see cref="StartsWith"/> instead.</remarks> /// <param name="assetFolder">The asset path to check. This doesn't need a trailing slash.</param> bool IsDirectlyUnderPath(string assetFolder); + + /// <summary>Get an asset name representing the <see cref="BaseName"/> without locale.</summary> + internal IAssetName GetBaseAssetName(); } } |