mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
29 lines
711 B
C#
29 lines
711 B
C#
using OtterGui.Classes;
|
|
using Penumbra.Meta.Manipulations;
|
|
using Penumbra.Mods.Groups;
|
|
using Penumbra.Mods.Settings;
|
|
using Penumbra.String.Classes;
|
|
|
|
namespace Penumbra.Mods.Editor;
|
|
|
|
public record struct AppliedModData(
|
|
Dictionary<Utf8GamePath, FullPath> FileRedirections,
|
|
MetaDictionary Manipulations)
|
|
{
|
|
public static readonly AppliedModData Empty = new([], new MetaDictionary());
|
|
}
|
|
|
|
public interface IMod
|
|
{
|
|
LowerString Name { get; }
|
|
|
|
public int Index { get; }
|
|
public ModPriority Priority { get; }
|
|
|
|
public IReadOnlyList<IModGroup> Groups { get; }
|
|
|
|
public AppliedModData GetData(ModSettings? settings = null);
|
|
|
|
// Cache
|
|
public int TotalManipulations { get; }
|
|
}
|