namespace StardewModdingAPI { /// 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 instead. public interface IAssetLoader { /********* ** Public methods *********/ /// Get whether this instance can load the initial version of the given asset. /// Basic metadata about the asset being loaded. bool CanLoad(IAssetInfo asset); /// Load a matched asset. /// Basic metadata about the asset being loaded. T Load(IAssetInfo asset); } }