diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-05-25 22:46:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2022-06-10 00:04:23 -0400 |
commit | 4708385f696d2e47d24e795f210752f4b0224bff (patch) | |
tree | ae05507d2510737538303d826f0eb4cbc47d2132 /src/SMAPI/IContentHelper.cs | |
parent | a546fd113f431bd8888da50aad087213193c937e (diff) | |
download | SMAPI-4708385f696d2e47d24e795f210752f4b0224bff.tar.gz SMAPI-4708385f696d2e47d24e795f210752f4b0224bff.tar.bz2 SMAPI-4708385f696d2e47d24e795f210752f4b0224bff.zip |
add IRawTextureData asset type
Diffstat (limited to 'src/SMAPI/IContentHelper.cs')
-rw-r--r-- | src/SMAPI/IContentHelper.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/SMAPI/IContentHelper.cs b/src/SMAPI/IContentHelper.cs index 2cd0c1fc..7637edf0 100644 --- a/src/SMAPI/IContentHelper.cs +++ b/src/SMAPI/IContentHelper.cs @@ -35,7 +35,7 @@ namespace StardewModdingAPI ** Public methods *********/ /// <summary>Load content from the game folder or mod folder (if not already cached), and return it. When loading a <c>.png</c> file, this must be called outside the game's draw loop.</summary> - /// <typeparam name="T">The expected data type. The main supported types are <see cref="Map"/>, <see cref="Texture2D"/>, dictionaries, and lists; other types may be supported by the game's content pipeline.</typeparam> + /// <typeparam name="T">The expected data type. The main supported types are <see cref="Map"/>, <see cref="Texture2D"/>, <see cref="IRawTextureData"/> (for mod content only), and data structures; other types may be supported by the game's content pipeline.</typeparam> /// <param name="key">The asset key to fetch (if the <paramref name="source"/> is <see cref="ContentSource.GameContent"/>), or the local path to a content file relative to the mod folder.</param> /// <param name="source">Where to search for a matching content asset.</param> /// <exception cref="ArgumentException">The <paramref name="key"/> is empty or contains invalid characters.</exception> |