mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 18:27:24 +01:00
Add Page to mod group data for TT interop.
This commit is contained in:
parent
1b17404876
commit
22cbecc6a4
4 changed files with 18 additions and 8 deletions
|
|
@ -24,14 +24,21 @@ public interface IModGroup
|
|||
{
|
||||
public const int MaxMultiOptions = 32;
|
||||
|
||||
public Mod Mod { get; }
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public string Image { get; set; }
|
||||
public GroupType Type { get; }
|
||||
public GroupDrawBehaviour Behaviour { get; }
|
||||
public ModPriority Priority { get; set; }
|
||||
public Setting DefaultSettings { get; set; }
|
||||
public Mod Mod { get; }
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
|
||||
/// <summary> Unused in Penumbra but for better TexTools interop. </summary>
|
||||
public string Image { get; set; }
|
||||
|
||||
public GroupType Type { get; }
|
||||
public GroupDrawBehaviour Behaviour { get; }
|
||||
public ModPriority Priority { get; set; }
|
||||
|
||||
/// <summary> Unused in Penumbra but for better TexTools interop. </summary>
|
||||
public int Page { get; set; }
|
||||
|
||||
public Setting DefaultSettings { get; set; }
|
||||
|
||||
public FullPath? FindBestMatch(Utf8GamePath gamePath);
|
||||
public IModOption? AddOption(string name, string description = "");
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@ public class ImcModGroup(Mod mod) : IModGroup
|
|||
=> GroupDrawBehaviour.MultiSelection;
|
||||
|
||||
public ModPriority Priority { get; set; } = ModPriority.Default;
|
||||
public int Page { get; set; }
|
||||
public Setting DefaultSettings { get; set; } = Setting.Zero;
|
||||
|
||||
public ImcIdentifier Identifier;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,7 @@ public sealed class MultiModGroup(Mod mod) : IModGroup, ITexToolsGroup
|
|||
public string Description { get; set; } = string.Empty;
|
||||
public string Image { get; set; } = string.Empty;
|
||||
public ModPriority Priority { get; set; }
|
||||
public int Page { get; set; }
|
||||
public Setting DefaultSettings { get; set; }
|
||||
public readonly List<MultiSubMod> OptionData = [];
|
||||
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ public sealed class SingleModGroup(Mod mod) : IModGroup, ITexToolsGroup
|
|||
public string Description { get; set; } = string.Empty;
|
||||
public string Image { get; set; } = string.Empty;
|
||||
public ModPriority Priority { get; set; }
|
||||
public int Page { get; set; }
|
||||
public Setting DefaultSettings { get; set; }
|
||||
|
||||
public readonly List<SingleSubMod> OptionData = [];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue