summaryrefslogtreecommitdiff
path: root/src/SMAPI/IContentHelper.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-10-25 17:14:58 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-10-25 17:14:58 -0400
commita1eeece49b937c942e2cc002bd1863295d943fde (patch)
tree1def72ca17ef0236e28902eb202867706447373e /src/SMAPI/IContentHelper.cs
parentfd2b9c72a84e6227bf489a6f044d843e50b6c769 (diff)
downloadSMAPI-a1eeece49b937c942e2cc002bd1863295d943fde.tar.gz
SMAPI-a1eeece49b937c942e2cc002bd1863295d943fde.tar.bz2
SMAPI-a1eeece49b937c942e2cc002bd1863295d943fde.zip
centralise most content-loading logic to fix map tilesheet edge case (#373)
Diffstat (limited to 'src/SMAPI/IContentHelper.cs')
-rw-r--r--src/SMAPI/IContentHelper.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI/IContentHelper.cs b/src/SMAPI/IContentHelper.cs
index b78b165b..7900809f 100644
--- a/src/SMAPI/IContentHelper.cs
+++ b/src/SMAPI/IContentHelper.cs
@@ -3,6 +3,7 @@ using System.Collections.Generic;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
using StardewValley;
+using xTile;
namespace StardewModdingAPI
{
@@ -29,7 +30,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="Texture2D"/> and dictionaries; 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"/>, and dictionaries; 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>