summaryrefslogtreecommitdiff
path: root/src/SMAPI/IAssetLoader.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/SMAPI/IAssetLoader.cs')
-rw-r--r--src/SMAPI/IAssetLoader.cs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/SMAPI/IAssetLoader.cs b/src/SMAPI/IAssetLoader.cs
index ad97b941..96b98793 100644
--- a/src/SMAPI/IAssetLoader.cs
+++ b/src/SMAPI/IAssetLoader.cs
@@ -1,6 +1,10 @@
-namespace StardewModdingAPI
+using System;
+using StardewModdingAPI.Events;
+
+namespace StardewModdingAPI
{
/// <summary>Provides the initial version for matching assets loaded by the game. SMAPI will raise an error if two mods try to load the same asset; in most cases you should use <see cref="IAssetEditor"/> instead.</summary>
+ [Obsolete($"Use {nameof(IMod.Helper)}.{nameof(IModHelper.Events)}.{nameof(IModEvents.Content)} instead. This interface will be removed in SMAPI 4.0.0.")]
public interface IAssetLoader
{
/*********