using System.Collections.Generic; using System.Threading.Tasks; using Lumafly.Models; namespace Lumafly.Interfaces { public interface IModSource { ModState ApiInstall { get; } Dictionary Mods { get; } Dictionary NotInModlinksMods { get; } Task RecordApiState(ModState st); ModState FromManifest(Manifest manifest); Task RecordInstalledState(ModItem item); Task RecordUninstall(ModItem item); Task Reset(); Task SetMods( Dictionary mods, Dictionary notInModlinksMods); bool HasVanilla { get; set; } } }