using System;
using StardewModdingAPI.Events;
namespace StardewModdingAPI
{
/// Edits matching content assets.
[Obsolete($"Use {nameof(IMod.Helper)}.{nameof(IModHelper.Events)}.{nameof(IModEvents.Content)} instead. This interface will be removed in SMAPI 4.0.0.")]
public interface IAssetEditor
{
/*********
** Public methods
*********/
/// Get whether this instance can edit the given asset.
/// Basic metadata about the asset being loaded.
bool CanEdit(IAssetInfo asset);
/// Edit a matched asset.
/// A helper which encapsulates metadata about an asset and enables changes to it.
void Edit(IAssetData asset);
}
}