using System.Collections.Generic; namespace StardewModdingAPI { /// Provides an API for managing content packs. public interface IContentPackHelper : IModLinked { /********* ** Public methods *********/ /// Get all content packs loaded for this mod. IEnumerable GetOwned(); /// Create a temporary content pack to read files from a directory, using randomized manifest fields. Temporary content packs will not appear in the SMAPI log and update checks will not be performed. /// The absolute directory path containing the content pack files. IContentPack CreateFake(string directoryPath); /// Create a temporary content pack to read files from a directory. Temporary content packs will not appear in the SMAPI log and update checks will not be performed. /// The absolute directory path containing the content pack files. /// The content pack's unique ID. /// The content pack name. /// The content pack description. /// The content pack author's name. /// The content pack version. IContentPack CreateTemporary(string directoryPath, string id, string name, string description, string author, ISemanticVersion version); } }