#nullable disable
using System;
namespace StardewModdingAPI
{
/// Generic metadata and methods for a content asset being loaded.
/// The expected data type.
public interface IAssetData : IAssetInfo
{
/*********
** Accessors
*********/
/// The content data being read.
TValue Data { get; }
/*********
** Public methods
*********/
/// Replace the entire content value with the given value. This is generally not recommended, since it may break compatibility with other mods or different versions of the game.
/// The new content value.
/// The is null.
/// The 's type is not compatible with the loaded asset's type.
void ReplaceWith(TValue value);
}
/// Generic metadata and methods for a content asset being loaded.
public interface IAssetData : IAssetData