summaryrefslogtreecommitdiff
path: root/src/SMAPI/IContentHelper.cs
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-03-27 12:16:28 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2022-03-27 12:16:28 -0400
commitd864f2ed775dfd5843b9e1cdd1da96ade5dd1068 (patch)
tree0c5d14bb6e1febc82a1d4cebaf46c44b83f46026 /src/SMAPI/IContentHelper.cs
parent03efea26676464933513383eb1c841f1ca5db34d (diff)
downloadSMAPI-d864f2ed775dfd5843b9e1cdd1da96ade5dd1068.tar.gz
SMAPI-d864f2ed775dfd5843b9e1cdd1da96ade5dd1068.tar.bz2
SMAPI-d864f2ed775dfd5843b9e1cdd1da96ade5dd1068.zip
add asset type to AssetRequested event (#766)
Diffstat (limited to 'src/SMAPI/IContentHelper.cs')
-rw-r--r--src/SMAPI/IContentHelper.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/SMAPI/IContentHelper.cs b/src/SMAPI/IContentHelper.cs
index 6fcd18cd..1d36abff 100644
--- a/src/SMAPI/IContentHelper.cs
+++ b/src/SMAPI/IContentHelper.cs
@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.Diagnostics.Contracts;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.Graphics;
-using StardewModdingAPI.Framework.Content;
+using StardewModdingAPI.Events;
using StardewValley;
using xTile;
@@ -16,9 +16,11 @@ namespace StardewModdingAPI
** Accessors
*********/
/// <summary>Interceptors which provide the initial versions of matching content assets.</summary>
+ [Obsolete($"Use {nameof(IMod.Helper)}.{nameof(IModHelper.Events)}.{nameof(IModEvents.Content)} instead. This interface will be removed in SMAPI 4.0.0.")]
IList<IAssetLoader> AssetLoaders { get; }
/// <summary>Interceptors which edit matching content assets after they're loaded.</summary>
+ [Obsolete($"Use {nameof(IMod.Helper)}.{nameof(IModHelper.Events)}.{nameof(IModEvents.Content)} instead. This interface will be removed in SMAPI 4.0.0.")]
IList<IAssetEditor> AssetEditors { get; }
/// <summary>The game's current locale code (like <c>pt-BR</c>).</summary>